diff options
author | Esha Maharishi <esha.maharishi@mongodb.com> | 2017-11-29 15:57:41 -0500 |
---|---|---|
committer | Esha Maharishi <esha.maharishi@mongodb.com> | 2017-12-05 13:35:07 -0500 |
commit | 84b68e8459df1b795fa25eeaee05b76967eb9406 (patch) | |
tree | 0803d8d7f9bca57897dbf9754016cf2e92acc18e /jstests/sharding/dump_coll_metadata.js | |
parent | 40dc86136f85f88e1782a1c65b49bfba02757009 (diff) | |
download | mongo-84b68e8459df1b795fa25eeaee05b76967eb9406.tar.gz |
SERVER-31627 ShardingTest.checkUUIDsConsistentAcrossCluster can fail to see collection in config.cache.collections
Diffstat (limited to 'jstests/sharding/dump_coll_metadata.js')
-rw-r--r-- | jstests/sharding/dump_coll_metadata.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/dump_coll_metadata.js b/jstests/sharding/dump_coll_metadata.js index 9b38a3c416c..30726f4746d 100644 --- a/jstests/sharding/dump_coll_metadata.js +++ b/jstests/sharding/dump_coll_metadata.js @@ -37,7 +37,7 @@ // cause the shard to refresh. assert.commandWorked(admin.runCommand({split: coll + "", middle: {_id: 0}})); assert.commandWorked( - st.shard0.getDB('admin').runCommand({forceRoutingTableRefresh: coll + ""})); + st.shard0.getDB('admin').runCommand({_flushRoutingTableCacheUpdates: coll + ""})); assert.commandWorked(shardAdmin.runCommand({getShardVersion: coll + ""})); printjson(shardAdmin.runCommand({getShardVersion: coll + "", fullMetadata: true})); |