[SERVER-6041] Add to information contained in config.changelog collection about "moveChunk.to" Created: 08/Jun/12  Updated: 11/Apr/18  Resolved: 11/Apr/18

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 2.0.5
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Pavel Chertorogov Assignee: Kaloian Manassiev
Resolution: Done Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

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



 Comments   
Comment by Kaloian Manassiev [ 11/Apr/18 ]

The information you have requested is available in the moveChunk.commit entry in the config.changelog collection.

It contains the following fields:

  • cloned - The number of cloned documents (this excludes documents cloned during the catch-up phase)
  • clonedBytes - The number of bytes transferred across all cloned documents
Generated at Thu Feb 08 03:10:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.