Repository navigation
[10.x] fix(membership): preserve canonical views and departed-silo status - #11593
Merged
Merged
Conversation
This was referenced Oct 27, 2026
ReubenBond
force-pushed
the
rb-membership-fixes-backport
branch
from
October 27, 2026 21:17
7c52e34 to
6eaa5da
Compare
…tnet#11588) Co-authored-by: yerassylshalabayev <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> (cherry picked from commit ad8435d)
dotnet#11589) (cherry picked from commit 1643d2d)
ReubenBond
force-pushed
the
rb-membership-fixes-backport
branch
from
October 27, 2026 21:19
6eaa5da to
99f84b4
Compare
This was referenced Oct 29, 2026
This was referenced Nov 5, 2026
This was referenced Nov 6, 2026
Bump Microsoft.Orleans.Clustering.AdoNet and Microsoft.Orleans.Runtime
ScarletKuro/Scarlet.Orleans#9
Open
This was referenced Nov 16, 2026
This was referenced Nov 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
A starting silo can lose its local
Createdstatus 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:ad8435d3fea2295a129b7bd96f965a10419a3ce4).1643d2d2c692a5f784a43e05c63a6c19a4a22343).Both backport commits reproduce the upstream patches, with
-xprovenance 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.xqueued-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.
SiloGenerationRetirementAgedefaults to one hour and can be set tonullto 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
ClusterMembershipOptionsproperties 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