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

Delete sizeof static_assert on FindCmdShape on 6.0 branch

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.16
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • Fully Compatible
    • 67

      This assertion is not passing on all the supported platforms/compilers (notably x86 macOS). The exact assertion is actually not that important though, especially on the 6.0 branch. The assertion is meant to help mitigate the risk that a data member is added which we forget to account for the size of in our memory budgeting. This risk seems very low on the 6.0 branch, so I propose we delete the assertion on 6.0 and leave it on master branches to keep that protection, which should prevent anything from being backported to break 6.0.

            Assignee:
            charlie.swanson@mongodb.com Charlie Swanson
            Reporter:
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: