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

Race condition in SyncSourceResolver shutdown

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Replication
    • Replication
    • 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

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: