summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/current_op_common.h
diff options
context:
space:
mode:
authorJudah Schvimer <judah@mongodb.com>2018-01-31 14:30:51 -0500
committerJudah Schvimer <judah@mongodb.com>2018-01-31 14:30:51 -0500
commitd75cb425fbc3cf4b569eb1722c3f8abec45654a2 (patch)
tree95f285d0be51aeafbb22d1ac37bb615df28f20b7 /src/mongo/db/commands/current_op_common.h
parentbe24b0323d3f2d424d9e22337f4221d39001ac31 (diff)
downloadmongo-d75cb425fbc3cf4b569eb1722c3f8abec45654a2.tar.gz
Revert "SERVER-32958 slaveOk,slaveOverrideOk replacement"
This reverts commit be24b0323d3f2d424d9e22337f4221d39001ac31.
Diffstat (limited to 'src/mongo/db/commands/current_op_common.h')
-rw-r--r--src/mongo/db/commands/current_op_common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/commands/current_op_common.h b/src/mongo/db/commands/current_op_common.h
index 367fb7f0ba8..517d494d851 100644
--- a/src/mongo/db/commands/current_op_common.h
+++ b/src/mongo/db/commands/current_op_common.h
@@ -51,8 +51,8 @@ public:
return false;
}
- AllowedOnSecondary secondaryAllowed() const final {
- return AllowedOnSecondary::kAlways;
+ bool slaveOk() const final {
+ return true;
}
bool adminOnly() const final {