|
The mongos logs show
2014-12-11T16:14:47.200-0500 [conn5] CMD: shardcollection: { shardCollection: "test0.Mixed_v3_FindOneUpdateIntId-50-500", key: { _id: 1.0 } }
|
2014-12-11T16:14:47.200-0500 [conn5] enable sharding on: test0.Mixed_v3_FindOneUpdateIntId-50-500 with shard key: { _id: 1.0 }
|
2014-12-11T16:14:47.200-0500 [conn5] about to log metadata event: { _id: "ip-10-93-7-29.ec2.internal-2014-12-11T21:14:47-548a0947b4af01bae0102ab8", server: "ip-10-93-7-29.ec2.internal", clientAddr: "N/A", time: new Date(1418332487200), what: "shardCollection.start", ns: "test0.Mixed_v3_FindOneUpdateIntId-50-500", details: { shardKey: { _id: 1.0 }, collection: "test0.Mixed_v3_FindOneUpdateIntId-50-500", primary: "shard0000:localhost:28001", initShards: [], numChunks: 1 } }
|
2014-12-11T16:14:47.202-0500 [conn5] going to create 1 chunk(s) for: test0.Mixed_v3_FindOneUpdateIntId-50-500 using new epoch 548a0947b4af01bae0102ab9
|
2014-12-11T16:14:47.206-0500 [conn5] ChunkManager: time to load chunks for test0.Mixed_v3_FindOneUpdateIntId-50-500: 0ms sequenceNumber: 5 version: 1|0||548a0947b4af01bae0102ab9 based on: (empty)
|
2014-12-11T16:14:47.210-0500 [conn5] about to log metadata event: { _id: "ip-10-93-7-29.ec2.internal-2014-12-11T21:14:47-548a0947b4af01bae0102aba", server: "ip-10-93-7-29.ec2.internal", clientAddr: "N/A", time: new Date(1418332487210), what: "shardCollection", ns: "test0.Mixed_v3_FindOneUpdateIntId-50-500", details: { version: "1|0||548a0947b4af01bae0102ab9" } }
|
2014-12-11T16:14:47.214-0500 [mongosMain] connection accepted from 127.0.0.1:42052 #9 (2 connections now open)
|
2014-12-11T16:14:47.214-0500 [mongosMain] connection accepted from 127.0.0.1:42053 #10 (3 connections now open)
|
2014-12-11T16:14:47.214-0500 [mongosMain] connection accepted from 127.0.0.1:42054 #11 (4 connections now open)
|
2014-12-11T16:14:47.214-0500 [conn9] end connection 127.0.0.1:42052 (2 connections now open)
|
2014-12-11T16:14:47.214-0500 [conn10] resetting shard version of test0.Mixed_v3_FindOneUpdateIntId-50-500 on localhost:28002, version is zero
|
2014-12-11T16:14:47.386-0500 [conn11] warning: splitChunk failed - cmd: { splitChunk: "test0.Mixed_v3_FindOneUpdateIntId-50-500", keyPattern: { _id: 1.0 }, min: { _id: MinKey }, max: { _id: MaxKey }, from: "shard0000", splitKeys: [ { _id: 0.0 } ], shardId: "test0.Mixed_v3_FindOneUpdateIntId-50-500-_id_MinKey", configdb: "localhost:30001,localhost:30002,localhost:30003" } result: { who: { _id: "test0.Mixed_v3_FindOneUpdateIntId-50-500", state: 1, who: "ip-10-93-7-29.ec2.internal:28001:1418332479:172689237:conn3:981637605", ts: ObjectId('548a0947dbe096c75c2baec1'), process: "ip-10-93-7-29.ec2.internal:28001:1418332479:172689237", when: new Date(1418332487215), why: "split-{ _id: MinKey }" }, ok: 0.0, errmsg: "the collection's metadata lock is taken" }
|
The last message above is repeated with the occasional
2014-12-11T16:14:47.398-0500 [conn11] warning: chunk manager reload forced for collection 'test0.Mixed_v3_FindOneUpdateIntId-50-500', config version is 1|0||548a0947b4af01bae0102ab9
|
Until the following is seen
2014-12-11T16:14:47.901-0500 [conn10] autosplitted test0.Mixed_v3_FindOneUpdateIntId-50-500 shard: ns: test0.Mixed_v3_FindOneUpdateIntId-50-500, shard: shard0000:localhost:28001, lastmod: 1|0||000000000000000000000000, min: { _id: MinKey }, max: { _id: MaxKey } on: { _id: 0.0 } (splitThreshold 921)
|
2014-12-11T16:14:51.963-0500 [Balancer] distributed lock 'balancer/ip-10-93-7-29.ec2.internal:27017:1418332434:1804289383' acquired, ts : 548a094bb4af01bae0102abb
|
2014-12-11T16:14:51.966-0500 [Balancer] ns: test0.Mixed_v3_FindOneUpdateIntId-50-500 going to move { _id: "test0.Mixed_v3_FindOneUpdateIntId-50-500-_id_MinKey", ns: "test0.Mixed_v3_FindOneUpdateIntId-50-500", min: { _id: MinKey }, max: { _id: 0.0 }, version: Timestamp 1000|1, versionEpoch: ObjectId('548a0947b4af01bae0102ab9'), lastmod: Timestamp 1000|1, lastmodEpoch: ObjectId('548a0947b4af01bae0102ab9'), shard: "shard0000" } from: shard0000 to: shard0001 tag []
|
2014-12-11T16:14:51.966-0500 [Balancer] moving chunk ns: test0.Mixed_v3_FindOneUpdateIntId-50-500 moving ( ns: test0.Mixed_v3_FindOneUpdateIntId-50-500, shard: shard0000:localhost:28001, lastmod: 1|1||000000000000000000000000, min: { _id: MinKey }, max: { _id: 0.0 }) shard0000:localhost:28001 -> shard0001:localhost:28002
|
|