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

Clean primary states on stepdown

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2016-11-21
    • 0

      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.

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

              Created:
              Updated:
              Resolved: