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

Investigate use of std::variant for RecordId

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Storage Execution
    • Execution Team 2021-10-04, Execution Team 2021-10-18, Execution Team 2021-11-01

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: