Closed NoahStahl closed 2 years ago
I assume any errors would be returned in the response to the initial request, and if this request is accepted by the database the actual document deletion is guaranteed to succeed.
Hi @NoahStahl and @jkonecki - we've started a discussion on this exact topic here, and would love to get your feedback: https://github.com/orgs/AzureCosmosDB/teams/pkdeletepreviewparticipants/discussions/1
The discussion is no longer available.
I believe the summary was that CosmosDB would ensure that once requrest is accepted it is guranteed, that it will be eventually carried out. Is this correct?
@ImrePyhvel Yes, that is correct.
Very helpful feature!
A question for clarification: are deletion operations guaranteed to complete or are exceptions possible? This is important to know for semantics of whether to "fire and forget" or to check back to confirm deletion success before considering the task done.