Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replicate_mode: change recover-id to state-id #594

Merged
merged 1 commit into from
Apr 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
112 changes: 56 additions & 56 deletions pkg/replicate_mode/replicate_mode.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions proto/replicate_mode.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ message DRAutoSync {
}
string label_key = 1; // the key of the label that used for distinguish different DC.
State state = 2;
uint64 recover_id = 3; // Unique ID for a recovery
uint64 state_id = 3; // Unique ID of the state, it increases after each state transfer.
int32 wait_sync_timeout_hint = 4; // Duration to wait before switching to SYNC by force (in seconds)
}

Expand All @@ -31,5 +31,5 @@ message RegionReplicateStatus {
INTEGRITY_OVER_LABEL = 1; // Logs sync to different DCs
}
State state = 1;
uint64 recover_id = 2; // Unique ID for a recovery
uint64 state_id = 2; // Unique ID of the state, it increases after each state transfer.
}