diff options
author | Drew Paroski <drew.paroski@mongodb.com> | 2021-07-20 20:36:04 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-07-21 19:41:13 +0000 |
commit | 7cd6beba9999a93f985a99199eb5b824b7f18c75 (patch) | |
tree | 6434861e095d52384bb8df559df826e8c72ab506 /jstests/sharding/change_stream_lookup_post_image_chunk_migration.js | |
parent | e441b28caa1f8b96df930a84e9271b5cbb6c5c06 (diff) | |
download | mongo-7cd6beba9999a93f985a99199eb5b824b7f18c75.tar.gz |
SERVER-58511 Create feature flag for change stream oplog rewrites
Diffstat (limited to 'jstests/sharding/change_stream_lookup_post_image_chunk_migration.js')
-rw-r--r-- | jstests/sharding/change_stream_lookup_post_image_chunk_migration.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/sharding/change_stream_lookup_post_image_chunk_migration.js b/jstests/sharding/change_stream_lookup_post_image_chunk_migration.js index 9e20d81c806..80a52c5bbb7 100644 --- a/jstests/sharding/change_stream_lookup_post_image_chunk_migration.js +++ b/jstests/sharding/change_stream_lookup_post_image_chunk_migration.js @@ -7,7 +7,7 @@ (function() { 'use strict'; -load('jstests/libs/change_stream_util.js'); // For isChangeStreamOptimizationEnabled(). +load('jstests/libs/change_stream_util.js'); // For isChangeStreamsOptimizationEnabled(). load('jstests/libs/profiler.js'); // For various profiler helpers. const st = new ShardingTest({ @@ -26,7 +26,7 @@ const shard0 = st.shard0; const shard1 = st.shard1; const shard2 = st.shard2; -const isChangeStreamOptimized = isChangeStreamOptimizationEnabled(mongos.getDB(dbName)); +const isChangeStreamOptimized = isChangeStreamsOptimizationEnabled(mongos.getDB(dbName)); // Enable sharding to inform mongos of the database, and make sure all chunks start on shard 0. assert.commandWorked(mongos.adminCommand({enableSharding: dbName})); |