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

Add to information contained in config.changelog collection about "moveChunk.to"

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.0.5
    • Component/s: Sharding
    • Labels:

      Via config.changelog collection we can obtain information about work of balancer.
      This information stores in docs with field "what" equals to "moveChunk.to"

      {
      "_id" : "zero-rep-02.neolabs.net-2012-06-08T07:28:41-182" ,
      "server" : "zero-rep-02.neolabs.net" ,
      "clientAddr" : "" ,
      "time" :

      { "$date" : "2012-06-08T07:28:41.406Z"}

      ,
      "what" : "moveChunk.to" ,
      "ns" : "zero.views_raw" ,
      "details" : {
      "min" :

      { "sd" : 15487 , "sh" : 6 , "sr" : 0}

      ,
      "max" :

      { "sd" : 15487 , "sh" : 6 , "sr" : 213}

      ,
      "step1" : 52 ,
      "step2" : 72 ,
      "step3" : 96517 ,
      "step4" : 8 ,
      "step5" : 836
      }
      }

      Please add information about

      • source shard and destanation shard
      • size of transferred data
      • duration of operation

      And can you give info what information stores in fields step1 till step5.

      Thanx

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            nodkz Pavel Chertorogov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: