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

Dispose of ReshardingDonorOplogIterator in ReshardingOplogApplier, even on cancellation

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.0.0-rc0
    • None
    • Sharding
    • None
    • Fully Compatible
    • Sharding 2021-05-17
    • 2

    Description

      This isn't currently a bug because locally-executing Pipelines and DocumentSources do not dereference their OperationContext during dispose() and destruction. However, we have established a pattern in ReshardingCollectionCloner and ReshardingTxnCloner to run a task on the cleanup executor. We should do the same with ReshardingDonorOplogIterator in ReshardingOplogApplier.

      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: