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

mongostat doesn't handle the engine being switched out for different storage engine

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: 2.8.0-rc4
    • Component/s: mongostat
    • None

      (actually happened in rc5 but I didn't see it in the pull down).

      I have mongostat running, looking at WT and then I shut down WT and restart different (mmap) on the same port - mongostat apparently never wipes out some numbers as it keeps showing negative numbers for some incompatible fields.

      insert query update delete getmore command flushes vsize res qr|qw ar|aw netIn netOut conn time
      no reachable servers
      no reachable servers
      no reachable servers
      no reachable servers
      no reachable servers
      no reachable servers
      no reachable servers
          *0    *0     *0     *0       0 -1441|0      -5 0.2 KB 0.0 KB    oplog:0.0%   0|0   0|0 -19558917110b -7723565604b    1 12:28:01
          *0    *0     *0     *0       0     1|0       0 0.2 KB 0.0 KB Collection:0.0%   0|0   0|0   79b    15k    1 12:28:02
          *0    *0     *0     *0       0     1|0       0 0.2 KB 0.0 KB    oplog:0.0%   0|0   0|0   79b    15k    1 12:28:03
      insert query update delete getmore command flushes  vsize    res     locked db qr|qw ar|aw netIn netOut conn     time
          *0    *0     *0     *0       0     7|0       0 0.2 KB 0.0 KB Database:0.0%   0|0   0|0  455b    17k    1 12:28:04
          *0    *0     *0     *0       0     1|0       0 0.2 KB 0.0 KB Collection:0.0%   0|0   0|0   79b    15k    1 12:28:05
          *0    *0     *0     *0       0     8|0       1 0.3 KB 0.0 KB Collection:0.0%   0|0   0|0  505b    32k    1 12:28:06
          *0    *0     *0     *0       0     1|0       0 0.3 KB 0.0 KB   Global:0.0%   0|0   0|0   79b    15k    1 12:28:07
          *0    *0     *0     *0       0     1|0       0 0.3 KB 0.0 KB    oplog:0.0%   0|0   0|0   79b    15k    1 12:28:08
          *0    *0     *0     *0       0   -20|0      -1 0.2 KB 0.0 KB Database:0.0%   0|0   0|0 -1355b -129361b    1 12:28:11
          *0    *0     *0     *0       0     1|0       0 0.2 KB 0.0 KB    oplog:0.0%   0|0   0|0   79b    15k    1 12:28:12
          *0    *0     *0     *0       0     7|0       0 0.2 KB 0.0 KB    oplog:0.0%   0|0   0|0  455b    17k    1 12:28:13
          *0    *0     *0     *0       0     1|0       0 0.2 KB 0.0 KB Collection:0.0%   0|0   0|0   79b    15k    1 12:28:14
          *0    *0     *0     *0       0     1|0       0 0.2 KB 0.0 KB    oplog:0.0%   0|0   0|0   79b    15k    1 12:28:15
      

      The line with negative numbers for commands an network in/out repeat every 7 or 8 seconds for a few minutes.

      Not very important hence the P5 priority...

            Assignee:
            mikeo@mongodb.com Michael O'Brien
            Reporter:
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: