Secondary became primary through election when secondary can not find primary.

XMLWordPrintableJSON

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

      Don't konw.

      Show
      Don't konw.
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Before this time, many time-consuming operations happened at the primary node

      Secondary log:
      2018-07-26T04:01:00.023+0000 I REPL [ReplicationExecutor] Error in heartbeat request to 10.0.189.100:27017; ExceededTimeLimit: Operation timed out
      2018-07-26T04:01:04.254+0000 I REPL [ReplicationExecutor] stepping down from primary, because a new term has begun: 98
      2018-07-26T04:01:04.322+0000 I REPL [replExecDBWorker-1] transition to SECONDARY
      2018-07-26T04:01:05.413+0000 I REPL [ReplicationExecutor] Member 10.0.189.100:27017 is now in state PRIMARY

      I have archived (tar or zip) the $dbpath/diagnostic.data directory from each node.

        1. backup.zip
          6.44 MB
        2. primary.zip
          3.43 MB
        3. secondary.zip
          8.73 MB

            Assignee:
            Nick Brewer (Inactive)
            Reporter:
            Zihang Cui
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: