diff --git a/protobuf/cluster/database.proto b/protobuf/cluster/database.proto index 27e38196..379c0de8 100644 --- a/protobuf/cluster/database.proto +++ b/protobuf/cluster/database.proto @@ -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; } } diff --git a/protobuf/options.proto b/protobuf/options.proto index f5dad929..7f4b4525 100644 --- a/protobuf/options.proto +++ b/protobuf/options.proto @@ -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; + } }