Skip to content
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

[Membership] When indirect probe fails, include intermediary's vote in suspecter list #9302

Conversation

ReubenBond
Copy link
Member

@ReubenBond ReubenBond commented Jan 29, 2025

The membership table includes a list of votes in the SuspectTimes field. This is used for counting unique "fresh" votes and it is also useful for diagnostic purposes, when working out what lead to a silo being evicted.

Currently, we special case the situation where:

  • <= 2 votes are required to evict a silo
  • A silo has performed an indirect probe
  • The indirect probe has failed

In that case, we will unilaterally evict the silo, but we do not include the intermediary silo's vote in the membership table.

Instead, this PR adds the intermediary's vote in the SuspectTimes field whenever an indirect probe fails. This ensures that the intermediary's vote is counted as part of the suspecter list and removes the special case of <= 2 votes to evict (since regular vote counting will count an indirect probe as two votes: the initiator and the intermediary both cast their vote).

Microsoft Reviewers: Open in CodeFlow

@ReubenBond ReubenBond force-pushed the fix/disaster-recovery/include-intermediary-silo-votes branch from 4988ed6 to c8d60b0 Compare February 5, 2025 19:47
@ReubenBond ReubenBond enabled auto-merge (squash) February 5, 2025 19:47
@ReubenBond ReubenBond merged commit 845cdb0 into dotnet:main Feb 5, 2025
16 checks passed
@ReubenBond ReubenBond deleted the fix/disaster-recovery/include-intermediary-silo-votes branch February 5, 2025 19:52
@github-actions github-actions bot locked and limited conversation to collaborators Mar 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant