summaryrefslogtreecommitdiff
path: root/jstests/sharding/shard_identity_rollback.js
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@mongodb.com>2016-08-24 15:56:55 -0400
committerSpencer T Brody <spencer@mongodb.com>2016-08-26 16:55:38 -0400
commit6bf9fd2e5a5f043b950cb77361be3c1ed7a7d0af (patch)
treedd6d2cdcf3d3ef2eee3d156b3417b116d2f5ef3b /jstests/sharding/shard_identity_rollback.js
parenta4a9a9ad29415239091db171e01f45677464f668 (diff)
downloadmongo-6bf9fd2e5a5f043b950cb77361be3c1ed7a7d0af.tar.gz
SERVER-25677 Clear cached clusterId if config.version document is rolled back.
Diffstat (limited to 'jstests/sharding/shard_identity_rollback.js')
-rw-r--r--jstests/sharding/shard_identity_rollback.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/shard_identity_rollback.js b/jstests/sharding/shard_identity_rollback.js
index 57a46f20ff8..9096c6eb110 100644
--- a/jstests/sharding/shard_identity_rollback.js
+++ b/jstests/sharding/shard_identity_rollback.js
@@ -71,7 +71,7 @@
// Restart the original primary so it triggers a rollback of the shardIdentity insert.
jsTest.log("Restarting original primary");
- priConn = replTest.restart(priConn, {shardsvr: ''});
+ priConn = replTest.restart(priConn);
// Wait until we cannot create a connection to the former primary, which indicates that it must
// have shut itself down during the rollback.