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

ReshardingDonorOplogIterator destroys OperationContext with Pipeline still attached on exception

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • ALL
    • Sharding 2021-05-03
    • 170
    • 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

        Activity

          People

            max.hirschhorn@mongodb.com Max Hirschhorn
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: