Raft: Fix coprocessor ignore new added RegionReadStatus thus cause inconsistent result (#10543)#10544
Conversation
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
|
@JaySon-Huang This PR has conflicts, I have hold it. |
|
@ti-chi-bot: ## If you want to know how to resolve it, please read the guide in TiDB Dev Guide. 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 ti-community-infra/tichi repository. |
Signed-off-by: JaySon-Huang <tshent@qq.com>
This reverts commit e7d70a3.
|
/retest |
2 similar comments
|
/retest |
|
/retest |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JaySon-Huang, JinheLin The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
This is an automated cherry-pick of #10543
What problem does this PR solve?
Issue Number: close #10510
Problem Summary:
From the failure test logging, we can see that all of those failure read request meet an
RegionException: ... message: Region error STALE_COMMAND(). #10494 adds new enum values includingSTALE_COMMANDinRegionException:: RegionReadStatus.https://github.com/JaySon-Huang/tiflash/blob/eb407fdfdeb9865794868009245bb0e1adb20c0e/dbms/src/Storages/KVStore/Read/RegionException.h#L42-L44
endless-htap-consistency-chaos-tps-7973167-1-292
endless-htap-consistency-chaos-tps-7972869-1-937
endless-htap-consistency-chaos-tps-7911630-1-667
What is changed and how it works?
Check List
Tests
Side effects
Documentation
Release note