Skip to content

Recover transient initial object-store claims - #38

Open
igor-ladkin wants to merge 1 commit into
phoenixframework:mainfrom
igor-ladkin:igor-ladkin/fix-object-store-initial-claim
Open

igor-ladkin wants to merge 1 commit into
phoenixframework:mainfrom
igor-ladkin:igor-ladkin/fix-object-store-initial-claim

Conversation

@igor-ladkin

@igor-ladkin igor-ladkin commented Sep 23, 2026

Copy link
Copy Markdown

Initial object-store claims fail on a single dropped connection, including when the write committed but its response was lost. Retry transient claim failures twice, then reconcile ambiguous results only when stored bytes and the complete boot owner match the attempted claim.

@igor-ladkin
igor-ladkin force-pushed the igor-ladkin/fix-object-store-initial-claim branch from 85b79ad to 5c30d55 Compare September 23, 2026 10:35
%StoredState{meta: %Meta{} = attempted_meta},
encoded
) do
with {:ok, %{body: ^encoded, etag: etag}} <-

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we are pinning on ^encoded but shouldn't we be matching on our own etag instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants