You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say there is a document with the following JSON structure.
{
"name": "fernandez",
"age": 46
}
Now, Azure cosmos DB makes a post request and at the server end the document is created successfully., But the response is not proper due to transient errors in the network. Now If the client retries there a duplicate document gets created. This means Cosmos db needs to provide idempotency for creating documents.
Currently, I do not find any header which takes idempotency key from clients.
The text was updated successfully, but these errors were encountered:
bhukailas
changed the title
Idempotency for cosmos db java client as it is rest ultimately
Idempotency for cosmos db java client as it is using http protocol
Dec 4, 2019
Let's say there is a document with the following JSON structure.
{
"name": "fernandez",
"age": 46
}
Now, Azure cosmos DB makes a post request and at the server end the document is created successfully., But the response is not proper due to transient errors in the network. Now If the client retries there a duplicate document gets created. This means Cosmos db needs to provide idempotency for creating documents.
Currently, I do not find any header which takes idempotency key from clients.
The text was updated successfully, but these errors were encountered: