diff options
author | Spencer T Brody <spencer@mongodb.com> | 2016-08-24 15:56:55 -0400 |
---|---|---|
committer | Spencer T Brody <spencer@mongodb.com> | 2016-08-26 16:55:38 -0400 |
commit | 6bf9fd2e5a5f043b950cb77361be3c1ed7a7d0af (patch) | |
tree | dd6d2cdcf3d3ef2eee3d156b3417b116d2f5ef3b /jstests/sharding/shard_identity_rollback.js | |
parent | a4a9a9ad29415239091db171e01f45677464f668 (diff) | |
download | mongo-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.js | 2 |
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. |