diff options
author | Judah Schvimer <judah@mongodb.com> | 2018-01-31 14:30:51 -0500 |
---|---|---|
committer | Judah Schvimer <judah@mongodb.com> | 2018-01-31 14:30:51 -0500 |
commit | d75cb425fbc3cf4b569eb1722c3f8abec45654a2 (patch) | |
tree | 95f285d0be51aeafbb22d1ac37bb615df28f20b7 /src/mongo/s/commands/cluster_set_feature_compatibility_version_cmd.cpp | |
parent | be24b0323d3f2d424d9e22337f4221d39001ac31 (diff) | |
download | mongo-d75cb425fbc3cf4b569eb1722c3f8abec45654a2.tar.gz |
Revert "SERVER-32958 slaveOk,slaveOverrideOk replacement"
This reverts commit be24b0323d3f2d424d9e22337f4221d39001ac31.
Diffstat (limited to 'src/mongo/s/commands/cluster_set_feature_compatibility_version_cmd.cpp')
-rw-r--r-- | src/mongo/s/commands/cluster_set_feature_compatibility_version_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/commands/cluster_set_feature_compatibility_version_cmd.cpp b/src/mongo/s/commands/cluster_set_feature_compatibility_version_cmd.cpp index 2e519bc73f9..04502b0e214 100644 --- a/src/mongo/s/commands/cluster_set_feature_compatibility_version_cmd.cpp +++ b/src/mongo/s/commands/cluster_set_feature_compatibility_version_cmd.cpp @@ -55,8 +55,8 @@ class SetFeatureCompatibilityVersionCmd : public BasicCommand { public: SetFeatureCompatibilityVersionCmd() : BasicCommand("setFeatureCompatibilityVersion") {} - AllowedOnSecondary secondaryAllowed() const override { - return AllowedOnSecondary::kNever; + virtual bool slaveOk() const { + return false; } virtual bool adminOnly() const { |