Skip to content

[10.x] fix(azure): tolerate legacy membership writers during rolling upgrades - #11624

Merged
ReubenBond merged 3 commits into
dotnet:10.xfrom
ReubenBond:rb-backport-azure-membership-10x
Oct 29, 2026
Merged

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

Conversation

@ReubenBond

@ReubenBond ReubenBond commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

Backports #11622 to 10.x (source commit b6ae02d).

Legacy Azure membership writers atomically update a silo row and VersionRow, while boundary-aware writers also advance !Start and ~End. During rolling upgrades, legacy writes can move VersionRow ahead of both markers and exhaust the snapshot reader's bounded retries.

Restore numeric acceptance when VersionRow is strictly ahead of both boundary markers. Matching-version snapshots remain accepted, and other mismatches or partial markers retain bounded retries. This preserves legacy read semantics while legacy writers remain, including potentially torn paginated snapshots; subsequent boundary-aware writes atomically advance all three version rows.

Includes regression coverage for the reported exception, single-page and paginated reads, strict numeric comparisons and invalid versions, and a subsequent boundary-aware write.

A separate CI commit backports e880601 to address #11623: pin the 19 coverage-enabled Linux jobs to ubuntu-24.04, which supplies the libxml2.so.2 dependency required by dotnet-coverage. Other runner selections and the apt-independent prerequisite guard remain unchanged. A follow-up aligns the four runner-derived artifact identities in the coverage manifest with the pinned matrix, preserving the complete set of 23 coverage partitions.

Microsoft Reviewers: Open in CodeFlow

Ubuntu 26.04 no longer provides libxml2.so.2 required by dotnet-coverage. Keep coverage-enabled Linux tests on the compatible image while preserving apt-independent prerequisite checks. Fixes dotnet#11623.

(cherry picked from commit e880601)
Backports 6b3408f. Match the Code Generator and BVT, SlowBVT, and Functional artifact identities to the Ubuntu 24.04 runner names so exact-set coverage validation accepts the complete CI matrix.
@ReubenBond
ReubenBond merged commit 876ffe0 into dotnet:10.x Oct 29, 2026
86 checks passed
@ReubenBond
ReubenBond deleted the rb-backport-azure-membership-10x branch October 29, 2026 21:40
This was referenced Oct 30, 2026
This was referenced Nov 9, 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