-
Notifications
You must be signed in to change notification settings - Fork 2.3k
vtorc: wait for ackers before solving PrimarySemiSyncMustBeSet problem
#18732
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
base: main
Are you sure you want to change the base?
vtorc: wait for ackers before solving PrimarySemiSyncMustBeSet problem
#18732
Conversation
…oblem Signed-off-by: Tim Vaillancourt <[email protected]>
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
|
go/vt/vtorc/inst/analysis_dao.go
Outdated
| AND replica_instance.semi_sync_replica_enabled != 0 | ||
| ), | ||
| 0 | ||
| ) AS count_valid_semi_sync_replicas_replicating, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We already have this data if we observe 2 x existing values from the GetDetectionAnalysis query, but we can't be certain both counts refer to the exact same instances, so this new value is added
Signed-off-by: Tim Vaillancourt <[email protected]>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #18732 +/- ##
==========================================
- Coverage 67.50% 67.50% -0.01%
==========================================
Files 1605 1605
Lines 263756 263820 +64
==========================================
+ Hits 178046 178087 +41
- Misses 85710 85733 +23 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: Tim Vaillancourt <[email protected]>
Signed-off-by: Tim Vaillancourt <[email protected]>
Signed-off-by: Tim Vaillancourt <[email protected]>
Signed-off-by: Tim Vaillancourt <[email protected]>
Signed-off-by: Tim Vaillancourt <[email protected]>
Signed-off-by: Tim Vaillancourt <[email protected]>
Description
This PR makes the VTOrc problem
PrimarySemiSyncMustBeSetrequire a minimum number of replicas have semi-sync enabled and are actively replicating, in order to avoid stalls in writes if thePRIMARYenables semi-sync without ackersAlso, @mattlord is added to the VTOrc
CODEOWNERS🎉 🙇Related Issue(s)
Resolves #18712
Checklist
Deployment Notes
AI Disclosure