summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
authorEsha Maharishi <esha.maharishi@mongodb.com>2018-02-22 16:39:56 -0500
committerEsha Maharishi <esha.maharishi@mongodb.com>2018-02-26 23:26:01 -0500
commit494bc5fa73352687f4b0a39f4b8338fc9e258cc0 (patch)
tree228054b03ff5ea42cf6ce8159ef0ef145bbc1c75 /jstests
parent9016e62cf354824aec31a83ec453f76f59599b32 (diff)
downloadmongo-494bc5fa73352687f4b0a39f4b8338fc9e258cc0.tar.gz
SERVER-32610 Include databaseVersion when targeting by primary shard in paths that use buildVersionedRequestsForTargetedShards()
Diffstat (limited to 'jstests')
-rw-r--r--jstests/sharding/database_and_shard_versioning_all_commands.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/jstests/sharding/database_and_shard_versioning_all_commands.js b/jstests/sharding/database_and_shard_versioning_all_commands.js
index 2f01bf66f73..559874cb353 100644
--- a/jstests/sharding/database_and_shard_versioning_all_commands.js
+++ b/jstests/sharding/database_and_shard_versioning_all_commands.js
@@ -62,7 +62,7 @@
buildInfo: {skip: "executes locally on mongos (not sent to any remote node)"},
clearLog: {skip: "executes locally on mongos (not sent to any remote node)"},
collMod: {
- sendsDbVersion: false,
+ sendsDbVersion: true,
sendsShardVersion: true,
setUp: function(mongosConn) {
// Expects the collection to exist, and doesn't implicitly create it.
@@ -107,7 +107,7 @@
copydb:
{skip: "Not captured by the profiler; will be tested separately (TODO SERVER-33429)"},
count: {
- sendsDbVersion: false,
+ sendsDbVersion: true,
sendsShardVersion: true,
command: {count: collName, query: {x: 1}},
},
@@ -154,7 +154,7 @@
command: {delete: collName, deletes: [{q: {_id: 1}, limit: 1}]}
},
distinct: {
- sendsDbVersion: false,
+ sendsDbVersion: true,
sendsShardVersion: true,
command: {distinct: collName, key: "x"},
},
@@ -164,7 +164,7 @@
dropDatabase:
{skip: "Not captured by the profiler; will be tested separately (TODO SERVER-33429)"},
dropIndexes: {
- sendsDbVersion: false,
+ sendsDbVersion: true,
sendsShardVersion: true,
setUp: function(mongosConn) {
// Expects the collection to exist, and doesn't implicitly create it.
@@ -366,7 +366,7 @@
// Expects the collection to exist, and doesn't implicitly create it.
assert.commandWorked(mongosConn.getDB(dbName).runCommand({create: collName}));
},
- sendsDbVersion: false,
+ sendsDbVersion: true,
sendsShardVersion: true,
command: {reIndex: collName},
cleanUp: function(mongosConn) {