META does not properly handle E_RETRY_EXHAUSTED error codes #6022
Labels
affects/none
PR/issue: this bug affects none version.
process/fixed
Process of bug
severity/none
Severity of bug
type/bug
Type: something is unexpected
Please check the FAQ documentation before raising an issue
Describe the bug (required)
During the process of balancing data, META will keep asking STORAGE LEADER whether catch up data is complete. When the amount of data is relatively large, the storage transfers data for a long time, which may time out and return an error code to the leader E_RETRY_EXHAUSTED. At this time, the leader does not ask the current storage (that is, raft leader) for the progress of caatch up again, but asks the next hosts in the raft group. So there is one more invalid request.
Your Environments (required)
a3ffc7d8
)How To Reproduce(required)
Steps to reproduce the behavior:
Expected behavior
Additional context
Here the meta is for E_RETRY_EXHAUSTED error code, and should be retried directly on the current raft leader, not other hosts.
The text was updated successfully, but these errors were encountered: