Skip to content

Commit 21a7e98

Browse files
Fix protobuf order, make requireReadConcernMajority true by default
1 parent 3dac328 commit 21a7e98

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

protos/peers.proto

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,12 @@ message MongoConfig {
7777
string uri = 1;
7878
string username = 2;
7979
string password = 3 [(peerdb_redacted) = true];
80-
bool require_read_concern_majority = 4;
81-
bool disable_tls = 5;
82-
string tls_host = 6;
83-
optional string root_ca = 7 [(peerdb_redacted) = true];
84-
ReadPreference read_preference = 8;
85-
optional SSHConfig ssh_config = 9;
80+
bool disable_tls = 4;
81+
string tls_host = 5;
82+
optional string root_ca = 6 [(peerdb_redacted) = true];
83+
ReadPreference read_preference = 7;
84+
optional SSHConfig ssh_config = 8;
85+
bool require_read_concern_majority = 9;
8686
}
8787

8888
message AwsAuthStaticCredentialsConfig {

ui/app/peers/create/[peerType]/helpers/mo.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ export const blankMongoSetting: MongoConfig = {
7373
uri: '',
7474
username: '',
7575
password: '',
76+
requireReadConcernMajority: true,
7677
disableTls: false,
7778
tlsHost: '',
7879
readPreference: 0,

0 commit comments

Comments
 (0)