summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mongo/db/commands/getmore_cmd.cpp4
-rw-r--r--src/mongo/db/commands/killcursors_common.h4
-rw-r--r--src/mongo/s/commands/cluster_getmore_cmd.cpp4
3 files changed, 0 insertions, 12 deletions
diff --git a/src/mongo/db/commands/getmore_cmd.cpp b/src/mongo/db/commands/getmore_cmd.cpp
index b349093e212..aa593cf86d1 100644
--- a/src/mongo/db/commands/getmore_cmd.cpp
+++ b/src/mongo/db/commands/getmore_cmd.cpp
@@ -83,10 +83,6 @@ public:
}
bool slaveOk() const override {
- return false;
- }
-
- bool slaveOverrideOk() const override {
return true;
}
diff --git a/src/mongo/db/commands/killcursors_common.h b/src/mongo/db/commands/killcursors_common.h
index f8d0ed4fd44..7e7d854ea93 100644
--- a/src/mongo/db/commands/killcursors_common.h
+++ b/src/mongo/db/commands/killcursors_common.h
@@ -46,10 +46,6 @@ public:
}
bool slaveOk() const final {
- return false;
- }
-
- bool slaveOverrideOk() const final {
return true;
}
diff --git a/src/mongo/s/commands/cluster_getmore_cmd.cpp b/src/mongo/s/commands/cluster_getmore_cmd.cpp
index b630d4c81d4..05248bba6e1 100644
--- a/src/mongo/s/commands/cluster_getmore_cmd.cpp
+++ b/src/mongo/s/commands/cluster_getmore_cmd.cpp
@@ -55,10 +55,6 @@ public:
}
bool slaveOk() const final {
- return false;
- }
-
- bool slaveOverrideOk() const final {
return true;
}