Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-78943

Test LRUCache eviction behavior for large queryStats entries

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

      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@mongodb.com Maddie Zechar
            Reporter:
            naama.bareket@mongodb.com Naama Bareket
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: