diff options
author | Huayu Ouyang <huayu.ouyang@mongodb.com> | 2020-10-07 22:35:33 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-10-10 01:28:10 +0000 |
commit | 157bd022d420b7b4705c7c661bb02e1514824fb5 (patch) | |
tree | d5054086e5702ccccc83e78a2981a447dbb82309 /src/mongo/db/server_options.h | |
parent | 726c93eaf68f08e7ff46162268db9b11b1fcc934 (diff) | |
download | mongo-157bd022d420b7b4705c7c661bb02e1514824fb5.tar.gz |
SERVER-50421-2 Rename global server parameter validateFeaturesAsMaster to validateFeaturesAsPrimary
Diffstat (limited to 'src/mongo/db/server_options.h')
-rw-r--r-- | src/mongo/db/server_options.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/server_options.h b/src/mongo/db/server_options.h index 17c6f79d7cb..eb308da43d6 100644 --- a/src/mongo/db/server_options.h +++ b/src/mongo/db/server_options.h @@ -310,7 +310,7 @@ struct ServerGlobalParams { // primaries can accept user-initiated writes and validate based on the feature compatibility // version. A secondary always validates in the upgraded mode so that it can sync new features, // even when in the downgraded feature compatibility mode. - AtomicWord<bool> validateFeaturesAsMaster{true}; + AtomicWord<bool> validateFeaturesAsPrimary{true}; std::vector<std::string> disabledSecureAllocatorDomains; |