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

Remove restriction on over-aligned decorations

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Service Arch
    • Fully Compatible
    • Workload Scheduling 2024-06-10, Workload Scheduling 2024-06-24
    • 200

      We don't allow over-aligned decorations today/any decorations with an alignment requirement > std::max_align_t.
      A static assert enforcing this was added when it was noticed that the original decorations implementation might not correctly support over-aligned decorations.

      However, the current implementation does attempt to respect alignment requirements, and there is no reason it shouldn't work with extended alignment requirements.

      We should write a test to verify that we do correctly support over-aligned decorations, and remove the pessimistic static assert if so. If not, we should investigate why these types do not work and consider adding support.

            Assignee:
            george.wangensteen@mongodb.com George Wangensteen
            Reporter:
            george.wangensteen@mongodb.com George Wangensteen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: