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

mongostat --discover should wait one interval to allow discovered members to report stats

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Tools
    • None

      mongostat prints out the list of members before giving them a chance to report their stats. This is easy to fix by waiting one interval before printing out the members discovered.

      monkey101:(git)mongo/$ mongostat --discover  --port 30999
      connected to: 127.0.0.1:30999
      
                     	insert  query update delete getmore command  vsize    res faults  netIn netOut  conn repl       time
      localhost:30999	     0      1      0      0       0       1  2.35g     8m      0   109b   844b     3  RTR   15:47:29
      
      localhost:30000	no data
      localhost:30001	no data
      localhost:30999	     0      0      0      0       0       1  2.35g     8m      0    62b   708b     3  RTR   15:47:30
      

            Assignee:
            dan@mongodb.com Daniel Pasette (Inactive)
            Reporter:
            dan@mongodb.com Daniel Pasette (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: