I have setup my sharded cluster and i also set the secondaryThrottle:false for disabling majority of chunk migration.
My shard key is hashed id key and i have 3 shards.
There is a problem which i can't recognise and need your help. There is the single bottleneck which i can't find a solution.
When the chunk migration starts , the log stays same. Nothing cloned and this part is repeated very much. (cloned: 0, clonedBytes: 0, catchup: 0, steady: 0 )
And when we look at the changelog , step 4 time is very high.
Could you please help me on that subject?
I should enhance the migration speed for production environment.
Source Shard-Log
------------------------
Mon Dec 22 14:40:30.185 [conn11] moveChunk data transfer progress: { active: true, ns: "url_inventory.url_thisweek", from: "10.0.0.18:27018", min: { _id: MinKey }, max: { _id: -9024027566439478192 }, shardKeyPattern: { _id: "hashed" }, state: "clone", counts: { cloned: 0, clonedBytes: 0, catchup: 0, steady: 0 }, ok: 1.0 } my mem used: 0
Mon Dec 22 14:40:31.209 [conn11] moveChunk data transfer progress: { active: true, ns: "url_inventory.url_thisweek", from: "10.0.0.18:27018", min: { _id: MinKey }, max: { _id: -9024027566439478192 }, shardKeyPattern: { _id: "hashed" }, state: "clone", counts: { cloned: 0, clonedBytes: 0, catchup: 0, steady: 0 }, ok: 1.0 } my mem used: 0
Mon Dec 22 14:40:32.234 [conn11] moveChunk data transfer progress: { active: true, ns: "url_inventory.url_thisweek", from: "10.0.0.18:27018", min: { _id: MinKey }, max: { _id: -9024027566439478192 }, shardKeyPattern: { _id: "hashed" }, state: "clone", counts: { cloned: 0, clonedBytes: 0, catchup: 0, steady: 0 }, ok: 1.0 } my mem used: 0
Mon Dec 22 14:40:33.258 [conn11] moveChunk data transfer progress: { active: true, ns: "url_inventory.url_thisweek", from: "10.0.0.18:27018", min: { _id: MinKey }, max: { _id: -9024027566439478192 }, shardKeyPattern: { _id: "hashed" }, state: "clone", counts: { cloned: 0, clonedBytes: 0, catchup: 0, steady: 0 }, ok: 1.0 } my mem used: 0
Mon Dec 22 14:40:34.326 [conn11] moveChunk data transfer progress: { active: true, ns: "url_inventory.url_thisweek", from: "10.0.0.18:27018", min: { _id: MinKey }, max: { _id: -9024027566439478192 }, shardKeyPattern: { _id: "hashed" }, state: "clone", counts: { cloned: 0, clonedBytes: 0, catchup: 0, steady: 0 }, ok: 1.0 } my mem used: 0
Mon Dec 22 14:40:35.351 [conn11] moveChunk data transfer progress: { active: true, ns: "url_inventory.url_thisweek", from: "10.0.0.18:27018", min: { _id: MinKey }, max: { _id: -902402756
config.changelog
{ "_id" : "server11.adtrustmedia.com- 2014-12-22T19:29:53- 549871319a2154af6773245e", "server" : "server11.adtrustmedia.com", "clientAddr" : "10.0.0.18:34955", "time" : ISODate("2014-12-22T19:29:53. 043Z"), "what" : "moveChunk.start", "ns" : "url_inventory.url_thisweek", "details" : { "min" : { "_id" : { "$minKey" : 1 } }, "max" : { "_id" : NumberLong("- 9024027566439478192") }, "from" : "shard0000", "to" : "shard0001" } }
{ "_id" : "server11.adtrustmedia.com- 2014-12-22T19:29:53- 549871319a2154af6773245c", "server" : "server11.adtrustmedia.com", "clientAddr" : "10.0.0.18:34955", "time" : ISODate("2014-12-22T19:29:53. 040Z"), "what" : "moveChunk.from", "ns" : "url_inventory.url_thismonth", "details" : { "min" : { "_id" : NumberLong("- 9000668154952716951") }, "max" : { "_id" : NumberLong("- 8889005261593507417") }, "step1 of 6" : 0, "step2 of 6" : 4, "step3 of 6" : 1783, "step4 of 6" : 599022, "step5 of 6" : 3, "step6 of 6" : 0 } }
댓글 없음:
댓글 쓰기