Currently the SBE plan cache key encoding uses isCountLike which is inaccurate. Queries with _isCountLike being true don't necessary use COUNT_SCAN plan. This could cause a IXSCAN plan and a COUNT_SCAN plan share a same SBE plan cache key.
- related to
-
SERVER-77973 Do not gate COUNT_SCAN in SBE by featureFlagSbeFull
- Closed
-
SERVER-71485 Better naming for CanonicalQuery::isCount
- Closed