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

Add upsert support to Express path

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution

      Update-by-_id was implemented in the Express executor, but upsert-by-_id still falls back to the idhack path. To speed up upserts and eventually get rid of idhack entirely, Express should support upsert operations.

       

      See https://github.com/10gen/mongo/blob/1f6f0d201f052369432e4bce3ca2cb1e9525dc56/src/mongo/db/query/get_executor.cpp#L1984-L1987

            Assignee:
            Unassigned Unassigned
            Reporter:
            colin.stolley@mongodb.com Colin Stolley
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: