Skip to content

Update PostLedgerEntryOperation retry logic#38011

Closed
PallabPaul wants to merge 1 commit into
Azure:mainfrom
PallabPaul:main
Closed

Update PostLedgerEntryOperation retry logic#38011
PallabPaul wants to merge 1 commit into
Azure:mainfrom
PallabPaul:main

Conversation

@PallabPaul
Copy link
Copy Markdown
Member

Contributing to the Azure SDK

Fixes a bug for PostLedgerEntryOperation in both sync and async clients when using waitUntil.Complete. Azure Confidential Ledger generally has client IP-based stickiness so that users observe session consistency. Occasionally this affinity is lost unexpectedly, which can lead to errors when waiting for a commit (write is made to Node A but the read is on Node B, which doesn't know about the write yet). This can be disruptive, so we introduce a small change to retry some HttpStatusCode.NotFound errors.

Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.

For specific information about pull request etiquette and best practices, see this section.

@PallabPaul
Copy link
Copy Markdown
Member Author

Moving to this PR using a topic branch: #38015

@PallabPaul PallabPaul closed this Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant