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

_id predicates no longer generated for time series update or delete

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • Fully Compatible
    • ALL
    • v8.0, v7.0, v6.0, v5.0
    • 200

      We used to unconditionally generate _id predicates for time series updates and deletes. This was not correct since when there are extended range values these predicates could filter out values that should be updated or deleted.

      With the fix for SERVER-73641, we never generate _id predicates, which caused a performance regression. To address this, we should again generate these _id predicates, but only when we are sure that there are no extended range values.

            Assignee:
            chris.wolff@mongodb.com Chris Wolff
            Reporter:
            chris.wolff@mongodb.com Chris Wolff
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: