-
Notifications
You must be signed in to change notification settings - Fork 1.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
[DocDB] Fatal logs on toggle on/off packed column under workload and nemesis #19447
Comments
Also seen in a run on 2.25.0.0-b365 with |
Seems it's a raft issue.
This peer is the leader of term 15. And seems majority replicated ht_lease is |
Root cause:When the new leader is elected, when it replicates its NoOp, it can also replicate its new leader lease to the follower even when leader lease from old leader is not expired.
Assuming TS-1 is the leader of term 1, If TS-2 transfers leadership to TS-3 by load balancer at some time earlier than T1, TS-3 can immediately revoke the leader lease at T2 (from TS-2) and starts writing new data. This can cause SolutionTS-2 shouldn't replicate its own leader lease until the old leader lease tracked by it is expired or revoked correctly. |
Jira Link: DB-8238
Description
Case:
In background
every 15 minutes start executeflush_table
andcompact_table
yb-admin commandsIn background
start retarting master processin background
change nemesis that restart master process to restart tserver processesFATAL log was found:
All the logs
Issue Type
kind/bug
Warning: Please confirm that this issue does not contain any sensitive information
The text was updated successfully, but these errors were encountered: