Investigate changes in SERVER-106452: Operator to generate random object ids

XMLWordPrintableJSON

    • Type: Investigation
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Developer Tools

      Original Downstream Change Summary

      New expression '$createObjectId' has been introduced that creates a new random object id.

      Description of Linked Ticket

      There is no way to generate a random object id in a query without a shell helper (e.g. if you want to write your query as JSON). We should have some aggregation operator, e.g. something like $oid, to randomly generate an object id.

      Relevant for working around an issue like SERVER-106347.

              Assignee:
              Unassigned
              Reporter:
              Backlog - Core Eng Program Management Team
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: