I checked changelog collection on config database.
It seems that step 4/7 is always very slow - about 60-120 seconds.
{
"_id" : "xxx-2017-12-05T10:44:22.600+0000-5a26788604de808362a33850",
"server" : "xxx",
"clientAddr" : "
10.8.15.158:56362",
"time" : ISODate("2017-12-05T10:44:22.600Z"),
"what" : "moveChunk.from",
"ns" : "xxx.xxx",
"details" : {
"min" : {
"xxx" : NumberLong("-803150660732027739")
},
"max" : {
"xxx" : NumberLong("-802622385751591360")
},
"step 1 of 7" : 0,
"step 2 of 7" : 23,
"step 3 of 7" : 172,
"step 4 of 7" : 69940,
"step 5 of 7" : 40,
"step 6 of 7" : 143,
"step 7 of 7" : 2,
"to" : "UE_RS_12",
"from" : "UE_RS_1",
"note" : "success"
}
}
How can it be so slow for a 64Mb chunk?
I don't think this is normal behaviour.
Maybe that's because we have hashed shard key?
пятница, 1 декабря 2017 г., 18:07:26 UTC+3 пользователь Weishan Ang написал: