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

Modify sh.status to include output from config.actionlog

      There have been several proposals to gather more data from the configdb for end users.

      This resulted in SERVER-8752 to capture data out of the balancer. We now need to add additional details into the sh.status() or other commands to make this data readily visible to end users

      Output is the following format:

        balancer:
      	Currently enabled:  yes
      	Currently running:  no
      		Balancer active window is set between 23:00 and 6:00 server local time
      	Collections with active migrations:
      		testdb.tags started at Thu May 29 2014 07:23:16 GMT+1000 (AEST)
      		bar.test started at Thu Jul 17 2014 16:05:43 GMT+1000 (AEST)
      	Failed balancer rounds in last 5 attempts:  0
      	Migration Results for the last 24 hours:
      		1 : Success
      		1 : Failed with error 'moveChunk failed to engage TO-shard in the data transfer: can't accept new chunks because  there are still 1 deletes from previous migration', from shard02 to shard01
      		1 : Failed with error 'migration already in progress', from shard01 to shard02
      

            Assignee:
            david.hows David Hows
            Reporter:
            david.hows David Hows
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: