Test LRUCache eviction behavior for large queryStats entries

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • QO 2023-08-07
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Investigate what would happen if a query was 16MB, since this is the max a BSONObj can hold. This is a concern in terms of if the query shape is then larger and the BSONObj refuses to grow. In addition, once the query stats store partitions are capped at 16MB, the entry may be larger than that cap and therefore evict all entries in the partition.

              Assignee:
              Maddie Zechar
              Reporter:
              Naama Bareket
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: