-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Query Integration
-
Fully Compatible
-
152
This ticket aims to fix BF-32234. The failure happens on the TSAN variant, which is under an XXL host (~100GB of RAM, 96 cores). The host's specs cause a recalculation of the number of partitions for the query stats store, which you can see here. The problem lies in the test performing a resizing of the cache from the initial 1GB (1% of the available memory on startup) to 1MB. The partitions then become too small to hold a single query stats entry, and as we get an empty cursor from querying the store this assertion will fail, along with this other one. We cannot simply change the resize value to something larger, as the rest of the variants will fail to evict, so instead of a fixed size change we need a % change. Because some partitions might still be big enough, a change in the number of queries ran before eviction is also necessary to ensure the assertion will not fail.