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

Clean primary states on stepdown

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2016-11-21
    • 0

    Description

      We should clean the states _isCatchingUp and _isWaitingForDrainToComplete on stepdown. Thus we don't rely on the applier thread (rsSync) to do the job. This work should also be backported to 3.2 after we backport oplog as buffer.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: