summaryrefslogtreecommitdiff
path: root/jstests/sharding/repair_sharded_collection_history.js
diff options
context:
space:
mode:
authorAntonio Fuschetto <antonio.fuschetto@mongodb.com>2022-01-28 13:43:35 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-01-28 14:25:09 +0000
commitedceb0c5e345f15f660776ded34b3f5e3245533d (patch)
tree1b6f9aed0eb05f265742f8b16bf9f69a3cee37e4 /jstests/sharding/repair_sharded_collection_history.js
parent75e32d62555b868e7664b076ee0e1042de6b5fb2 (diff)
downloadmongo-edceb0c5e345f15f660776ded34b3f5e3245533d.tar.gz
SERVER-62905 Remove all the code related to the long collection names project
Diffstat (limited to 'jstests/sharding/repair_sharded_collection_history.js')
-rw-r--r--jstests/sharding/repair_sharded_collection_history.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/jstests/sharding/repair_sharded_collection_history.js b/jstests/sharding/repair_sharded_collection_history.js
index 1c9c529303a..7ad51a6dc91 100644
--- a/jstests/sharding/repair_sharded_collection_history.js
+++ b/jstests/sharding/repair_sharded_collection_history.js
@@ -7,8 +7,6 @@
(function() {
'use strict';
-load('jstests/sharding/libs/catalog_cache_loader_helpers.js');
-
var st = new ShardingTest({
shards: 1,
});
@@ -55,8 +53,7 @@ chunks.forEach((chunk) => {
assert(chunk.hasOwnProperty('historyIsAt40'),
'test1.foo does not have a historyIsAt40 after repair');
});
-chunks =
- shardPrimaryConfigDB.getCollection(getCachedChunksCollectionName(collection)).find().toArray();
+chunks = shardPrimaryConfigDB.getCollection('cache.chunks.test1.foo').find().toArray();
assert.eq(chunks.length, 4);
chunks.forEach((chunk) => {
assert.neq(null, chunk);