Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-9508

Shards not discovered by mongostat in 2.4.3

    • Type: Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Priority: Icon: Critical - P2 Critical - P2
    • None
    • Affects Version/s: 2.4.3
    • Component/s: Diagnostics
    • Environment:
      CentOS 6.3
    • Linux

      Hello,

      Since upgrading to 2.4.3, shards are no longer discovered when using mongostat. Example:

      How it looks now with Mongo 2.4.3 and mongostat 2.4.3

      [ec2-user@mng2ld ~]$ mongostat --host machine_name --discover --all --vvvvv
      
                      insert  query update delete getmore command mapped  vsize    res non-mapped faults locked % idx miss %  netIn netOut  conn       time
      
      rsgxxxvcs1ld         0      0      0      0       0       1     0m    70m    14m        70m      0        0          0    62b   786b     3   00:14:59
      
       
      
      rsgxxxvcs1ld         0      0      0      0       0       1     0m    70m    14m        70m      0        0          0    62b   786b     3   00:15:00
      
       
      
      rsgxxxvcs1ld         0      0      0      0       0       1     0m    70m    14m        70m      0        0          0    62b   786b     3   00:15:01
      
       
      
      rsgxxxvcs1ld         0      0      0      0       0       1     0m    70m    14m        70m      0        0          0    62b   786b     3   00:15:02
      
       
      
      rsgxxxvcs1ld         0      0      0      0       0       1     0m    70m    14m        70m      0        0          0    62b   786b     3   00:15:03
      
      

      [ec2-user@mng2ld ~]$ mongostat --version

      mongostat version 2.4.3

      How it’s supposed to look (this is with Mongo 2.2.0)

      -sh-4.1$ mongostat --version
      
      mongostat version 2.2.0
      
                                                               insert  query update delete getmore command flushes mapped  vsize    res faults            locked db idx miss %   
      
      mng1dv.taketwo.online:27017            0    181     26      0      37       5       0  6.04g  18.2g  3.32g      0    presence_dev:0.2%          0       0|0     0|0    29k    35k   302 rsgxxxset1  PRI   20:17:44
      
      rmng2dv.taketwo.online:27017           *0     *0    *25     *0       0     2|0       0  10.8g  22.8g  2.57g      0    presence_dev:0.7%          0       0|0     0|0   226b     3k   174 rsgxxxset1  SEC   20:17:44
      
      mng3dv.taketwo.online:27017            0      2      2      0       3       5       0  7.29g  15.7g  2.71g      0       cloud_dev:0.2%          0       0|0     0|0     8k    16k   296 rsgxxxset2  PRI   20:17:44
      
      mng4dv.taketwo.online:27017           *0     *0     *1     *0       0     3|0       0  7.54g    16g  2.27g      0               .:0.1%          0       0|0     0|0   387b     4k   174 rsgxxxset2  SEC   20:17:44
      
                           rsgxxx6dv            0     32     14      0       0       5                  301m   186m      5                                                       5k     3k    48             RTR&a mp;a mp;n bsp;  20:17:44
      

            Assignee:
            randolph@mongodb.com Randolph Tan
            Reporter:
            dan.cooper@take2games.com Dan Cooper
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: