-
Notifications
You must be signed in to change notification settings - Fork 5.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
Defend against data inconsistency and improve its troubleshooting #26833
Labels
sig/transaction
SIG:Transaction
type/enhancement
The issue or PR belongs to an enhancement.
type/feature-request
Categorizes issue or PR as related to a new feature.
Comments
lysu
added
sig/transaction
SIG:Transaction
type/feature-request
Categorizes issue or PR as related to a new feature.
labels
Aug 3, 2021
12 tasks
This was referenced Aug 19, 2021
Hi @lysu , is there a design document for this effort or an issue to create a design? Also it looks like a lot of work to do, would you like to take a look at developing in a feature branch? |
There is a design doc but is internal and in Chinese. We are trying to develop at a separate feature branch |
12 tasks
4 tasks
This was referenced Sep 23, 2021
Merged
Merged
12 tasks
MyonKeminta
added a commit
to MyonKeminta/tidb
that referenced
this issue
Nov 18, 2021
1 task
MyonKeminta
added a commit
to MyonKeminta/tikv
that referenced
this issue
Nov 30, 2021
… requests ref pingcap/tidb#26833 Signed-off-by: MyonKeminta <[email protected]>
This was referenced Nov 30, 2021
12 tasks
ti-chi-bot
added a commit
to tikv/tikv
that referenced
this issue
Dec 9, 2021
… lock requests (#11516) * Support check existence without getting value during pessimistic lock requests ref pingcap/tidb#26833 Signed-off-by: MyonKeminta <[email protected]> * Address comments and add test Signed-off-by: MyonKeminta <[email protected]> * Add comments to PessimisticLockRes Signed-off-by: MyonKeminta <[email protected]> * update kvproto Signed-off-by: MyonKeminta <[email protected]> * ref #11542 Signed-off-by: MyonKeminta <[email protected]> Co-authored-by: MyonKeminta <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
ekexium
pushed a commit
that referenced
this issue
Dec 9, 2021
* Pick unistore changes from #28313, ref #26833 * fix build Co-authored-by: MyonKeminta <[email protected]>
14 tasks
5kbpers
pushed a commit
to 5kbpers/tikv
that referenced
this issue
Dec 13, 2021
… lock requests (tikv#11516) * Support check existence without getting value during pessimistic lock requests ref pingcap/tidb#26833 Signed-off-by: MyonKeminta <[email protected]> * Address comments and add test Signed-off-by: MyonKeminta <[email protected]> * Add comments to PessimisticLockRes Signed-off-by: MyonKeminta <[email protected]> * update kvproto Signed-off-by: MyonKeminta <[email protected]> * ref tikv#11542 Signed-off-by: MyonKeminta <[email protected]> Co-authored-by: MyonKeminta <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
12 tasks
1 task
This was referenced Dec 23, 2021
This was referenced Jan 14, 2022
4 tasks
This was referenced Feb 7, 2022
ti-chi-bot
pushed a commit
that referenced
this issue
Feb 9, 2022
12 tasks
12 tasks
ti-chi-bot
pushed a commit
that referenced
this issue
Feb 11, 2022
YuJuncen
pushed a commit
to pingcap/br
that referenced
this issue
Mar 1, 2022
12 tasks
ti-chi-bot
pushed a commit
that referenced
this issue
Mar 16, 2022
ti-chi-bot
pushed a commit
that referenced
this issue
Mar 17, 2022
12 tasks
ti-chi-bot
pushed a commit
that referenced
this issue
Jun 7, 2022
13 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
sig/transaction
SIG:Transaction
type/enhancement
The issue or PR belongs to an enhancement.
type/feature-request
Categorizes issue or PR as related to a new feature.
Description
Currently, some new features may introduce data inconsistency bugs, and we only can find them after
admin check
orindexLookup
, following DML maybe write more inconsistent data after reading old inconsistent records, it's better to have a mechanism to report the inconsistent bug before laid down data.On the other hand, it's also hard for customers/supporters to troubleshoot data inconsistency problems. we often need multiple rounds of communication with customers to collect information, and even worse, sometimes we cannot identify the root cause due to lack of some useful information.
This issue tracks our progress in defending against data inconsistency and improve its troubleshooting.
Sub Tasks
Task 1: Defending against data inconsistency
Development
1) Assertion in Prewrite Mutation
FlagsOp
, so that it's less likely to write wrong code.2) Check Mutation for single row changes
Test
Task 2: Improve data inconsistency troubleshooting
1) Improve consistent check fail error & log
Development
Test
2) Improve MVCC fetch API
Task 3: Enhance data inconsistency recover
admin recover
The text was updated successfully, but these errors were encountered: