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

Race condition in SyncSourceResolver shutdown

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Replication
    • Labels:
    • Operating System:
      ALL

      Description

      shutdown() can be called between the times that a callback starts and the point when it schedules more work. In particular it can happen before _scheduleFetcher() acquires its mutex so it needs to check for shutdown.

      Also, every call to _isShuttingDown() is fishy since shutdown() can be called as soon as it returns.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-repl Backlog - Replication Team
              Reporter:
              redbeard0531 Mathias Stearn
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated: