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

Check for interrupt before initializing the _tenantOplogApplier

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.9
    • Sprint:
      Repl 2021-05-17
    • Linked BF Score:
      47

      Description

      _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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: