summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/coll_mod.cpp
diff options
context:
space:
mode:
authorEsha Maharishi <esha.maharishi@mongodb.com>2017-03-31 17:20:07 -0400
committerEsha Maharishi <esha.maharishi@mongodb.com>2017-04-06 13:29:56 -0400
commitc8e0e1668b25fde6e5980a6431fc7db24411c109 (patch)
treef138e8a1fa2b99cab64461fd450ef8dba4b066dd /src/mongo/db/catalog/coll_mod.cpp
parent366b39a143ec17a65e8ccc08f1883e4c92dd669e (diff)
downloadmongo-c8e0e1668b25fde6e5980a6431fc7db24411c109.tar.gz
SERVER-28165 make RunOnAllShardsCommand use ARS instead of Future::spawnCommand
Diffstat (limited to 'src/mongo/db/catalog/coll_mod.cpp')
-rw-r--r--src/mongo/db/catalog/coll_mod.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/catalog/coll_mod.cpp b/src/mongo/db/catalog/coll_mod.cpp
index 661cb5b1ab2..93abe72214c 100644
--- a/src/mongo/db/catalog/coll_mod.cpp
+++ b/src/mongo/db/catalog/coll_mod.cpp
@@ -76,6 +76,8 @@ StatusWith<CollModRequest> parseCollModRequest(OperationContext* opCtx,
// no-op ignore top-level fields prefixed with $. They are for the command processor
} else if (QueryRequest::cmdOptionMaxTimeMS == e.fieldNameStringData()) {
// no-op
+ } else if (str::equals("shardVersion", e.fieldName())) {
+ // no-op
} else if (str::equals("index", e.fieldName()) && !isView) {
BSONObj indexObj = e.Obj();
StringData indexName;