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

Simple8b delta for ObjectId type

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.0-rc0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      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

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

              Dates

              Created:
              Updated:
              Resolved: