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

Make ObjectId encoded in BSONColumn more efficient

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.2.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Execution Team 2021-11-29, Execution Team 2021-12-13

      Currently, the least significant byte is timestamp and the second least counter. But because the counter is always incremented we essentially get a 2 byte change for both an update in timestamp or counter.

      If we re-arrange to have the counter in the least significant byte we should be able to get a smaller 1 byte delta when only the counter is updated.

            Assignee:
            henrik.edin@mongodb.com Henrik Edin
            Reporter:
            henrik.edin@mongodb.com Henrik Edin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: