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

Regression in serializing large $in lists

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • QO 2023-09-04

      $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.

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

              Created:
              Updated:
              Resolved: