From a42194fd5f453f3ec65e6b09edbf152e89ee104f Mon Sep 17 00:00:00 2001 From: Ted Tuckman Date: Fri, 1 Feb 2019 11:17:38 -0500 Subject: SERVER-39334 Don't run plan_cache_list_plans with balancer on --- jstests/core/plan_cache_list_plans.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jstests/core/plan_cache_list_plans.js b/jstests/core/plan_cache_list_plans.js index 11c7922b4b1..51c200dbeeb 100644 --- a/jstests/core/plan_cache_list_plans.js +++ b/jstests/core/plan_cache_list_plans.js @@ -4,8 +4,11 @@ // # This test attempts to perform queries and introspect the server's plan cache entries. The // # former operation may be routed to a secondary in the replica set, whereas the latter must be // # routed to the primary. +// # If the balancer is on and chunks are moved, the plan cache can have entries with isActive: +// # false when the test assumes they are true because the query has already been run many times. // assumes_read_preference_unchanged, // does_not_support_stepdowns, +// assumes_balancer_off, // ] (function() { -- cgit v1.2.1