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

Introduce a new transaction type for reading from secondary replicas #110

Merged
merged 4 commits into from
Jan 26, 2021
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
2 changes: 1 addition & 1 deletion protobuf/cluster/database.proto
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ message Database {
message Replica {
string address = 1;
string database = 2;
bool is_leader = 3;
bool is_primary = 3;
int64 term = 4;
}
}
Expand Down
3 changes: 3 additions & 0 deletions protobuf/options.proto
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,7 @@ message Options {
oneof schema_lock_acquire_timeout_opt {
int32 schema_lock_acquire_timeout_millis = 6;
}
oneof allow_secondary_replica_opt {
bool allow_secondary_replica = 7;
}
}