diff options
Diffstat (limited to 'jstests/core/query/plan_cache/plan_cache_clear.js')
-rw-r--r-- | jstests/core/query/plan_cache/plan_cache_clear.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/jstests/core/query/plan_cache/plan_cache_clear.js b/jstests/core/query/plan_cache/plan_cache_clear.js index 7aee144bc89..d03330ab08e 100644 --- a/jstests/core/query/plan_cache/plan_cache_clear.js +++ b/jstests/core/query/plan_cache/plan_cache_clear.js @@ -15,6 +15,8 @@ // assumes_unsharded_collection, // # Plan cache state is node-local and will not get migrated alongside tenant data. // tenant_migration_incompatible, +// # The SBE plan cache was first enabled in 6.3. +// requires_fcv_63, // # TODO SERVER-67607: Test plan cache with CQF enabled. // cqf_incompatible, // ] @@ -104,7 +106,7 @@ const nonExistentColl = db.plan_cache_clear_nonexistent; nonExistentColl.drop(); assert.commandWorked(nonExistentColl.runCommand('planCacheClear')); -if (checkSBEEnabled(db, ["featureFlagSbeFull"], true /* checkAllNodes */)) { +if (checkSBEEnabled(db)) { // Plan cache commands should work against the main collection only, not foreignColl // collections, when $lookup is pushed down into SBE. const foreignColl = db.plan_cache_clear_foreign; |