-
Notifications
You must be signed in to change notification settings - Fork 610
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
Set & check replication config #2649
Set & check replication config #2649
Conversation
65f6ecf
to
c69458e
Compare
⚫ |
⚪
|
⚪
|
enum EMode { | ||
MODE_NONE = 0, | ||
MODE_READ_ONLY = 1, | ||
}; | ||
|
||
enum EConsistency { | ||
CONSISTENCY_STRONG = 1, | ||
CONSISTENCY_WEAK = 2, | ||
}; | ||
|
||
EMode Mode; | ||
EConsistency Consistency; | ||
|
||
void SerializeTo(NKikimrSchemeOp::TTableReplicationConfig& proto) const; | ||
static TReplicationConfig Default(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe it is better to use strongly typed enums?
Changelog entry
...
Changelog category
Additional information
...