[DNM]*: test stale read #48294
[DNM]*: test stale read #48294crazycs520 wants to merge 4 commits intopingcap:tidb-6.5-with-kv-timeout-featurefrom
Conversation
…formation schema cache (pingcap#48293) Signed-off-by: crazycs520 <crazycs520@gmail.com>
…ingcap#48282) Signed-off-by: crazycs520 <crazycs520@gmail.com>
Signed-off-by: crazycs520 <crazycs520@gmail.com>
Signed-off-by: crazycs520 <crazycs520@gmail.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @crazycs520. Thanks for your PR. PRs from untrusted users cannot be marked as trusted with I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What is changed and how it works?
This PR contains following PR:
And this PR add debug log and injected sleep before commit secondaries for DDL transaction.
Test
workload
stale read and write
DDL workload:
bin/loadgen bench --sql="create database test0;create table test0.t0 (a int);drop table test0.t0;drop database test0;select sleep(2);" --thread 1And TiDB have many following lock, indicate that get schema diff mvcc info meet lock.
And there is no
failed to get schema versionlog:The metrics is: