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

ReshardingDonorOplogIterator destroys OperationContext with Pipeline still attached on exception

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Sharding 2021-05-03
    • Linked BF Score:
      138
    • Story Points:
      1

      Description

      This leads to an invariant failure when destroying the OperationContext due to storage resources still be in use by the Pipeline. ReshardingDonorOplogIterator::_pipeline must either be detached from the OperationContext on exception or destroyed before the OperationContext is destructed on exception.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              max.hirschhorn Max Hirschhorn
              Reporter:
              max.hirschhorn Max Hirschhorn
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: