summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/cluster_find_cmd.h
diff options
context:
space:
mode:
authorKevin Cherkauer <kevin.cherkauer@mongodb.com>2022-09-28 16:11:55 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-09-28 16:55:44 +0000
commitcd5bb08d63a1a72d68d26b8535c76c947569c48e (patch)
tree70e3976ba1b9e5b98afd4d7c325f388a8fc28e62 /src/mongo/s/commands/cluster_find_cmd.h
parent89004891d7277e2507b0e68616da38905e03a143 (diff)
downloadmongo-cd5bb08d63a1a72d68d26b8535c76c947569c48e.tar.gz
SERVER-46478 Add opLatencies to mongoS serverStatus
Diffstat (limited to 'src/mongo/s/commands/cluster_find_cmd.h')
-rw-r--r--src/mongo/s/commands/cluster_find_cmd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/s/commands/cluster_find_cmd.h b/src/mongo/s/commands/cluster_find_cmd.h
index 5c4dca0cd78..2da149ac60d 100644
--- a/src/mongo/s/commands/cluster_find_cmd.h
+++ b/src/mongo/s/commands/cluster_find_cmd.h
@@ -83,6 +83,10 @@ public:
return false;
}
+ ReadWriteType getReadWriteType() const final {
+ return ReadWriteType::kRead;
+ }
+
bool shouldAffectCommandCounter() const final {
return false;
}