Uploaded image for project: 'MongoDB ETL Tools'
  1. MongoDB ETL Tools
  2. TOOLS-588

Mongostat with discover can find the same node twice in a sharded cluster

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.8, 3.3.11
    • Component/s: mongostat
    • Labels:
      None
    • Backport Requested:
      v3.2

      Description

      Example Output

      mongostat --discover --all
                      insert query update delete getmore command flushes mapped  vsize    res faults idx miss % qr|qw ar|aw netIn netOut conn set repl     time
      localhost:27017     *0    *0     *0     *0       0     1|0       0        2.4 KB 0.0 KB      0          0   0|0   0|0   79b     6k    1      RTR 11:21:48
       
              Pixl.local:27018     *0    *0     *0     *0       0     3|0       0 0.5 KB 3.5 KB 0.1 KB     3.0 KB      0          0   0|0   0|0  299b    19k    5 shard01  SEC 11:21:49
              Pixl.local:27019     *0    *0     *0     *0       0     2|0       0 0.5 KB 3.5 KB 0.1 KB     3.0 KB      0          0   0|0   0|0  220b     9k    4 shard01  SEC 11:21:49
              Pixl.local:27020     *0    *0     *0     *0       0     3|0       0 0.5 KB 3.5 KB 0.1 KB     3.0 KB      0          0   0|0   0|0  361b    10k    5 shard01  PRI 11:21:49
              Pixl.local:27021     *0    *0     *0     *0       0     4|0       0 0.4 KB 3.3 KB 0.1 KB     2.9 KB      0          0   0|0   0|0  440b    19k    6 shard02  PRI 11:21:49
              Pixl.local:27022     *0    *0     *0     *0       0     3|0       0 0.4 KB 3.3 KB 0.1 KB     2.9 KB      0          0   0|0   0|0  361b    10k    4 shard02  SEC 11:21:49
              Pixl.local:27023     *0    *0     *0     *0       0     3|0       0 0.4 KB 3.3 KB 0.1 KB     2.9 KB      0          0   0|0   0|0  361b    10k    4 shard02  SEC 11:21:49
              Pixl.local:27024     *0    *0     *0     *0       0     2|0       0 0.4 KB 3.3 KB 0.1 KB     2.9 KB      0          0   0|0   0|0  158b    19k    6 shard03  PRI 11:21:49
              Pixl.local:27025     *0    *0     *0     *0       0     1|0       0 0.4 KB 3.3 KB 0.1 KB     2.9 KB      0          0   0|0   0|0   79b     9k    4 shard03  SEC 11:21:49
              Pixl.local:27026     *0    *0     *0     *0       0     1|0       0 0.4 KB 3.3 KB 0.1 KB     2.9 KB      0          0   0|0   0|0   79b     9k    4 shard03  SEC 11:21:49
               localhost:27017     *0     1     *0     *0       0     1|0       0        2.4 KB 0.0 KB                 0          0   0|0   0|0  126b     6k    1          RTR 11:21:49
      shard01/Pixl.local:27018     *0    *0     *0     *0       0     7|0       0 0.5 KB 3.5 KB 0.1 KB     3.0 KB      0          0   0|0   0|0  523b    20k    5 shard01  SEC 11:21:49
      shard02/Pixl.local:27021     *0    *0     *0     *0       0     8|0       0 0.4 KB 3.3 KB 0.1 KB     2.9 KB      0          0   0|0   0|0  664b    20k    6 shard02  PRI 11:21:49
      shard03/Pixl.local:27024     *0    *0     *0     *0       0     6|0       0 0.4 KB 3.3 KB 0.1 KB     2.9 KB      0          0   0|0   0|0  382b    20k    6 shard03  PRI 11:21:49
      

      Notice how we have entries for Pixl.local:27018 and shard01/Pixl.local:27018, this is the same member.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zach.snow Zach Snow
                Reporter:
                david.hows David Hows
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: