Dhiraj
Dhiraj

Reputation: 3696

Update Policy with zero retention on source table

If we follow the scenario described in the docs titled 'Zero retention on source table' , i.e. we have set transactional update policy and treating source tables are only temporary landing points and thus setting softdelete as 0s:-

.alter-merge table <TableName> policy retention softdelete=0s

Now since the update policy in question is transactional in nature , lets say update policy execution (execution of stored function executed by the update policy) fails , will there be retry ? and how long will Kusto keep retrying? Until the time it attempts retry , where does the data reside? Because source tables are 0 retention , so it won't even exist in source table I believe.

Upvotes: 1

Views: 294

Answers (1)

Avnera
Avnera

Reputation: 7608

Yes, the retry logic is described in the "transactional policy" section. When the ingestion fails due to transactional update policy, the Data Management cluster will simply send the ingestion command to the source table again based on the logic described in the docs, until the full ingestion command succeeded the data will not be in the source or target tables:

enter image description here

Upvotes: 4

Related Questions