summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/resumable_index_build_collection_scan_phase_large.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthrough/resumable_index_build_collection_scan_phase_large.js')
-rw-r--r--jstests/noPassthrough/resumable_index_build_collection_scan_phase_large.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/jstests/noPassthrough/resumable_index_build_collection_scan_phase_large.js b/jstests/noPassthrough/resumable_index_build_collection_scan_phase_large.js
index cc82cd05203..8ca6ca1ced2 100644
--- a/jstests/noPassthrough/resumable_index_build_collection_scan_phase_large.js
+++ b/jstests/noPassthrough/resumable_index_build_collection_scan_phase_large.js
@@ -7,6 +7,7 @@
* requires_majority_read_concern,
* requires_persistence,
* requires_replication,
+ * uses_column_store_index,
* ]
*/
(function() {
@@ -30,8 +31,10 @@ rst.initiate();
// Insert enough data so that the collection scan spills to disk.
const primary = rst.getPrimary();
const coll = primary.getDB(dbName).getCollection(jsTestName());
+
const columnstoreEnabled = checkSBEEnabled(
primary.getDB(dbName), ["featureFlagColumnstoreIndexes", "featureFlagSbeFull"], true);
+
const bulk = coll.initializeUnorderedBulkOp();
for (let i = 0; i < numDocuments; i++) {
// Each document is at least 1 MB.
@@ -67,4 +70,4 @@ if (columnstoreEnabled) {
[{numScannedAfterResume: numDocuments - maxIndexBuildMemoryUsageMB}]);
}
rst.stopSet();
-})(); \ No newline at end of file
+})();