-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Fix flakiness in TestSemiSyncRequiredWithTwoPC
#17332
Merged
Merged
Conversation
This file contains 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
Signed-off-by: Manan Gupta <manan@planetscale.com>
GuptaManan100
requested review from
harshit-gangal,
systay and
frouioui
as code owners
December 4, 2024 12:01
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
vitess-bot
bot
added
NeedsBackportReason
If backport labels have been applied to a PR, a justification is required
NeedsDescriptionUpdate
The description is not clear or comprehensive enough, and needs work
NeedsIssue
A linked issue is missing for this Pull Request
NeedsWebsiteDocsUpdate
What it says
labels
Dec 4, 2024
GuptaManan100
removed
NeedsDescriptionUpdate
The description is not clear or comprehensive enough, and needs work
NeedsWebsiteDocsUpdate
What it says
NeedsIssue
A linked issue is missing for this Pull Request
NeedsBackportReason
If backport labels have been applied to a PR, a justification is required
labels
Dec 4, 2024
5 tasks
harshit-gangal
approved these changes
Dec 4, 2024
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #17332 +/- ##
==========================================
+ Coverage 67.41% 67.65% +0.24%
==========================================
Files 1574 1578 +4
Lines 253313 255931 +2618
==========================================
+ Hits 170765 173152 +2387
- Misses 82548 82779 +231 ☔ View full report in Codecov by Sentry. |
harshit-gangal
force-pushed
the
semi-sync-fkaly-fix
branch
from
December 4, 2024 15:27
d95f5c7
to
de4653a
Compare
harshit-gangal
requested review from
rohit-nayak-ps,
deepthi,
mattlord,
shlomi-noach,
timvaillancourt,
derekperkins,
vmg,
ajm188 and
notfelineit
as code owners
December 4, 2024 15:27
harshit-gangal
force-pushed
the
semi-sync-fkaly-fix
branch
from
December 4, 2024 16:18
de4653a
to
d95f5c7
Compare
deepthi
approved these changes
Dec 9, 2024
5 tasks
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.
Description
This PR fixes flakiness in
TestSemiSyncRequiredWithTwoPC
.Previously, after the test was finished, we would run PRS in a defer function. But since we were PRSsing to the same tablet, we didn't actually end up changing the semi-sync settings. VTOrc would fix this, but it would race with the next test running.
This PR fixes this problem, by changing the primary first in the test itself that ensures semi-sync changes have taken effect.
Related Issue(s)
Checklist
Deployment Notes