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

RecordId class to support ObjectId type

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Fully Compatible
    • Execution Team 2021-02-08
    • 0

      The RecordId class is used in a vast number of places throughout the server codebase. To avoid a complicated refactor, modify the RecordId class internally so that users are unaware of its underlying type. To support compatibility with existing record stores that use a 64-bit int key format and new record stores that will use ObjectId, the RecordId class should be modified to store either an int64_t or an ObjectId.

            Assignee:
            louis.williams@mongodb.com Louis Williams
            Reporter:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: