Skip to content

Update PostLedgerEntryOperation retry logic#38015

Merged
christothes merged 7 commits into
Azure:mainfrom
PallabPaul:post_poll_retry
Aug 16, 2023
Merged

Update PostLedgerEntryOperation retry logic#38015
christothes merged 7 commits into
Azure:mainfrom
PallabPaul:post_poll_retry

Conversation

@PallabPaul
Copy link
Copy Markdown
Member

@PallabPaul PallabPaul commented Aug 3, 2023

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 for all scenarios.

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.

@azure-sdk
Copy link
Copy Markdown
Collaborator

API change check

API changes are not detected in this pull request.

Comment thread sdk/confidentialledger/Azure.Security.ConfidentialLedger/CHANGELOG.md Outdated
@christothes christothes merged commit 05b2a88 into Azure:main Aug 16, 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.

6 participants