-
Notifications
You must be signed in to change notification settings - Fork 411
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 metadata corruption by cherry pick from tikv #4437
Closed
Labels
affects-5.2
affects-5.3
affects-5.4
This bug affects the 5.4.x(LTS) versions.
affects-6.0
may-affects-5.0
may-affects-5.1
severity/critical
type/bug
The issue is confirmed as a bug.
Comments
Merged
12 tasks
CalvinNeo
added a commit
to pingcap/tidb-engine-ext
that referenced
this issue
Mar 28, 2022
Cherry pick to fix pingcap/tiflash#4437. * add test case Signed-off-by: Jay Lee <[email protected]> * raftstore: set term when catch up logs for merge Prepare merge may includes logs from different terms, which may be even larger than the term of a follower that is lag behind. So when catching up logs by commit merge, its term should also be set to get a correct metadata. Close tikv#11526. Signed-off-by: Jay Lee <[email protected]> * add log for becoming follower Signed-off-by: Jay Lee <[email protected]> * correct commit log check Signed-off-by: Jay Lee <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]> Signed-off-by: CalvinNeo <[email protected]> Co-authored-by: Jay <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
12 tasks
JaySon-Huang
added
affects-5.2
affects-5.3
affects-5.4
This bug affects the 5.4.x(LTS) versions.
and removed
may-affects-5.2
may-affects-5.3
may-affects-5.4
labels
Mar 28, 2022
CalvinNeo
added
affects-5.3
affects-5.4
This bug affects the 5.4.x(LTS) versions.
affects-6.0
labels
Mar 30, 2022
This was referenced Mar 30, 2022
ti-chi-bot
pushed a commit
that referenced
this issue
Mar 30, 2022
ti-chi-bot
pushed a commit
that referenced
this issue
Mar 30, 2022
This was referenced Mar 30, 2022
solotzg
added
may-affects-5.2
may-affects-5.3
may-affects-5.4
and removed
may-affects-4.0
labels
Apr 11, 2022
ti-chi-bot
pushed a commit
that referenced
this issue
Apr 12, 2022
update |
ti-chi-bot
pushed a commit
that referenced
this issue
Apr 22, 2022
ti-chi-bot
pushed a commit
that referenced
this issue
Apr 22, 2022
ti-chi-bot
pushed a commit
that referenced
this issue
Apr 22, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects-5.2
affects-5.3
affects-5.4
This bug affects the 5.4.x(LTS) versions.
affects-6.0
may-affects-5.0
may-affects-5.1
severity/critical
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
As tikv/tikv#11526 describe
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiFlash version? (Required)
The text was updated successfully, but these errors were encountered: