Check for interrupt before initializing the _tenantOplogApplier

XMLWordPrintableJSON

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

      _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
              Reporter:
              Lingzhi Deng
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: