This repository has been archived by the owner on Feb 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: correct shard version (#268)
## Rationale For detail, see: #263 In this pr, add the checksum repair logic of shard version. ## Detailed Changes * Add `MayCorrectShardVersion` in `RegisterNode`, it will correct shard version when it is inconsistent in ceresmeta and ceresdb. ## Test Plan I created some local shard version inconsistent scenarios to verify its repair ability.
- Loading branch information
1 parent
b502492
commit b4402f7
Showing
3 changed files
with
51 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters