blob: 52775d02c6af154ea4f1493f496c30bb13dba5ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/**
* Tests inserting various cluster key values, duplicates, updates and secondary index lookups
* on a collection clustered by {_id: 1}.
*
* @tags: [
* assumes_against_mongod_not_mongos,
* assumes_no_implicit_collection_creation_after_drop,
* does_not_support_stepdowns,
* requires_fcv_53,
* tenant_migration_incompatible, #TODO: why is it incompatible?
* ]
*/
(function() {
"use strict";
load("jstests/libs/clustered_collections/clustered_collection_util.js");
const replicatedDB = db.getSiblingDB('replicated');
const collName = 'clustered_collection';
const replicatedColl = replicatedDB[collName];
replicatedColl.drop();
ClusteredCollectionUtil.testBasicClusteredCollection(replicatedDB, collName, '_id');
})();
|