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

onDrainComplete should be called when a node is definitely going to become primary

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2016-09-19

    Description

      Because other subsystems, e.g. sharding, assume that onDrainComplete is called when a node is becoming primary, onDrainComplete should be called after setting _canAcceptNonLocalWrites.

      Attachments

        Activity

          People

            siyuan.zhou@mongodb.com Siyuan Zhou
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: