Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-414

stat lines are still produced by mongostat for nodes that are down

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.8.0-rc3
    • Affects Version/s: 2.8.0-rc1
    • Component/s: mongostat
    • None

      Stat lines are still produced by mongostat for nodes that are down.

      Legacy produces:

      127.0.0.1:28017 socket exception [CONNECT_ERROR] for 127.0.0.1:28017 (127.0.0.1) failed
      localhost.localdomain:28017 socket exception [CONNECT_ERROR] for localhost.localdomain:28017 (127.0.0.1) failed
      localhost.localdomain:28018 socket exception [CONNECT_ERROR] for localhost.localdomain:28018 (127.0.0.1) failed
      localhost.localdomain:28019 socket exception [CONNECT_ERROR] for localhost.localdomain:28019 (127.0.0.1) failed
      2014-11-25T12:33:31.137-0500 warning: Failed to connect to 127.0.0.1:28017, reason: errno:111 Connection refused
      2014-11-25T12:33:31.137-0500 warning: Failed to connect to 127.0.0.1:28018, reason: errno:111 Connection refused
      2014-11-25T12:33:31.137-0500 warning: Failed to connect to 127.0.0.1:28017, reason: errno:111 Connection refused
      2014-11-25T12:33:31.137-0500 warning: Failed to connect to 127.0.0.1:28019, reason: errno:111 Connection refused

      while, on a completely shut down cluster, we produce:

      localhost.localdomain:28017 no reachable servers
      localhost.localdomain:28017 *0 *0 *0 *0 0 3|0 0 2.1g 4.9g 33.0m 0 .:0.0% 0 0|0 0|0 310b 6k 4 replset SEC 12:35:57
      localhost.localdomain:28017 *0 *0 *0 *0 0 3|0 0 2.1g 4.9g 33.0m 0 .:0.0% 0 0|0 0|0 310b 6k 4 replset SEC 12:35:57
      localhost.localdomain:28018 *0 *0 *0 *0 0 2|0 0 1.1g 2.9g 33.0m 0 local:0.0% 0 0|0 0|0 231b 3k 3 replset SEC 12:35:57
      localhost.localdomain:28019 *0 *0 *0 *0 0 3|0 0 1.1g 2.9g 33.0m 0 local:0.0% 0 0|0 0|0 383b 3k 7 replset PRI 12:35:57

            Assignee:
            Unassigned Unassigned
            Reporter:
            gabriel.russell@mongodb.com Gabriel Russell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: