diff options
author | Esha Maharishi <esha.maharishi@mongodb.com> | 2017-03-31 17:20:07 -0400 |
---|---|---|
committer | Esha Maharishi <esha.maharishi@mongodb.com> | 2017-04-06 13:29:56 -0400 |
commit | c8e0e1668b25fde6e5980a6431fc7db24411c109 (patch) | |
tree | f138e8a1fa2b99cab64461fd450ef8dba4b066dd /src/mongo/db/catalog/coll_mod.cpp | |
parent | 366b39a143ec17a65e8ccc08f1883e4c92dd669e (diff) | |
download | mongo-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.cpp | 2 |
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; |