mongodb 3.0,采用副本集+分片架构,分片集合块没有正常移动。
其中一个分片机器的日志始终打以下信息:
2015-05-06T14:25:35.888+0800 I SHARDING [conn283] moveChunk data transfer progress: { active: true, ns: “bill_ocs_100.MTC_100_ZH_201504”, from: “s3/132.121.91.169:23018,132.121.91.170:23017”, min: { I: MinKey }, max: { I: -8860600802632898886 }, shardKeyPattern: { I: “hashed” }, state: “clone”, counts: { cloned: 13, clonedBytes: 14969, catchup: 0, steady: 0 }, ok: 1.0, $gleStats: { lastOpTime: Timestamp 0|0, electionId: ObjectId(‘5549a132b0d9761c902e0e2b’) } } my mem used: 0
2015-05-06T14:25:36.912+0800 I SHARDING [conn283] moveChunk data transfer progress: { active: true, ns: “bill_ocs_100.MTC_100_ZH_201504”, from: “s3/132.121.91.169:23018,132.121.91.170:23017”, min: { I: MinKey }, max: { I: -8860600802632898886 }, shardKeyPattern: { I: “hashed” }, state: “clone”, counts: { cloned: 13, clonedBytes: 14969, catchup: 0, steady: 0 }, ok: 1.0, $gleStats: { lastOpTime: Timestamp 0|0, electionId: ObjectId(‘5549a132b0d9761c902e0e2b’) } } my mem used: 0
另一个分片机器的日志每隔一分钟会打如下日志:
2015-05-06T14:24:27.549+0800 I NETWORK [initandlisten] connection accepted from 132.121.91.170:39401 #340 (13 connections now open)
2015-05-06T14:24:33.998+0800 W SHARDING [migrateThread] secondaryThrottle on, but doc insert timed out; continuing
2015-05-06T14:24:48.119+0800 I NETWORK [conn336] end connection 127.0.0.1:46182 (12 connections now open)
2015-05-06T14:24:55.426+0800 I NETWORK [conn339] end connection 132.121.91.170:39397 (11 connections now open)
2015-05-06T14:24:55.426+0800 I NETWORK [initandlisten] connection accepted from 132.121.91.170:39417 #341 (12 connections now open)
2015-05-06T14:24:57.570+0800 I NETWORK [conn340] end connection 132.121.91.170:39401 (11 connections now open)
2015-05-06T14:24:57.571+0800 I NETWORK [initandlisten] connection accepted from 132.121.91.170:39421 #342 (12 connections now open)
2015-05-06T14:25:25.442+0800 I NETWORK [conn341] end connection 132.121.91.170:39417 (11 connections now open)
2015-05-06T14:25:25.442+0800 I NETWORK [initandlisten] connection accepted from 132.121.91.170:39436 #343 (12 connections now open)
2015-05-06T14:25:27.587+0800 I NETWORK [conn342] end connection 132.121.91.170:39421 (11 connections now open)
2015-05-06T14:25:27.587+0800 I NETWORK [initandlisten] connection accepted from 132.121.91.170:39440 #344 (12 connections now open)
2015-05-06T14:25:34.000+0800 W SHARDING [migrateThread] secondaryThrottle on, but doc insert timed out; continuing
2015-05-06T14:25:55.459+0800 I NETWORK [conn343] end connection 132.121.91.170:39436 (11 connections now open)
2015-05-06T14:25:55.459+0800 I NETWORK [initandlisten] connection accepted from 132.121.91.170:39456 #345 (12 connections now open)
2015-05-06T14:25:57.605+0800 I NETWORK [conn344] end connection 132.121.91.170:39440 (11 connections now open)
2015-05-06T14:25:57.606+0800 I NETWORK [initandlisten] connection accepted from 132.121.91.170:39461 #346 (12 connections now open)
2015-05-06T14:26:25.480+0800 I NETWORK [conn345] end connection 132.121.91.170:39456 (11 connections now open)
2015-05-06T14:26:25.480+0800 I NETWORK [initandlisten] connection accepted from 132.121.91.170:39476 #347 (12 connections now open)
2015-05-06T14:26:27.625+0800 I NETWORK [conn346] end connection 132.121.91.170:39461 (11 connections now open)
2015-05-06T14:26:27.625+0800 I NETWORK [initandlisten] connection accepted from 132.121.91.170:39480 #348 (12 connections now open)
2015-05-06T14:26:34.001+0800 W SHARDING [migrateThread] secondaryThrottle on, but doc insert timed out; continuing
2015-05-06T14:26:55.498+0800 I NETWORK [conn347] end connection 132.121.91.170:39476 (11 connections now open)
mongodb 分片集合,块未正常移动