Repository navigation
Conversation
The concurrent DROP ACCOUNT and ALTER PUBLICATION regression reads catalog state on a different CN from the ALTER writer. Synchronize applied commits at cross-CN handoffs so the retry and assertions see the intended state, with the concurrent phase unchanged.
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
Contributor
|
This pull request is merged. |
Contributor
Author
|
mo-bot review · Commit: "interrupted" |
This branch was successfully deployed
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.
What type of PR is this?
Which issue(s) this PR fixes:
Related to #32744.
What this PR does / why we need it:
The x86 coverage job for #32497 observed zero active grants where
TestDropAccountConcurrentPublicationGrantexpected one. The retry ofALTER PUBLICATIONhad returned successfully on CN1 before the test queriedmo_subson CN0. A new transaction on CN0 can still read at its local applied logtail timestamp.Use the existing
syncCommitcontrol at the test's cross-CN handoffs. Wait after publication creation before opening the subscriber on the other CN. After the two concurrent DDLs return, wait before the rollback check and retry, then wait for the final commit before reading the catalog. The DROP and ALTER still contend for the original locks in the same order.Validation
TestDropAccountConcurrentPublicationGrantpassed 12 of 12 times with-coveron Linux x86_64. All 12 runs exercised the transaction retry. A separate-racerun also passed and exercised the retry. Local runs used a TCP-only embedded fixture.Original x86 coverage failure.