Skip to content

[10.x] fix(membership): preserve canonical views and departed-silo status - #11593

Merged
ReubenBond merged 3 commits into
dotnet:10.xfrom
ReubenBond:rb-membership-fixes-backport
Oct 27, 2026
Merged

ReubenBond merged 3 commits into
dotnet:10.xfrom
ReubenBond:rb-membership-fixes-backport

Conversation

@ReubenBond

@ReubenBond ReubenBond commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Problem

A starting silo can lose its local Created status when a canonical membership refresh occurs before registration. After membership cleanup removes a dead silo's row, consumers can also lose the evidence needed to remove stale client routes and account for durable-job adoption correctly.

Solution

Backport the following merged PRs to 10.x, in order:

Both backport commits reproduce the upstream patches, with -x provenance and [10.x] commit-subject prefixes. Canonical rows remain authoritative, local startup lifecycle stays separate, and immutable snapshots retain absent-silo death evidence using recent identities, successors, and a monotonic local generation cutoff. Client routing and durable-job adoption consume that retained knowledge. The backport includes the original regression coverage, configuration API surface, and membership documentation.

A separate compatibility fix, also proposed for main in #11602, defines empty retained death history for snapshots sent by older silos, whose wire payloads omit the new history field. The serialized field IDs and types remain stable. Regression coverage exercises both legacy-to-current decoding and current-to-legacy version/row decoding for membership-table and cluster snapshots.

The existing 10.x queued-request migration adaptation from #11460 continues to use its eager-body transport and pooled migration context. This membership backport preserves that adaptation. The complete #11425 directory changes, immutable partition-boundary API, and narrowly scoped compatibility suppression are already in the base branch.

Rationale

These fixes preserve membership ordering while allowing consumers to classify pruned silo identities consistently. SiloGenerationRetirementAge defaults to one hour and can be set to null to retain observed death evidence without age-based retirement. The existing deferred strengthening remains documented: a registration write stalled beyond the configured age can commit after an observer classified the absent identity as dead; the committed row then supplies its actual status.

The two new ClusterMembershipOptions properties are additive and included in the generated API surface. Package validation uses the 10.4.0 baseline; this PR requires no additional compatibility suppressions.

Microsoft Reviewers: Open in CodeFlow

@ReubenBond
ReubenBond force-pushed the rb-membership-fixes-backport branch from 7c52e34 to 6eaa5da Compare October 27, 2026 21:17
@ReubenBond ReubenBond changed the title fix(membership): backport canonical views and death retention to 10.x [10.x] fix(membership): preserve canonical views and departed-silo status Oct 27, 2026
@ReubenBond
ReubenBond force-pushed the rb-membership-fixes-backport branch from 6eaa5da to 99f84b4 Compare October 27, 2026 21:19
@ReubenBond
ReubenBond merged commit 16cbffc into dotnet:10.x Oct 27, 2026
83 of 86 checks passed
@ReubenBond
ReubenBond deleted the rb-membership-fixes-backport branch October 27, 2026 21:58
This was referenced Oct 29, 2026
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.

1 participant