Uploaded image for project: 'MongoDB Command Line Tools'
  1. MongoDB Command Line Tools
  2. TOOLS-1967

replication satus show Error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Done
    • Affects Version/s: 3.4.5
    • Fix Version/s: None
    • Component/s: All Tools
    • Labels:
    • Environment:
      Red Hat Enterprise Linux Server release 7.1 (Maipo)", architecture: "x86_64", version: "Kernel 3.10.0-229.el7.x86_64
    • Backport Requested:
      v3.4

      Description

      enter into shard-4;
      1. implement mongo command: rs.status(), show info 2 secondary 1 primary;
      2. implement mongo command:db.printSlaveReplicationInfo(), show secondary one of replications behind primary 864.97hrs,
      The replication log show :"Thu Feb 8 10:31:31.105 I REPL [ReplicationExecutor] Scheduling priority takeover at 2018-02-08T10:31:41.313+0800
      Thu Feb 8 10:31:41.313 I REPL [ReplicationExecutor] Canceling priority takeover callback
      Thu Feb 8 10:31:41.314 I REPL [ReplicationExecutor] Not starting an election for a priority takeover, since we are not electable due to: Not standing for election because member is not caught up enough to the most up-to-date member to call for priority takeover - must be within 2 seconds (mask 0x400)"
      3. restart the secondary replication:
      a. replication log show :the same as above;
      b. rs.status show info: 1 secondary 1 primary and 1 RECOVERING;

        Attachments

        1. 3%@NW8A0~}I%WD{6CZRF40X.png
          3%@NW8A0~}I%WD{6CZRF40X.png
          4 kB
        2. 7_)TB1RA]7PW_`KQ4J~OTD9.png
          7_)TB1RA]7PW_`KQ4J~OTD9.png
          3 kB
        3. P`[4[9S_2_P22(X}Z4M2MS6.png
          P`[4[9S_2_P22(X}Z4M2MS6.png
          4 kB
        4. VYXM%~T92V0LUFL2QAS]EOV.png
          VYXM%~T92V0LUFL2QAS]EOV.png
          71 kB

          Activity

            People

            • Assignee:
              kelsey.schubert Kelsey T Schubert
              Reporter:
              lmq-118 lmq-118
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: