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

Relinquishing primary should be done in write lock

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.5, 2.1.1
    • Component/s: Replication
    • Labels:
      None
    • Operating System:
      ALL

      Description

      Becoming primary is syncronized with a write lock, but there's a race condition in relinquish where you could change state to secondary, write ops could happen, then sockets were closed.

        Attachments

          Activity

            People

            Assignee:
            kristina Kristina Chodorow
            Reporter:
            kristina Kristina Chodorow
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: