Fix potential data loss for tombstoned table#1010
Conversation
|
/run-all-tests |
|
/run-all-tests |
|
/run-all-tests |
|
/run-all-tests |
|
/run-all-tests |
JaySon-Huang
left a comment
There was a problem hiding this comment.
LGTM with minor comments
| # Disable flushing. | ||
| >> DBGInvoke __set_flush_threshold(1000000, 1000000) | ||
|
|
||
| # Insert a record and it should stay in kvstore. | ||
| mysql> insert into test.t values (1); |
There was a problem hiding this comment.
Actually, the record won't stay in kvstore when using DT as the storage engine.
I may file a PR to build the test case by using FAIL_POINT_PAUSE later.
|
I think we should also apply this change to the new logic in |
Thanks for reminding. |
Addressed. I think we are OK if CI goes right. |
|
/run-all-tests |
|
cherry pick to release-3.1 in PR #1661 |
|
cherry pick to release-4.0 in PR #1662 |
|
cherry pick to release-5.0 in PR #1663 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com> Co-authored-by: ruoxi <zanmato1984@gmail.com>
Signed-off-by: ti-srebot <ti-srebot@pingcap.com> Co-authored-by: ruoxi <zanmato1984@gmail.com>
What problem does this PR solve?
Issue Number: close #1007
Problem Summary:
What is changed and how it works?
What's Changed:
Related changes
pingcap/docs/pingcap/docs-cn: noneCheck List
Tests
Side effects
Release note