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

Regression in serializing large $in lists

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • QO 2023-09-04

    Description

      $in lists are being sorted and de-duplicated before serialization.

      The sorting and de-duplicating of large $in lists has significantly improved the execution times of those queries, however for query stats it has made serialization much more expensive leading to regressions of such queries when compared against the baseline.

      large $in query without query stats

      large $in query with query stats

      The regression (pertaining to query stats) was introduced by https://jira.mongodb.org/browse/SERVER-76904, and specifically this line.

      Attachments

        Activity

          People

            joshua.lapacik@mongodb.com Joshua Lapacik (Inactive)
            joshua.lapacik@mongodb.com Joshua Lapacik (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: