diff options
author | Alex Li <alex.li@mongodb.com> | 2021-07-12 18:35:15 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-07-23 13:59:00 +0000 |
commit | 60a4229054cda93a50265a25d7a8a71ca2763e96 (patch) | |
tree | a21db5b649495d27bc89e77a80adfa0bcde0c167 /src/mongo/db/commands/count_cmd.cpp | |
parent | 306a69a50245fb0787391c26597b02c04a156488 (diff) | |
download | mongo-60a4229054cda93a50265a25d7a8a71ca2763e96.tar.gz |
SERVER-55412 shardVersion propogated for mirrored reads
Diffstat (limited to 'src/mongo/db/commands/count_cmd.cpp')
-rw-r--r-- | src/mongo/db/commands/count_cmd.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/commands/count_cmd.cpp b/src/mongo/db/commands/count_cmd.cpp index 2d4769c5f86..59b336b961d 100644 --- a/src/mongo/db/commands/count_cmd.cpp +++ b/src/mongo/db/commands/count_cmd.cpp @@ -309,6 +309,7 @@ public: keyBob.append("limit", 1); keyBob.append("hint", 1); keyBob.append("collation", 1); + keyBob.append("shardVersion", 1); return keyBob.obj(); }(); |