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

Make it safe to move BSONColumnBuilder

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Execution Team 2024-02-19

      BSONColumnBuilder stores internal pointers to helpers that does not get properly updated when the type is moved. These pointers are stored in callbacks stored as std::function taking up space in the type.

      We should forward the necessary types through the internal interfaces. This should both make the type movable and make it leaner.

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

              Created:
              Updated:
              Resolved: