AzureCosmosDB / PartitionKeyDeleteFeedbackGroup

Private repo for the preview of the delete by partition key value feature in Cosmos DB.
3 stars 0 forks source link

Deletion guarantee and progress? #4

Closed NoahStahl closed 2 years ago

NoahStahl commented 3 years ago

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.

jkonecki commented 3 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.

deborahc commented 3 years ago

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

ImrePyhvel commented 2 years ago

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?

abhijitpai commented 2 years ago

@ImrePyhvel Yes, that is correct.