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

Check for interrupt before initializing the _tenantOplogApplier

    • Fully Compatible
    • ALL
    • v4.9
    • Repl 2021-05-17
    • 47

      _interrupt calls _cancelRemainingWork which would cancel the _tenantOplogApplier if it exists. But I think it is possible for the _tenantOplogApplier to be initialized after _cancelRemainingWork is called. In that case, the _tenantOplogApplier would never be shut down. I think we should check for interrupt before initializing the _tenantOplogApplier.

            Assignee:
            lingzhi.deng@mongodb.com Lingzhi Deng
            Reporter:
            lingzhi.deng@mongodb.com Lingzhi Deng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: