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

Simple8b delta for ObjectId type

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2021-08-09

      We want to re-organize the bytes to put most of the entropy in the least significant bytes.

      ObjectId
      Byte usage TS3 C2 TS2 C1 TS1 C0 TS0
      Byte index 0 1 2 3 4 5 6

      TS = Timestamp in big endian 
      PU = Process unique identifier
      C = Counter in big endian

      The bytes should be converted to little endian bit level order.

      If process unique identifier is equal, interpret as uint64_t and calculate delta. 

            Assignee:
            jackson.xie@mongodb.com Jackson Xie (Inactive)
            Reporter:
            henrik.edin@mongodb.com Henrik Edin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: