-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
robustness: only run MemberDowngrade test for high SnapshotCatchUpEntries #19160
Conversation
…ries. Signed-off-by: Siyuan Zhang <[email protected]>
Skipping CI for Draft Pull Request. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted filessee 18 files with indirect coverage changes @@ Coverage Diff @@
## main #19160 +/- ##
=======================================
Coverage 68.79% 68.80%
=======================================
Files 420 420
Lines 35649 35649
=======================================
+ Hits 24526 24527 +1
+ Misses 9695 9692 -3
- Partials 1428 1430 +2 Continue to review full report in Codecov by Sentry.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: serathius, siyuanfoundation The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Awesome finding! Thanks @siyuanfoundation |
Nice, it's a better solution. Each member will have complete WAL records. But theoretically, it's still possible that a follower may lag behind the leader more than the
The other reason why you do not see the error is 50% of downgrade cases out of the 100 tries were skipped due to the catchUpEntries too small. |
My assumption it was 100 runs without the skip |
In this PR, it set two snapCatchUpEntries ( Anyway, it's already good enough. Up to your guys to decide whether & how to enhance it. |
This should prevent snapshot from being sent in the test.
Tested locally for 100 times, did not see any flakiness.
#19147
Please read https://github.com/etcd-io/etcd/blob/main/CONTRIBUTING.md#contribution-flow.