diff options
author | Antonio Fuschetto <antonio.fuschetto@mongodb.com> | 2021-08-17 06:55:08 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-08-18 07:19:28 +0000 |
commit | 1d6b7bab47918cbf1b6361e9f29f3f91e8441698 (patch) | |
tree | 65a6c8dd77e75ab30475bdd42ed17e55ffce6a61 /jstests/sharding/drop_collection.js | |
parent | 090204664c59243ac6bd2e8629b969c6837df2d9 (diff) | |
download | mongo-1d6b7bab47918cbf1b6361e9f29f3f91e8441698.tar.gz |
SERVER-58575 Replace the logic that decides whether the SSCCL should use namespaces or uuids for config.cache.chunks collections
Diffstat (limited to 'jstests/sharding/drop_collection.js')
-rw-r--r-- | jstests/sharding/drop_collection.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/sharding/drop_collection.js b/jstests/sharding/drop_collection.js index f07ced08ae5..3ea6d081ae7 100644 --- a/jstests/sharding/drop_collection.js +++ b/jstests/sharding/drop_collection.js @@ -5,7 +5,7 @@ (function() { "use strict"; -load("jstests/libs/uuid_util.js"); +load("jstests/sharding/libs/catalog_cache_loader_helpers.js"); load("jstests/sharding/libs/find_chunks_util.js"); var st = new ShardingTest({shards: 2}); @@ -328,7 +328,7 @@ jsTest.log("Test that dropping a sharded collection, the cached metadata on shar // Get the chunks cache collection name const configCollDoc = st.s0.getDB('config').collections.findOne({_id: coll.getFullName()}); - const chunksCollName = 'cache.chunks.' + coll.getFullName(); + const chunksCollName = getCachedChunksCollectionName(configCollDoc); // Drop the collection assert.commandWorked(db.runCommand({drop: coll.getName()})); |