ReshardingDonorOplogIterator destroys OperationContext with Pipeline still attached on exception

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • Sharding 2021-05-03
    • 170
    • 1
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Max Hirschhorn
            Reporter:
            Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: