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

SharedBufferFragmentAllocator should discard its buffer on destruction if the build was incomplete

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2020-05-04

      If a SharedBufferFragmentBuilder is started but not finished due to an error thrown by a caller, the owning SharedBufferFragmentAllocator should discard the buffer.

      This causes this invariant to hit if a subsequent buffer is constructed on the same SharedBufferFragmentBuilder.

            Assignee:
            louis.williams@mongodb.com Louis Williams
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: