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

Simple8b delta for ObjectId type

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.1.0-rc0
    • None
    • None
    • Fully Compatible
    • Execution Team 2021-08-09

    Description

      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. 

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: