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

Investigate use of std::variant for RecordId

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Storage Execution
    • Execution Team 2021-10-04, Execution Team 2021-10-18, Execution Team 2021-11-01

      The current implementation of RecordId is essentially a hand-rolled variant but which does not overlap the fields. It is possible that using std::variant would result in a more compact object layout and/or allow for a simpler and safer implementation. In particular, issues like SERVER-59946 might be avoided.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: