Skip to content

test: stabilize grain directory rolling upgrade test - #10187

Merged
ReubenBond merged 1 commit into
mainfrom
reubenbond/rolling-upgrade-fix
Jun 11, 2026
Merged

ReubenBond merged 1 commit into
mainfrom
reubenbond/rolling-upgrade-fix

Conversation

@ReubenBond

@ReubenBond ReubenBond commented Jun 8, 2026 •

Copy link
Copy Markdown
Member

RollingUpgrade_LocalToDistributed_NoErrors can observe the cluster as live before the distributed grain directory has finished applying membership changes and draining partition range locks. That lets integrity validation or follow-up load race expected membership transition work and surface transient GrainDirectoryPartition errors as test failures.

This change adds an internal test hook to wait for a partition to process a target membership version, then uses it after each silo add/stop to wait for distributed directory membership and partition range convergence before validating integrity or sending more calls. The existing error capture remains narrow, so unexpected integrity or routing errors still fail the test.

Microsoft Reviewers: Open in CodeFlow

@ReubenBond ReubenBond changed the title Stabilize grain directory rolling upgrade test test: stabilize grain directory rolling upgrade test Jun 10, 2026
Wait for distributed grain directory membership and partition range locks to converge during rolling upgrade transitions before validating integrity or driving more load.

Co-authored-by: Copilot <[email protected]>
@ReubenBond
ReubenBond force-pushed the reubenbond/rolling-upgrade-fix branch from e994cf9 to 8fcae12 Compare June 10, 2026 00:41
@ReubenBond
ReubenBond merged commit baa5795 into main Jun 11, 2026
61 of 62 checks passed
@ReubenBond
ReubenBond deleted the reubenbond/rolling-upgrade-fix branch June 11, 2026 13:56
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 12, 2026
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