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

Test LRUCache eviction behavior for large queryStats entries

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • None
    • None
    • None
    • Query Optimization
    • Fully Compatible
    • QO 2023-08-07

    Description

      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.

      Attachments

        Activity

          People

            maddie.zechar@mongodb.com Maddie Zechar
            naama.bareket@mongodb.com Naama Bareket
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: