summaryrefslogtreecommitdiff
path: root/jstests/multiVersion
diff options
context:
space:
mode:
authorCharlie Swanson <charlie.swanson@mongodb.com>2022-05-03 15:31:53 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-05-03 18:08:50 +0000
commit69c6a3d495cd845834cd83902498a14813c2daf9 (patch)
tree792b5b81f85a4fd554dbdf6ef939d0264f8f0a72 /jstests/multiVersion
parent73938f0e9a74b4e45b7b134473ad8e3b36322a66 (diff)
downloadmongo-69c6a3d495cd845834cd83902498a14813c2daf9.tar.gz
SERVER-65933 Enable creation of columnstore index
Adds a new feature flag which must be enabled to create one.
Diffstat (limited to 'jstests/multiVersion')
-rw-r--r--jstests/multiVersion/genericBinVersion/skip_level_upgrade.js4
-rw-r--r--jstests/multiVersion/genericSetFCVUsage/do_upgrade_downgrade.js2
-rw-r--r--jstests/multiVersion/genericSetFCVUsage/major_version_upgrade.js8
-rw-r--r--jstests/multiVersion/genericSetFCVUsage/set_feature_compatibility_version.js2
4 files changed, 8 insertions, 8 deletions
diff --git a/jstests/multiVersion/genericBinVersion/skip_level_upgrade.js b/jstests/multiVersion/genericBinVersion/skip_level_upgrade.js
index 641266e3950..84cd6ef8000 100644
--- a/jstests/multiVersion/genericBinVersion/skip_level_upgrade.js
+++ b/jstests/multiVersion/genericBinVersion/skip_level_upgrade.js
@@ -16,7 +16,7 @@
(function() {
'use strict';
-load('jstests/libs/get_index_helpers.js');
+load('jstests/libs/index_catalog_helpers.js');
const dbpath = MongoRunner.dataPath + 'skip_level_upgrade';
resetDbpath(dbpath);
@@ -76,7 +76,7 @@ for (let i = 0; i < versions.length; i++) {
tojson(mongodOptions));
assert.neq(
null,
- GetIndexHelpers.findByKeyPattern(testDB[version.testCollection].getIndexes(), {a: 1}),
+ IndexCatalogHelpers.findByKeyPattern(testDB[version.testCollection].getIndexes(), {a: 1}),
`index from ${version.testCollection} should be available; options: ` +
tojson(mongodOptions));
diff --git a/jstests/multiVersion/genericSetFCVUsage/do_upgrade_downgrade.js b/jstests/multiVersion/genericSetFCVUsage/do_upgrade_downgrade.js
index 7021f92d723..f23e929d700 100644
--- a/jstests/multiVersion/genericSetFCVUsage/do_upgrade_downgrade.js
+++ b/jstests/multiVersion/genericSetFCVUsage/do_upgrade_downgrade.js
@@ -4,7 +4,7 @@
"use strict";
load("jstests/replsets/rslib.js");
-load("jstests/libs/get_index_helpers.js");
+load("jstests/libs/index_catalog_helpers.js");
load("jstests/libs/check_uuids.js");
load("jstests/libs/check_unique_indexes.js");
diff --git a/jstests/multiVersion/genericSetFCVUsage/major_version_upgrade.js b/jstests/multiVersion/genericSetFCVUsage/major_version_upgrade.js
index 0f6f67c7ef1..9098ca4b145 100644
--- a/jstests/multiVersion/genericSetFCVUsage/major_version_upgrade.js
+++ b/jstests/multiVersion/genericSetFCVUsage/major_version_upgrade.js
@@ -14,7 +14,7 @@
(function() {
'use strict';
-load('jstests/libs/get_index_helpers.js');
+load('jstests/libs/index_catalog_helpers.js');
load('jstests/multiVersion/libs/multi_rs.js');
load('jstests/multiVersion/libs/verify_versions.js');
@@ -70,7 +70,7 @@ for (let i = 0; i < versions.length; i++) {
tojson(mongodOptions));
assert.neq(
null,
- GetIndexHelpers.findByKeyPattern(testDB[oldVersionCollection].getIndexes(), {a: 1}),
+ IndexCatalogHelpers.findByKeyPattern(testDB[oldVersionCollection].getIndexes(), {a: 1}),
`index from ${oldVersionCollection} should be available; options: ` +
tojson(mongodOptions));
}
@@ -166,11 +166,11 @@ for (let i = 0; i < versions.length; i++) {
`data from ${oldVersionCollection} should be available; nodes: ${tojson(nodes)}`);
assert.neq(
null,
- GetIndexHelpers.findByKeyPattern(testDB[oldVersionCollection].getIndexes(), {a: 1}),
+ IndexCatalogHelpers.findByKeyPattern(testDB[oldVersionCollection].getIndexes(), {a: 1}),
`index from ${oldVersionCollection} should be available; nodes: ${tojson(nodes)}`);
assert.neq(
null,
- GetIndexHelpers.findByKeyPattern(testDB[oldVersionCollection].getIndexes(), {b: 1}),
+ IndexCatalogHelpers.findByKeyPattern(testDB[oldVersionCollection].getIndexes(), {b: 1}),
`index from ${oldVersionCollection} should be available; nodes: ${tojson(nodes)}`);
}
diff --git a/jstests/multiVersion/genericSetFCVUsage/set_feature_compatibility_version.js b/jstests/multiVersion/genericSetFCVUsage/set_feature_compatibility_version.js
index 2fa660728d8..24494e64401 100644
--- a/jstests/multiVersion/genericSetFCVUsage/set_feature_compatibility_version.js
+++ b/jstests/multiVersion/genericSetFCVUsage/set_feature_compatibility_version.js
@@ -12,7 +12,7 @@ TestData.skipCheckDBHashes = true;
(function() {
"use strict";
-load("jstests/libs/get_index_helpers.js");
+load("jstests/libs/index_catalog_helpers.js");
load("jstests/libs/write_concern_util.js");
load("jstests/replsets/rslib.js");