Repository navigation
fix(azure): preserve membership consistency #11309
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ReubenBond
merged 16 commits into
dotnet:main
from
ReubenBond:rb-fix-azure-membership-consistency
Sep 18, 2026
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
8633ec7
test(membership): correct legacy cleanup baseline
ReubenBond 2f4865a
fix(azure): preserve membership consistency
ReubenBond 7fe4fe1
fix(azure): reuse cleanup snapshots across batches
ReubenBond f726222
fix(azure): propagate membership storage failures
ReubenBond df1531d
fix(azure): use owner-only heartbeat merges
ReubenBond 4ae0255
fix(azure): propagate heartbeat errors without probes
ReubenBond cef2a42
fix(azure): decouple membership tokens from heartbeats
ReubenBond 19e2bb8
fix(azure): reuse ordered membership read markers
ReubenBond 26865f6
fix(azure): retain the filtered membership row query
ReubenBond 298e117
test(azure): align marker assertions with current protocol
ReubenBond eca9573
test(azure): verify canonical tokens across cultures
ReubenBond 4014324
fix(azure): propagate cleanup contention without retrying
ReubenBond e72da57
test(azure): bound repeated cleanup contention
ReubenBond b6bb87b
fix(azure): use version row as membership concurrency guard
ReubenBond 618318f
feat(core): add aggregate-preserving task completion helper
ReubenBond 989130c
refactor: keep aggregate-preserving task helper internal
ReubenBond File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| using System; | ||
| using System.Collections.Generic; | ||
| using System.Runtime.ExceptionServices; | ||
| using System.Threading.Tasks; | ||
|
|
||
| namespace Orleans.Internal; | ||
|
|
||
| internal static class TaskUtilities | ||
| { | ||
| /// <summary> | ||
| /// Waits for every supplied task, propagating a single failure directly or multiple failures as an <see cref="AggregateException"/>. | ||
| /// </summary> | ||
| internal static Task WhenAllWithAggregateException(IEnumerable<Task> tasks) | ||
| { | ||
| var combined = Task.WhenAll(tasks); | ||
| return combined.IsCompletedSuccessfully ? combined : AwaitCompletion(combined); | ||
|
|
||
| static async Task AwaitCompletion(Task task) | ||
| { | ||
| try | ||
| { | ||
| await task.ConfigureAwait(false); | ||
| } | ||
| catch when (task.Exception is { InnerExceptions.Count: > 1 } exception) | ||
| { | ||
| ExceptionDispatchInfo.Throw(exception); | ||
| } | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.