-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: 7.0.0, 8.0.0, 8.3.0, 9.0.0
-
Component/s: Sharding
-
None
-
Catalog and Routing
-
Fully Compatible
-
ALL
-
v9.0, v8.3, v8.0, v7.0
-
CAR Team 2026-10-26
-
200
-
🟥 DDL
-
None
-
None
-
None
-
None
-
None
-
None
Issue
The reporting_compound_wildcard_index_prefixed_by_shard_key.js test asserts that the shardingStatistics.countHitsOfCompoundWildcardIndexesWithShardKeyPrefix counter increases a fixed amount of times due to the test's actions.
However, in this test the background range deleter is active, with an orphan cleanup delay of 1s. If the test runs slowly, the background range deleter also increases the counters, which makes the test assertions fail.
This consistently reproduces by adding a sleep(5000) right above this line.
Proposed fix
Disable the range deleter for this test.