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

Unnecessary rollback for a hidden node after a priority takeover reconfig

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.2.9
    • Component/s: Replication
    • None
    • ALL

      Hi, I have a P/S/H(priority 2/1/0) replset using 3.2.9 with replicaton protocal v1. And I noticed that during a reconfiging to (1/2/0) procedure, the Hidden node entered rollback state because he choosed the original Primary as his new sync source after the new election, which soon rollbacked too because he is no longer the Primary. This Hidden entered rollback because he has a higer term(the latest right term synced from the new Primary) than the sync source(the original Primary). But I think this rollback is unnecessary. Is this a sync source choosen bug? I have all the 3 nodes' mongod.log if you need. Thanks!

        1. repl_log.tar.gz
          6 kB
          CenZheng

            Assignee:
            kelsey.schubert@mongodb.com Kelsey Schubert
            Reporter:
            zhcn381 CenZheng
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: