Add upsert support to Express path

XMLWordPrintableJSON

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

      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
            Reporter:
            Colin Stolley
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: