-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: 9.0.0-rc0
-
Component/s: None
-
Query Integration
-
Minor Change
-
ALL
-
v9.0
-
200
-
None
-
None
-
None
-
None
-
None
-
None
-
None
This test asserts that an entry cannot be registered in the query stats store if the query shape is larger than BSON max limit. However, this test was wrong. The entry created is not larger than BSON max limit, and the test was always passing because the rate limit was 0. SERVER-116390 increase the default rate limit, so now this test will fail 1 in every 100 runs because the rate limit will allow the entry to be collected and the entry is not larger than BSON max, so it can be collected.
Additionally, during investigation the test uncovered that query stats doesn't gracefully handle and can error with large query shapes. We should fix that in this test to skip registering query stats and skip returning entries that would make the entire command error.
- is related to
-
SERVER-116390 Enable query stats by default
-
- Closed
-
-
SERVER-104405 Add explicit size validation where code is currently relying on BSONObj constructor
-
- Closed
-