This repository has been archived by the owner on Jun 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 59
Conversation
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
hycdong
changed the title
feat(split): add partition_version
feat(split): add partition_version [WIP]
Feb 13, 2020
hycdong
changed the title
feat(split): add partition_version [WIP]
feat(split): add partition_version
Feb 18, 2020
levy5307
reviewed
Feb 18, 2020
没看到设置成-1的代码呢? |
这个pr只是加上这个变量的定义,设置成-1在后面的pr里 |
levy5307
reviewed
Feb 18, 2020
levy5307
previously approved these changes
Feb 18, 2020
neverchanje
reviewed
Feb 19, 2020
neverchanje
approved these changes
Feb 19, 2020
acelyc111
approved these changes
Feb 19, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
partition_version
is used to guarantee data consistence during partition split.In normal cases,
partition_version = partition_count-1
, when this replica reject read and write request,partition_version = -1
.This pull request adds the definition of
partition_version
.