scons: Reading SConscript files ... scons version: 1.2.0 python version: 2 5 4 'final' 0 Checking whether the C++ compiler works(cached) yes error: no result Checking for C library stdc++... (cached) yes Checking for C++ header file pcrecpp.h... (cached) yes Checking for C++ header file boost/filesystem/operations.hpp... (cached) yes Checking for C library boost_system-mt... (cached) yes Checking for C library boost_thread-mt... (cached) yes Checking for C library boost_filesystem-mt... (cached) yes Checking for C library boost_program_options-mt... (cached) yes Checking for C++ header file execinfo.h... (cached) no Checking for C library pcrecpp... (cached) yes Checking for C library pcre... (cached) yes Checking for C library pcap... (cached) yes Checking for C library mozjs... (cached) no Checking for C library js... (cached) yes Checking for C header file js/jsapi.h... (cached) no Checking for C header file jsapi.h... (cached) yes Checking whether the C++ compiler works(cached) yes error: no result Checking for C++ header file boost/filesystem/operations.hpp... (cached) yes Checking for C library boost_system-mt... (cached) yes Checking for C library boost_thread-mt... (cached) yes Checking for C library boost_filesystem-mt... (cached) yes Checking for C library boost_program_options-mt... (cached) yes Checking for C++ header file execinfo.h... (cached) no Checking for C library pcap... (cached) yes Checking for C library mozjs... (cached) no Checking for C library js... (cached) yes Checking for C header file js/jsapi.h... (cached) no Checking for C header file jsapi.h... (cached) yes scons: done reading SConscript files. scons: Building targets ... python buildscripts/smoke.py mongosTest cwd [/Users/10gen/work/buildslaves/mongo/OS_X_104_32bit/mongo] num procs:54 removing: /data/db/sconsTests//admin.0 removing: /data/db/sconsTests//admin.1 removing: /data/db/sconsTests//admin.ns removing: /data/db/sconsTests//copydb-test-a.0 removing: /data/db/sconsTests//copydb-test-a.1 removing: /data/db/sconsTests//copydb-test-a.ns removing: /data/db/sconsTests//copydb-test-b.0 removing: /data/db/sconsTests//copydb-test-b.1 removing: /data/db/sconsTests//copydb-test-b.ns removing: /data/db/sconsTests//copydb2-test-a.0 removing: /data/db/sconsTests//copydb2-test-a.1 removing: /data/db/sconsTests//copydb2-test-a.ns removing: /data/db/sconsTests//copydb2-test-b.0 removing: /data/db/sconsTests//copydb2-test-b.1 removing: /data/db/sconsTests//copydb2-test-b.ns removing: /data/db/sconsTests//dbhasha.0 removing: /data/db/sconsTests//dbhasha.1 removing: /data/db/sconsTests//dbhasha.ns removing: /data/db/sconsTests//dbhashb.0 removing: /data/db/sconsTests//dbhashb.1 removing: /data/db/sconsTests//dbhashb.ns removing: /data/db/sconsTests//mongod.lock removing: /data/db/sconsTests//test.0 removing: /data/db/sconsTests//test.1 removing: /data/db/sconsTests//test.2 removing: /data/db/sconsTests//test.3 removing: /data/db/sconsTests//test.ns Tue Jul 6 20:27:26 MongoDB starting : pid=29436 port=32000 dbpath=/data/db/sconsTests/ 32-bit ** NOTE: This is a development version (1.5.5-pre-) of MongoDB. ** Not recommended for production. ** NOTE: when using MongoDB 32 bit, you are limited to about 2 gigabytes of data ** see http://blog.mongodb.org/post/137788967/32-bit-limitations Tue Jul 6 20:27:26 db version v1.5.5-pre-, pdfile version 4.5 Tue Jul 6 20:27:26 git version: 47170341084f47c9398f1002e0585cd10db9c7a2 Tue Jul 6 20:27:26 sys info: Darwin duane.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 BOOST_LIB_VERSION=1_39 [initandlisten] Tue Jul 6 20:27:26 waiting for connections on port 32000 [websvr] Tue Jul 6 20:27:26 web admin interface listening on port 33000 [initandlisten] Tue Jul 6 20:27:27 connection accepted from 127.0.0.1:54072 #1 [conn1] Tue Jul 6 20:27:27 end connection 127.0.0.1:54072 Tue Jul 6 20:27:27 DBConfig unserialize: abc { _id: "abc", partitioned: true, primary: "myserver" } Tue Jul 6 20:27:27 DBConfig unserialize: abc { _id: "abc", partitioned: true, primary: "myserver", sharded: { abc.foo: { key: { a: 1 }, unique: false }, abc.bar: { key: { kb: -1 }, unique: true } } } Tue Jul 6 20:27:27 shardObjTest passed Tue Jul 6 20:27:27 shardKeyTest passed Tue Jul 6 20:27:27 min: shard1 0 Tue Jul 6 20:27:27 max: shard0 2 Tue Jul 6 20:27:27 draining: 0(0) Tue Jul 6 20:27:27 balancer: chose [shard0] to [shard1] { min: { x: { $minKey: 1 } }, max: { x: 49 } } Tue Jul 6 20:27:27 min: shard1 1 Tue Jul 6 20:27:27 max: shard0 1 Tue Jul 6 20:27:27 draining: 1(1) Tue Jul 6 20:27:27 balancer: chose [shard0] to [shard1] { min: { x: { $minKey: 1 } }, max: { x: 49 } } Tue Jul 6 20:27:27 balancer: no availalable shards to take chunks Tue Jul 6 20:27:27 policyObjUnitTest passed tests passed [initandlisten] Tue Jul 6 20:27:27 connection accepted from 127.0.0.1:54073 #2 [conn2] Tue Jul 6 20:27:28 end connection 127.0.0.1:54073 [initandlisten] Tue Jul 6 20:27:28 connection accepted from 127.0.0.1:54074 #3 Tue Jul 6 20:27:28 ****ok. response.data:1 time:0.188ms len: 5 data: i am fine - dbMsg deprecated [conn3] Tue Jul 6 20:27:29 end connection 127.0.0.1:54074 Tue Jul 6 20:27:29 got kill or ctrl c signal 15 (Terminated), will terminate after current cmd ends [interruptThread] Tue Jul 6 20:27:29 now exiting Tue Jul 6 20:27:29 dbexit: [interruptThread] Tue Jul 6 20:27:29 shutdown: going to close listening sockets... [interruptThread] Tue Jul 6 20:27:29 going to close listening socket: 6 [interruptThread] Tue Jul 6 20:27:29 going to close listening socket: 8 [interruptThread] Tue Jul 6 20:27:29 going to close listening socket: 9 [interruptThread] Tue Jul 6 20:27:29 going to close listening socket: 10 [interruptThread] Tue Jul 6 20:27:29 shutdown: going to flush oplog... [interruptThread] Tue Jul 6 20:27:29 shutdown: going to close sockets... [interruptThread] Tue Jul 6 20:27:29 shutdown: waiting for fs preallocator... [interruptThread] Tue Jul 6 20:27:29 shutdown: closing all files... Tue Jul 6 20:27:29 closeAllFiles() finished [interruptThread] Tue Jul 6 20:27:29 shutdown: removing fs lock... Tue Jul 6 20:27:29 dbexit: really exiting now running ./mongod --port 32000 --dbpath /data/db/sconsTests/ ******************************************* Test : mongos ... 68.6740875244ms 1 test succeeded python buildscripts/smoke.py smokeSharding cwd [/Users/10gen/work/buildslaves/mongo/OS_X_104_32bit/mongo] num procs:54 removing: /data/db/sconsTests//mongod.lock Tue Jul 6 20:27:40 MongoDB starting : pid=29443 port=32000 dbpath=/data/db/sconsTests/ 32-bit ** NOTE: This is a development version (1.5.5-pre-) of MongoDB. ** Not recommended for production. ** NOTE: when using MongoDB 32 bit, you are limited to about 2 gigabytes of data ** see http://blog.mongodb.org/post/137788967/32-bit-limitations Tue Jul 6 20:27:40 db version v1.5.5-pre-, pdfile version 4.5 Tue Jul 6 20:27:40 git version: 47170341084f47c9398f1002e0585cd10db9c7a2 Tue Jul 6 20:27:40 sys info: Darwin duane.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 BOOST_LIB_VERSION=1_39 [initandlisten] Tue Jul 6 20:27:40 waiting for connections on port 32000 [websvr] Tue Jul 6 20:27:40 web admin interface listening on port 33000 [initandlisten] Tue Jul 6 20:27:41 connection accepted from 127.0.0.1:54075 #1 [conn1] Tue Jul 6 20:27:41 end connection 127.0.0.1:54075 MongoDB shell version: 1.5.5-pre- shell: started program /Users/10gen/work/buildslaves/mongo/OS_X_104_32bit/mongo/mongod --port 30000 --dbpath /data/db/auto10 --noprealloc --smallfiles --oplogSize 2 --nohttpinterface m30000| Tue Jul 6 20:27:41 MongoDB starting : pid=29445 port=30000 dbpath=/data/db/auto10 32-bit m30000| m30000| ** NOTE: This is a development version (1.5.5-pre-) of MongoDB. m30000| ** Not recommended for production. m30000| m30000| ** NOTE: when using MongoDB 32 bit, you are limited to about 2 gigabytes of data m30000| ** see http://blog.mongodb.org/post/137788967/32-bit-limitations m30000| m30000| Tue Jul 6 20:27:41 db version v1.5.5-pre-, pdfile version 4.5 m30000| Tue Jul 6 20:27:41 git version: 47170341084f47c9398f1002e0585cd10db9c7a2 m30000| Tue Jul 6 20:27:41 sys info: Darwin duane.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 BOOST_LIB_VERSION=1_39 m30000| [initandlisten] Tue Jul 6 20:27:41 waiting for connections on port 30000 m30000| [initandlisten] Tue Jul 6 20:27:41 connection accepted from 127.0.0.1:54077 #1 shell: started program /Users/10gen/work/buildslaves/mongo/OS_X_104_32bit/mongo/mongod --port 30001 --dbpath /data/db/auto11 --noprealloc --smallfiles --oplogSize 2 --nohttpinterface m30001| Tue Jul 6 20:27:41 MongoDB starting : pid=29446 port=30001 dbpath=/data/db/auto11 32-bit m30001| m30001| ** NOTE: This is a development version (1.5.5-pre-) of MongoDB. m30001| ** Not recommended for production. m30001| m30001| ** NOTE: when using MongoDB 32 bit, you are limited to about 2 gigabytes of data m30001| ** see http://blog.mongodb.org/post/137788967/32-bit-limitations m30001| m30001| Tue Jul 6 20:27:41 db version v1.5.5-pre-, pdfile version 4.5 m30001| Tue Jul 6 20:27:41 git version: 47170341084f47c9398f1002e0585cd10db9c7a2 m30001| Tue Jul 6 20:27:41 sys info: Darwin duane.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 BOOST_LIB_VERSION=1_39 m30001| [initandlisten] Tue Jul 6 20:27:41 waiting for connections on port 30001 m30001| [initandlisten] Tue Jul 6 20:27:41 connection accepted from 127.0.0.1:54079 #1 shell: started program /Users/10gen/work/buildslaves/mongo/OS_X_104_32bit/mongo/mongos --port 31000 -v --configdb localhost:30000 m30000| Tue Jul 6 20:27:41 allocating new datafile /data/db/auto10/config.ns, filling with zeroes... m31000| Tue Jul 6 20:27:41 /Users/10gen/work/buildslaves/mongo/OS_X_104_32bit/mongo/mongos db version v1.5.5-pre-, pdfile version 4.5 starting (--help for usage) m31000| Tue Jul 6 20:27:41 git version: 47170341084f47c9398f1002e0585cd10db9c7a2 m31000| Tue Jul 6 20:27:41 sys info: Darwin duane.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 BOOST_LIB_VERSION=1_39 m31000| Tue Jul 6 20:27:41 config string : localhost:30000 m30000| [initandlisten] Tue Jul 6 20:27:41 connection accepted from 127.0.0.1:54081 #2 m30000| Tue Jul 6 20:27:41 done allocating datafile /data/db/auto10/config.ns, size: 16MB, took 0.035 secs m30000| Tue Jul 6 20:27:41 allocating new datafile /data/db/auto10/config.0, filling with zeroes... m30000| Tue Jul 6 20:27:41 done allocating datafile /data/db/auto10/config.0, size: 16MB, took 0.023 secs m30000| [conn1] Tue Jul 6 20:27:41 building new index on { _id: 1 } for config.settings m30000| [conn1] Tue Jul 6 20:27:41 Buildindex config.settings idxNo:0 { name: "_id_", ns: "config.settings", key: { _id: 1 } } m30000| [conn1] Tue Jul 6 20:27:41 done for 0 records 0.001secs m30000| [conn2] Tue Jul 6 20:27:41 building new index on { _id: 1 } for config.version m30000| [conn2] Tue Jul 6 20:27:41 Buildindex config.version idxNo:0 { name: "_id_", ns: "config.version", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:27:41 done for 0 records 0secs m31000| Tue Jul 6 20:27:41 MaxChunkSize: value: 50.0 m30000| [conn2] Tue Jul 6 20:27:41 building new index on { _id: 1 } for config.chunks m30000| [conn2] Tue Jul 6 20:27:41 Buildindex config.chunks idxNo:0 { name: "_id_", ns: "config.chunks", key: { _id: 1 } } m31000| [Balancer] Tue Jul 6 20:27:41 balancer myid: duane.local:31000 m30000| [conn2] Tue Jul 6 20:27:41 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:27:41 info: creating collection config.chunks on add index m30000| building new index on { ns: 1, min: 1 } for config.chunks m30000| [conn2] Tue Jul 6 20:27:41 Buildindex config.chunks idxNo:1 { ns: "config.chunks", key: { ns: 1, min: 1 }, name: "ns_1_min_1", unique: true } m30000| [conn2] Tue Jul 6 20:27:41 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:27:41 building new index on { ns: 1, shard: 1, min: 1 } for config.chunks m30000| [conn2] Tue Jul 6 20:27:41 Buildindex config.chunks idxNo:2 { ns: "config.chunks", key: { ns: 1, shard: 1, min: 1 }, name: "ns_1_shard_1_min_1", unique: true } m30000| [conn2] Tue Jul 6 20:27:41 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:27:41 building new index on { ns: 1, lastmod: 1 } for config.chunks m30000| [conn2] Tue Jul 6 20:27:41 Buildindex config.chunks idxNo:3 { ns: "config.chunks", key: { ns: 1, lastmod: 1 }, name: "ns_1_lastmod_1", unique: true } m31000| Tue Jul 6 20:27:41 waiting for connections on port 31000 m31000| Tue Jul 6 20:27:41 fd limit hard:9223372036854775807 soft:256 max conn: 204 m30000| [conn2] Tue Jul 6 20:27:41 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:27:41 building new index on { _id: 1 } for config.shards m30000| [conn2] Tue Jul 6 20:27:41 Buildindex config.shards idxNo:0 { name: "_id_", ns: "config.shards", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:27:41 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:27:41 info: creating collection config.shards on add index m30000| building new index on { host: 1 } for config.shards m30000| [conn2] Tue Jul 6 20:27:41 Buildindex config.shards idxNo:1 { ns: "config.shards", key: { host: 1 }, name: "host_1", unique: true } m30000| [conn2] Tue Jul 6 20:27:41 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:27:41 building new index on { _id: 1 } for config.mongos m30000| [conn2] Tue Jul 6 20:27:41 Buildindex config.mongos idxNo:0 { name: "_id_", ns: "config.mongos", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:27:41 done for 0 records 0secs m31000| Tue Jul 6 20:27:42 connection accepted from 127.0.0.1:54082 #1 m31000| [conn1] Tue Jul 6 20:27:42 couldn't find database [admin] in config db m31000| [conn1] Tue Jul 6 20:27:42 put [admin] on: config:localhost:30000 m30000| [conn2] Tue Jul 6 20:27:42 building new index on { _id: 1 } for config.databases m30000| [conn2] Tue Jul 6 20:27:42 Buildindex config.databases idxNo:0 { name: "_id_", ns: "config.databases", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:27:42 done for 0 records 0secs m30000| [initandlisten] Tue Jul 6 20:27:42 connection accepted from 127.0.0.1:54083 #3 m31000| [conn1] Tue Jul 6 20:27:42 going to add shard: { _id: "shard0", host: "localhost:30000" } m30001| [initandlisten] Tue Jul 6 20:27:42 connection accepted from 127.0.0.1:54084 #2 m31000| [conn1] Tue Jul 6 20:27:42 going to add shard: { _id: "shard1", host: "localhost:30001" } m31000| [conn1] Tue Jul 6 20:27:42 couldn't find database [test] in config db m31000| [conn1] Tue Jul 6 20:27:42 picking shard: shard: shard1:localhost:30001 mapped: 0 writeLock: 0 m31000| [conn1] Tue Jul 6 20:27:42 put [test] on: shard1:localhost:30001 m31000| [conn1] Tue Jul 6 20:27:42 enabling sharding on: test m31000| [conn1] Tue Jul 6 20:27:42 CMD: shardcollection: { shardcollection: "test.foo", key: { num: 1.0 } } m31000| [conn1] Tue Jul 6 20:27:42 enable sharding on: test.foo with shard key: { num: 1.0 } m31000| [conn1] Tue Jul 6 20:27:42 no chunks for:test.foo so creating first: shard ns:test.foo shard: shard1:localhost:30001 lastmod: 1|0 min: { num: MinKey } max: { num: MaxKey } m30001| Tue Jul 6 20:27:42 allocating new datafile /data/db/auto11/test.ns, filling with zeroes... m31000| creating WriteBackListener for: localhost:30001 m31000| [conn1] Tue Jul 6 20:27:42 setShardVersion shard1 localhost:30001 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 1000|0, serverID: ObjectId('4c33c9fdd714f7141d0d46b6'), shard: "shard1", shardHost: "localhost:30001" } 0x606a70 m30001| [initandlisten] Tue Jul 6 20:27:42 connection accepted from 127.0.0.1:54085 #3 m30001| Tue Jul 6 20:27:42 done allocating datafile /data/db/auto11/test.ns, size: 16MB, took 0.026 secs m30001| Tue Jul 6 20:27:42 allocating new datafile /data/db/auto11/test.0, filling with zeroes... m30001| Tue Jul 6 20:27:42 done allocating datafile /data/db/auto11/test.0, size: 16MB, took 0.021 secs m30001| [conn2] Tue Jul 6 20:27:42 building new index on { _id: 1 } for test.foo m30001| [conn2] Tue Jul 6 20:27:42 Buildindex test.foo idxNo:0 { name: "_id_", ns: "test.foo", key: { _id: 1 } } m30001| [conn2] Tue Jul 6 20:27:42 done for 0 records 0.001secs m30001| [conn2] Tue Jul 6 20:27:42 info: creating collection test.foo on add index m30001| building new index on { num: 1.0 } for test.foo m30001| [conn2] Tue Jul 6 20:27:42 Buildindex test.foo idxNo:1 { ns: "test.foo", key: { num: 1.0 }, name: "num_1" } m30001| [conn2] Tue Jul 6 20:27:42 done for 0 records 0secs m31000| [conn1] Tue Jul 6 20:27:42 setShardVersion failed! m31000| { need_authoritative: true, errmsg: "first setShardVersion", ok: 0.0 } m31000| [conn1] Tue Jul 6 20:27:42 reloading shard info for: test.foo m31000| [conn1] Tue Jul 6 20:27:42 setShardVersion shard1 localhost:30001 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 1000|0, serverID: ObjectId('4c33c9fdd714f7141d0d46b6'), authoritative: true, shard: "shard1", shardHost: "localhost:30001" } 0x606a70 m31000| [conn1] Tue Jul 6 20:27:42 setShardVersion success! m31000| [conn1] Tue Jul 6 20:27:42 retrying insert because of StaleConfigException: { _id: ObjectId('4c33c9fe1c5bdd156e13a2f2'), num: 0.0, s: "asocsancdnsjfnsdnfsjdhfasdfasdfasdfnsadofnsadlkfnsaldknfsadasocsancdns..." } m30001| Tue Jul 6 20:27:42 allocating new datafile /data/db/auto11/test.1, filling with zeroes... m30001| Tue Jul 6 20:27:42 done allocating datafile /data/db/auto11/test.1, size: 32MB, took 0.046 secs m31000| [conn1] Tue Jul 6 20:27:42 splitIfShould : 0x607de0 m30000| [initandlisten] Tue Jul 6 20:27:42 connection accepted from 127.0.0.1:54086 #4 m30001| [initandlisten] Tue Jul 6 20:27:42 connection accepted from 127.0.0.1:54087 #4 m31000| [conn1] Tue Jul 6 20:27:42 splitIfShould : 0x607de0 m31000| creating WriteBackListener for: localhost:30000 datasize: { "size" : 25628000, "numObjects" : 500, "millis" : 0, "ok" : 1 } m31000| [conn1] Tue Jul 6 20:27:43 splitIfShould : 0x607de0 m30001| Tue Jul 6 20:27:43 allocating new datafile /data/db/auto11/test.2, filling with zeroes... m30001| Tue Jul 6 20:27:43 done allocating datafile /data/db/auto11/test.2, size: 64MB, took 0.091 secs m31000| [conn1] Tue Jul 6 20:27:43 splitIfShould : 0x607de0 m31000| [conn1] Tue Jul 6 20:27:43 splitIfShould : 0x607de0 m31000| [conn1] Tue Jul 6 20:27:43 autosplitting test.foo size: 47411800 shard: shard ns:test.foo shard: shard1:localhost:30001 lastmod: 1|0 min: { num: MinKey } max: { num: MaxKey } m30000| [initandlisten] Tue Jul 6 20:27:43 connection accepted from 127.0.0.1:54088 #5 m30000| [conn5] Tue Jul 6 20:27:43 building new index on { _id: 1 } for config.locks m30000| [conn5] Tue Jul 6 20:27:43 Buildindex config.locks idxNo:0 { name: "_id_", ns: "config.locks", key: { _id: 1 } } m30000| [conn5] Tue Jul 6 20:27:43 done for 0 records 0secs m31000| [conn1] Tue Jul 6 20:27:43 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.foo", state: 1, when: new Date(1278462463979), who: "duane.local:1278462463:16807", why: "split-shard ns:test.foo shard: shard1:localhost:30001 lastmod: 1|0 mi..." } m31000| [conn1] Tue Jul 6 20:27:43 before split on 1 points m31000| self : shard ns:test.foo shard: shard1:localhost:30001 lastmod: 1|0 min: { num: MinKey } max: { num: MaxKey } m31000| [conn1] Tue Jul 6 20:27:43 after split: m31000| shard ns:test.foo shard: shard1:localhost:30001 lastmod: 1|0 min: { num: MinKey } max: { num: 0.0 } m31000| [conn1] Tue Jul 6 20:27:43 new chunkshard ns:test.foo shard: shard1:localhost:30001 lastmod: 0|0 min: { num: 0.0 } max: { num: MaxKey } m31000| [conn1] Tue Jul 6 20:27:43 { _id: "duane.local-2010-6-7-0-27-0", server: "duane.local", time: new Date(1278462463984), what: "split", ns: "test.foo", details: { before: { min: { num: MinKey }, max: { num: MaxKey } }, left: { min: { num: MinKey }, max: { num: 0.0 } }, right: { min: { num: 0.0 }, max: { num: MaxKey } } } } m31000| [conn1] Tue Jul 6 20:27:43 dist_lock unlock: { _id: "test.foo", state: 0, when: new Date(1278462463979), who: "duane.local:1278462463:16807", why: "split-shard ns:test.foo shard: shard1:localhost:30001 lastmod: 1|0 mi..." } m31000| [conn1] Tue Jul 6 20:27:43 setShardVersion shard1 localhost:30001 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 2000|1, serverID: ObjectId('4c33c9fdd714f7141d0d46b6'), shard: "shard1", shardHost: "localhost:30001" } 0x606a70 m31000| [conn1] Tue Jul 6 20:27:43 setShardVersion success! m31000| [conn1] Tue Jul 6 20:27:43 picking shard: shard: shard0:localhost:30000 mapped: 32 writeLock: 0 m31000| [conn1] Tue Jul 6 20:27:43 moving chunk (auto): shard ns:test.foo shard: shard1:localhost:30001 lastmod: 2|0 min: { num: MinKey } max: { num: 0.0 } to: shard0:localhost:30000 #objects: 0 m31000| [conn1] Tue Jul 6 20:27:43 moving chunk ns: test.foo moving ( shard ns:test.foo shard: shard1:localhost:30001 lastmod: 2|0 min: { num: MinKey } max: { num: 0.0 }) shard1:localhost:30001 -> shard0:localhost:30000 m30001| [conn4] Tue Jul 6 20:27:43 got movechunk: { moveChunk: "test.foo", from: "localhost:30001", to: "localhost:30000", filter: { num: { $gte: MinKey, $lt: 0.0 } }, shardId: "test.foo-num_MinKey", configdb: "localhost:30000" } m30001| [conn4] Tue Jul 6 20:27:43 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.foo", state: 1, when: new Date(1278462463991), who: "duane.local:1278462463:688095704", why: "migrate-{ num: { $gte: MinKey, $lt: 0.0 } }" } m30000| [conn4] Tue Jul 6 20:27:43 startCloneCollection. db:admin collection:test.foo from: localhost:30001 query: { num: { $gte: MinKey, $lt: 0.0 } } m30001| [initandlisten] Tue Jul 6 20:27:43 connection accepted from 127.0.0.1:54089 #5 m30001| Tue Jul 6 20:27:43 allocating new datafile /data/db/auto11/local.ns, filling with zeroes... m30001| Tue Jul 6 20:27:44 done allocating datafile /data/db/auto11/local.ns, size: 16MB, took 0.024 secs m30001| Tue Jul 6 20:27:44 allocating new datafile /data/db/auto11/local.0, filling with zeroes... m30001| Tue Jul 6 20:27:44 done allocating datafile /data/db/auto11/local.0, size: 16MB, took 0.021 secs m30001| Tue Jul 6 20:27:44 allocating new datafile /data/db/auto11/local.1, filling with zeroes... m30001| Tue Jul 6 20:27:50 done allocating datafile /data/db/auto11/local.1, size: 512MB, took 6.871 secs m30001| [conn5] Tue Jul 6 20:27:50 started logCollection with cmd obj: { logCollection: "test.foo", start: 1 } m30001| [conn5] Tue Jul 6 20:27:50 query test.$cmd ntoreturn:1 command: { logCollection: "test.foo", start: 1 } reslen:53 6936ms m30000| Tue Jul 6 20:27:50 allocating new datafile /data/db/auto10/test.ns, filling with zeroes... m30000| Tue Jul 6 20:27:50 done allocating datafile /data/db/auto10/test.ns, size: 16MB, took 0.023 secs m30000| Tue Jul 6 20:27:50 allocating new datafile /data/db/auto10/test.0, filling with zeroes... m30000| Tue Jul 6 20:27:50 done allocating datafile /data/db/auto10/test.0, size: 16MB, took 0.022 secs m30000| [conn4] Tue Jul 6 20:27:50 building new index on { _id: 1 } for test.foo m30000| [conn4] Tue Jul 6 20:27:50 Buildindex test.foo idxNo:0 { name: "_id_", ns: "test.foo", key: { _id: 1 } } m30000| [conn4] Tue Jul 6 20:27:50 done for 0 records 0secs m30000| [conn4] Tue Jul 6 20:27:50 building new index on { num: 1.0 } for test.foo m30000| [conn4] Tue Jul 6 20:27:50 Buildindex test.foo idxNo:1 { ns: "test.foo", key: { num: 1.0 }, name: "num_1" } m30000| [conn4] Tue Jul 6 20:27:50 done for 0 records 0secs m30000| [conn4] Tue Jul 6 20:27:51 query admin.$cmd ntoreturn:1 command: { startCloneCollection: "test.foo", from: "localhost:30001", query: { num: { $gte: MinKey, $lt: 0.0 } } } reslen:185 7007ms m30001| [conn5] Tue Jul 6 20:27:51 end connection 127.0.0.1:54089 m30000| [initandlisten] Tue Jul 6 20:27:51 connection accepted from 127.0.0.1:54090 #6 m30001| [initandlisten] Tue Jul 6 20:27:52 connection accepted from 127.0.0.1:54091 #6 m31000| [Balancer] Tue Jul 6 20:27:52 balancer: after update: { _id: "balancer", who: "duane.local:31000", x: ObjectId('4c33ca08d714f7141d0d46b7') } m31000| [Balancer] Tue Jul 6 20:27:52 balancer: start balancing round m31000| [Balancer] Tue Jul 6 20:27:52 min: shard0 0 m31000| [Balancer] Tue Jul 6 20:27:52 max: shard1 2 m31000| [Balancer] Tue Jul 6 20:27:52 draining: 0(0) m31000| [Balancer] Tue Jul 6 20:27:52 balancer: no need to move any chunk m30000| [conn4] Tue Jul 6 20:27:53 finishCloneCollection. db:admin collection:test.foo from: localhost:30001 query: { num: { $gte: MinKey, $lt: 0.0 } } m30001| [initandlisten] Tue Jul 6 20:27:53 connection accepted from 127.0.0.1:54092 #7 m30001| [conn7] Tue Jul 6 20:27:53 started logCollection with cmd obj: { logCollection: "test.foo", validateComplete: 1 } m30001| [conn7] Tue Jul 6 20:27:53 end connection 127.0.0.1:54092 m30001| [conn4] Tue Jul 6 20:27:53 { _id: "duane.local-2010-6-7-0-27-0", server: "duane.local", time: new Date(1278462473006), what: "moveChunk", ns: "test.foo", details: { range: { num: { $gte: MinKey, $lt: 0.0 } }, from: "shard1", to: "shard0" } } m30001| [conn4] warning: Tue Jul 6 20:27:53 deleting data before ensuring no more cursors TODO m30001| [conn4] Tue Jul 6 20:27:53 moveChunk deleted: 0 m30001| [conn4] Tue Jul 6 20:27:53 dist_lock unlock: { _id: "test.foo", state: 0, when: new Date(1278462463991), who: "duane.local:1278462463:688095704", why: "migrate-{ num: { $gte: MinKey, $lt: 0.0 } }" } m30001| [conn4] Tue Jul 6 20:27:53 query admin.$cmd ntoreturn:1 command: { moveChunk: "test.foo", from: "localhost:30001", to: "localhost:30000", filter: { num: { $gte: MinKey, $lt: 0.0 } }, shardId: "test.foo-num_MinKey", configdb: "localhost:30000" } reslen:69 9017ms m30001| [conn2] Tue Jul 6 20:27:53 shardVersionOk failed ns:test.foo your version is too old ns: test.foo m30001| [conn2] Tue Jul 6 20:27:53 got write with an old config - writing back m30001| [conn2] Tue Jul 6 20:27:53 writing back msg with len: 51284 op: 2002 m30001| [conn3] Tue Jul 6 20:27:53 query admin.$cmd ntoreturn:1 command: { writebacklisten: ObjectId('4c33c9fdd714f7141d0d46b6') } reslen:51387 10846ms m30001| [conn2] Tue Jul 6 20:27:53 shardVersionOk failed ns:test.foo your version is too old ns: test.foo m30001| [conn2] Tue Jul 6 20:27:53 got write with an old config - writing back m30001| [conn2] Tue Jul 6 20:27:53 writing back msg with len: 51284 op: 2002 m30001| [conn2] Tue Jul 6 20:27:53 shardVersionOk failed ns:test.foo your version is too old ns: test.foo m30001| [conn2] Tue Jul 6 20:27:53 got write with an old config - writing back m30001| [conn2] Tue Jul 6 20:27:53 writing back msg with len: 51284 op: 2002 m31000| [WriteBackListener] Tue Jul 6 20:27:53 writebacklisten result: { data: { writeBack: true, ns: "test.foo", msg: BinData }, ok: 1.0 } m31000| [WriteBackListener] Tue Jul 6 20:27:53 reloading shard info for: test.foo m30001| [conn2] Tue Jul 6 20:27:53 shardVersionOk failed ns:test.foo your version is too old ns: test.foo m30001| [conn2] Tue Jul 6 20:27:53 got write with an old config - writing back m30001| [conn2] Tue Jul 6 20:27:53 writing back msg with len: 51284 op: 2002 m31000| [conn1] Tue Jul 6 20:27:53 setShardVersion shard1 localhost:30001 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 2000|3, serverID: ObjectId('4c33c9fdd714f7141d0d46b6'), shard: "shard1", shardHost: "localhost:30001" } 0x606a70 m31000| [WriteBackListener] Tue Jul 6 20:27:53 setShardVersion shard1 localhost:30001 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 2000|3, serverID: ObjectId('4c33c9fdd714f7141d0d46b6'), shard: "shard1", shardHost: "localhost:30001" } 0x6078b0 m30000| [initandlisten] Tue Jul 6 20:27:53 connection accepted from 127.0.0.1:54093 #7 m31000| [conn1] Tue Jul 6 20:27:53 setShardVersion success! m31000| [conn1] Tue Jul 6 20:27:53 retrying insert because of StaleConfigException: { _id: ObjectId('4c33ca091c5bdd156e13a693'), num: 929.0, s: "asocsancdnsjfnsdnfsjdhfasdfasdfasdfnsadofnsadlkfnsaldknfsadasocsancdns..." } m31000| [WriteBackListener] Tue Jul 6 20:27:53 setShardVersion success! m31000| [WriteBackListener] Tue Jul 6 20:27:53 retrying insert because of StaleConfigException: { _id: ObjectId('4c33c9ff1c5bdd156e13a68f'), num: 925.0, s: "asocsancdnsjfnsdnfsjdhfasdfasdfasdfnsadofnsadlkfnsaldknfsadasocsancdns..." } m31000| [WriteBackListener] Tue Jul 6 20:27:53 writebacklisten result: { data: { writeBack: true, ns: "test.foo", msg: BinData }, ok: 1.0 } m31000| [WriteBackListener] Tue Jul 6 20:27:53 reloading shard info for: test.foo m31000| [conn1] Tue Jul 6 20:27:53 setShardVersion shard1 localhost:30001 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 2000|3, serverID: ObjectId('4c33c9fdd714f7141d0d46b6'), shard: "shard1", shardHost: "localhost:30001" } 0x606a70 m31000| [WriteBackListener] Tue Jul 6 20:27:53 setShardVersion shard1 localhost:30001 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 2000|3, serverID: ObjectId('4c33c9fdd714f7141d0d46b6'), shard: "shard1", shardHost: "localhost:30001" } 0x6078b0 m31000| [WriteBackListener] Tue Jul 6 20:27:53 setShardVersion success! m31000| [WriteBackListener] Tue Jul 6 20:27:53 retrying insert because of StaleConfigException: { _id: ObjectId('4c33c9ff1c5bdd156e13a690'), num: 926.0, s: "asocsancdnsjfnsdnfsjdhfasdfasdfasdfnsadofnsadlkfnsaldknfsadasocsancdns..." } m31000| [WriteBackListener] Tue Jul 6 20:27:53 writebacklisten result: { data: { writeBack: true, ns: "test.foo", msg: BinData }, ok: 1.0 } m31000| [WriteBackListener] Tue Jul 6 20:27:53 reloading shard info for: test.foo m31000| [WriteBackListener] Tue Jul 6 20:27:53 setShardVersion shard1 localhost:30001 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 2000|3, serverID: ObjectId('4c33c9fdd714f7141d0d46b6'), shard: "shard1", shardHost: "localhost:30001" } 0x6078b0 m31000| [WriteBackListener] Tue Jul 6 20:27:53 setShardVersion success! m31000| [WriteBackListener] Tue Jul 6 20:27:53 retrying insert because of StaleConfigException: { _id: ObjectId('4c33c9ff1c5bdd156e13a691'), num: 927.0, s: "asocsancdnsjfnsdnfsjdhfasdfasdfasdfnsadofnsadlkfnsaldknfsadasocsancdns..." } m31000| [WriteBackListener] Tue Jul 6 20:27:53 writebacklisten result: { data: { writeBack: true, ns: "test.foo", msg: BinData }, ok: 1.0 } m31000| [WriteBackListener] Tue Jul 6 20:27:53 reloading shard info for: test.foo m31000| [WriteBackListener] Tue Jul 6 20:27:53 setShardVersion shard1 localhost:30001 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 2000|3, serverID: ObjectId('4c33c9fdd714f7141d0d46b6'), shard: "shard1", shardHost: "localhost:30001" } 0x6078b0 m31000| [WriteBackListener] Tue Jul 6 20:27:53 setShardVersion success! m31000| [WriteBackListener] Tue Jul 6 20:27:53 retrying insert because of StaleConfigException: { _id: ObjectId('4c33ca001c5bdd156e13a692'), num: 928.0, s: "asocsancdnsjfnsdnfsjdhfasdfasdfasdfnsadofnsadlkfnsaldknfsadasocsancdns..." } m31000| [conn1] Tue Jul 6 20:27:53 setShardVersion success! m31000| [conn1] Tue Jul 6 20:27:53 retrying insert because of StaleConfigException: { _id: ObjectId('4c33ca091c5bdd156e13a69a'), num: 936.0, s: "asocsancdnsjfnsdnfsjdhfasdfasdfasdfnsadofnsadlkfnsaldknfsadasocsancdns..." } m31000| [conn1] Tue Jul 6 20:27:53 setShardVersion shard1 localhost:30001 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 2000|3, serverID: ObjectId('4c33c9fdd714f7141d0d46b6'), shard: "shard1", shardHost: "localhost:30001" } 0x606a70 m31000| [conn1] Tue Jul 6 20:27:53 setShardVersion success! m31000| [conn1] Tue Jul 6 20:27:53 retrying insert because of StaleConfigException: { _id: ObjectId('4c33ca091c5bdd156e13a69a'), num: 936.0, s: "asocsancdnsjfnsdnfsjdhfasdfasdfasdfnsadofnsadlkfnsaldknfsadasocsancdns..." } m31000| [conn1] Tue Jul 6 20:27:53 splitIfShould : 0x609b70 m31000| [conn1] Tue Jul 6 20:27:53 autosplitting test.foo size: 52434888 shard: shard ns:test.foo shard: shard1:localhost:30001 lastmod: 2|3 min: { num: 0.0 } max: { num: MaxKey } m31000| [conn1] Tue Jul 6 20:27:53 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.foo", state: 1, when: new Date(1278462473665), who: "duane.local:1278462473:282475249", why: "split-shard ns:test.foo shard: shard1:localhost:30001 lastmod: 2|3 mi..." } m31000| [conn1] Tue Jul 6 20:27:53 before split on 1 points m31000| self : shard ns:test.foo shard: shard1:localhost:30001 lastmod: 2|3 min: { num: 0.0 } max: { num: MaxKey } m31000| [conn1] Tue Jul 6 20:27:53 after split: m31000| shard ns:test.foo shard: shard1:localhost:30001 lastmod: 2|3 min: { num: 0.0 } max: { num: 1119.0 } m31000| [conn1] Tue Jul 6 20:27:53 new chunkshard ns:test.foo shard: shard1:localhost:30001 lastmod: 0|0 min: { num: 1119.0 } max: { num: MaxKey } m31000| [conn1] Tue Jul 6 20:27:53 { _id: "duane.local-2010-6-7-0-27-1", server: "duane.local", time: new Date(1278462473667), what: "split", ns: "test.foo", details: { before: { min: { num: 0.0 }, max: { num: MaxKey } }, left: { min: { num: 0.0 }, max: { num: 1119.0 } }, right: { min: { num: 1119.0 }, max: { num: MaxKey } } } } m31000| [conn1] Tue Jul 6 20:27:53 dist_lock unlock: { _id: "test.foo", state: 0, when: new Date(1278462473665), who: "duane.local:1278462473:282475249", why: "split-shard ns:test.foo shard: shard1:localhost:30001 lastmod: 2|3 mi..." } m31000| [conn1] Tue Jul 6 20:27:53 setShardVersion shard1 localhost:30001 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 3000|1, serverID: ObjectId('4c33c9fdd714f7141d0d46b6'), shard: "shard1", shardHost: "localhost:30001" } 0x606a70 m31000| [conn1] Tue Jul 6 20:27:53 setShardVersion success! m31000| [conn1] Tue Jul 6 20:27:53 picking shard: shard: shard0:localhost:30000 mapped: 64 writeLock: 0 m31000| [conn1] Tue Jul 6 20:27:53 moving chunk (auto): shard ns:test.foo shard: shard1:localhost:30001 lastmod: 3|1 min: { num: 1119.0 } max: { num: MaxKey } to: shard0:localhost:30000 #objects: 1 m31000| [conn1] Tue Jul 6 20:27:53 moving chunk ns: test.foo moving ( shard ns:test.foo shard: shard1:localhost:30001 lastmod: 3|1 min: { num: 1119.0 } max: { num: MaxKey }) shard1:localhost:30001 -> shard0:localhost:30000 m30001| [conn6] Tue Jul 6 20:27:53 got movechunk: { moveChunk: "test.foo", from: "localhost:30001", to: "localhost:30000", filter: { num: { $gte: 1119.0, $lt: MaxKey } }, shardId: "test.foo-num_1119.0", configdb: "localhost:30000" } m30001| [conn6] Tue Jul 6 20:27:53 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.foo", state: 1, when: new Date(1278462473670), who: "duane.local:1278462473:261860320", why: "migrate-{ num: { $gte: 1119.0, $lt: MaxKey } }" } m30000| [conn7] Tue Jul 6 20:27:53 startCloneCollection. db:admin collection:test.foo from: localhost:30001 query: { num: { $gte: 1119.0, $lt: MaxKey } } m30001| [initandlisten] Tue Jul 6 20:27:53 connection accepted from 127.0.0.1:54094 #8 m30001| [conn8] Tue Jul 6 20:27:53 started logCollection with cmd obj: { logCollection: "test.foo", start: 1 } m30001| [conn8] Tue Jul 6 20:27:53 end connection 127.0.0.1:54094 m30000| [conn7] Tue Jul 6 20:27:55 finishCloneCollection. db:admin collection:test.foo from: localhost:30001 query: { num: { $gte: 1119.0, $lt: MaxKey } } m30001| [initandlisten] Tue Jul 6 20:27:55 connection accepted from 127.0.0.1:54095 #9 m30001| [conn9] Tue Jul 6 20:27:55 started logCollection with cmd obj: { logCollection: "test.foo", validateComplete: 1 } m30001| [conn9] Tue Jul 6 20:27:55 end connection 127.0.0.1:54095 m30001| [conn6] Tue Jul 6 20:27:55 { _id: "duane.local-2010-6-7-0-27-1", server: "duane.local", time: new Date(1278462475682), what: "moveChunk", ns: "test.foo", details: { range: { num: { $gte: 1119.0, $lt: MaxKey } }, from: "shard1", to: "shard0" } } m30001| [conn6] warning: Tue Jul 6 20:27:55 deleting data before ensuring no more cursors TODO m30001| [conn6] Tue Jul 6 20:27:55 moveChunk deleted: 1 m30001| [conn6] Tue Jul 6 20:27:55 dist_lock unlock: { _id: "test.foo", state: 0, when: new Date(1278462473670), who: "duane.local:1278462473:261860320", why: "migrate-{ num: { $gte: 1119.0, $lt: MaxKey } }" } m30001| [conn6] Tue Jul 6 20:27:55 query admin.$cmd ntoreturn:1 command: { moveChunk: "test.foo", from: "localhost:30001", to: "localhost:30000", filter: { num: { $gte: 1119.0, $lt: MaxKey } }, shardId: "test.foo-num_1119.0", configdb: "localhost:30000" } reslen:69 2013ms m31000| [conn1] Tue Jul 6 20:27:55 setShardVersion shard0 localhost:30000 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 3000|2, serverID: ObjectId('4c33c9fdd714f7141d0d46b6'), shard: "shard0", shardHost: "localhost:30000" } 0x6052e0 m31000| [conn1] Tue Jul 6 20:27:55 setShardVersion failed! m31000| { need_authoritative: true, errmsg: "first setShardVersion", ok: 0.0 } m31000| [conn1] Tue Jul 6 20:27:55 reloading shard info for: test.foo m31000| [conn1] Tue Jul 6 20:27:55 setShardVersion shard0 localhost:30000 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 3000|2, serverID: ObjectId('4c33c9fdd714f7141d0d46b6'), authoritative: true, shard: "shard0", shardHost: "localhost:30000" } 0x6052e0 m31000| [conn1] Tue Jul 6 20:27:55 setShardVersion success! m31000| [conn1] Tue Jul 6 20:27:55 retrying insert because of StaleConfigException: { _id: ObjectId('4c33ca091c5bdd156e13a752'), num: 1120.0, s: "asocsancdnsjfnsdnfsjdhfasdfasdfasdfnsadofnsadlkfnsaldknfsadasocsancdns..." } m30000| Tue Jul 6 20:27:55 allocating new datafile /data/db/auto10/test.1, filling with zeroes... m30000| Tue Jul 6 20:27:55 done allocating datafile /data/db/auto10/test.1, size: 32MB, took 0.048 secs m30000| [conn2] Tue Jul 6 20:28:00 insert test.foo 4686ms m31000| [conn1] Tue Jul 6 20:28:00 splitIfShould : 0x609bf0 m31000| [conn1] Tue Jul 6 20:28:00 splitIfShould : 0x609bf0 test.foo-num_MinKey 2000|2 { "num" : { $minKey : 1 } } -> { "num" : 0 } shard0 test.foo test.foo-num_0.0 3000|3 { "num" : 0 } -> { "num" : 1119 } shard1 test.foo test.foo-num_1119.0 3000|2 { "num" : 1119 } -> { "num" : { $maxKey : 1 } } shard0 test.foo m31000| [conn1] Tue Jul 6 20:28:01 splitIfShould : 0x609bf0 m30000| Tue Jul 6 20:28:01 allocating new datafile /data/db/auto10/test.2, filling with zeroes... m30000| Tue Jul 6 20:28:08 done allocating datafile /data/db/auto10/test.2, size: 64MB, took 4.102 secs m30000| [conn2] Tue Jul 6 20:28:11 insert test.foo 10423ms m30000| [conn6] Tue Jul 6 20:28:11 query admin.$cmd ntoreturn:1 command: { features: 1 } reslen:85 9810ms m31000| [Balancer] Tue Jul 6 20:28:11 balancer: start balancing round m31000| [Balancer] Tue Jul 6 20:28:11 min: shard1 1 m31000| [Balancer] Tue Jul 6 20:28:11 max: shard0 2 m31000| [Balancer] Tue Jul 6 20:28:11 draining: 0(0) m31000| [Balancer] Tue Jul 6 20:28:11 balancer: no need to move any chunk m31000| [conn1] Tue Jul 6 20:28:11 splitIfShould : 0x609bf0 m31000| [conn1] Tue Jul 6 20:28:12 splitIfShould : 0x609bf0 m31000| [conn1] Tue Jul 6 20:28:12 autosplitting test.foo size: 47463056 shard: shard ns:test.foo shard: shard0:localhost:30000 lastmod: 3|2 min: { num: 1119.0 } max: { num: MaxKey } m31000| [conn1] Tue Jul 6 20:28:12 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.foo", state: 1, when: new Date(1278462492236), who: "duane.local:1278462492:1622650073", why: "split-shard ns:test.foo shard: shard0:localhost:30000 lastmod: 3|2 mi..." } m31000| [conn1] Tue Jul 6 20:28:12 before split on 1 points m31000| self : shard ns:test.foo shard: shard0:localhost:30000 lastmod: 3|2 min: { num: 1119.0 } max: { num: MaxKey } m31000| [conn1] Tue Jul 6 20:28:12 after split: m31000| shard ns:test.foo shard: shard0:localhost:30000 lastmod: 3|2 min: { num: 1119.0 } max: { num: 2044.0 } m31000| [conn1] Tue Jul 6 20:28:12 new chunkshard ns:test.foo shard: shard0:localhost:30000 lastmod: 0|0 min: { num: 2044.0 } max: { num: MaxKey } m31000| [conn1] Tue Jul 6 20:28:12 { _id: "duane.local-2010-6-7-0-28-2", server: "duane.local", time: new Date(1278462492237), what: "split", ns: "test.foo", details: { before: { min: { num: 1119.0 }, max: { num: MaxKey } }, left: { min: { num: 1119.0 }, max: { num: 2044.0 } }, right: { min: { num: 2044.0 }, max: { num: MaxKey } } } } m31000| [conn1] Tue Jul 6 20:28:12 dist_lock unlock: { _id: "test.foo", state: 0, when: new Date(1278462492236), who: "duane.local:1278462492:1622650073", why: "split-shard ns:test.foo shard: shard0:localhost:30000 lastmod: 3|2 mi..." } m31000| [conn1] Tue Jul 6 20:28:12 setShardVersion shard0 localhost:30000 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 4000|1, serverID: ObjectId('4c33c9fdd714f7141d0d46b6'), shard: "shard0", shardHost: "localhost:30000" } 0x6052e0 m31000| [conn1] Tue Jul 6 20:28:12 setShardVersion success! m31000| [conn1] Tue Jul 6 20:28:12 picking shard: shard: shard0:localhost:30000 mapped: 160 writeLock: 0 m31000| [conn1] Tue Jul 6 20:28:12 not moving chunk: shard ns:test.foo shard: shard0:localhost:30000 lastmod: 4|0 min: { num: 1119.0 } max: { num: 2044.0 } b/c would move to same place shard0:localhost:30000 -> shard0:localhost:30000 m31000| [conn1] Tue Jul 6 20:28:12 splitIfShould : 0x607720 m31000| [conn1] Tue Jul 6 20:28:12 splitIfShould : 0x607720 m30000| Tue Jul 6 20:28:13 allocating new datafile /data/db/auto10/test.3, filling with zeroes... m30000| Tue Jul 6 20:28:13 done allocating datafile /data/db/auto10/test.3, size: 128MB, took 0.18 secs m30000| [conn2] Tue Jul 6 20:28:13 insert test.foo 181ms m31000| [conn1] Tue Jul 6 20:28:13 splitIfShould : 0x607720 m31000| [conn1] Tue Jul 6 20:28:13 splitIfShould : 0x607720 test.foo-num_MinKey 2000|2 { "num" : { $minKey : 1 } } -> { "num" : 0 } shard0 test.foo test.foo-num_0.0 3000|3 { "num" : 0 } -> { "num" : 1119 } shard1 test.foo test.foo-num_1119.0 4000|0 { "num" : 1119 } -> { "num" : 2044 } shard0 test.foo test.foo-num_2044.0 4000|1 { "num" : 2044 } -> { "num" : { $maxKey : 1 } } shard0 test.foo m31000| Tue Jul 6 20:28:13 dbexit: received signal 15 rc:0 m30001| [conn6] Tue Jul 6 20:28:13 end connection 127.0.0.1:54091 m30001| [conn4] Tue Jul 6 20:28:13 end connection 127.0.0.1:54087 m30001| [conn2] Tue Jul 6 20:28:13 end connection 127.0.0.1:54084 m30000| [conn5] Tue Jul 6 20:28:13 end connection 127.0.0.1:54088 m30000| [conn6] Tue Jul 6 20:28:13 end connection 127.0.0.1:54090 m30000| [conn2] Tue Jul 6 20:28:13 end connection 127.0.0.1:54081 shell: stopped mongo program on port 31000 m30000| Tue Jul 6 20:28:14 got kill or ctrl c signal 15 (Terminated), will terminate after current cmd ends m30000| [interruptThread] Tue Jul 6 20:28:14 now exiting m30000| Tue Jul 6 20:28:14 dbexit: m30000| [interruptThread] Tue Jul 6 20:28:14 shutdown: going to close listening sockets... m30000| [interruptThread] Tue Jul 6 20:28:14 going to close listening socket: 11 m30000| [interruptThread] Tue Jul 6 20:28:14 going to close listening socket: 12 m30000| [interruptThread] Tue Jul 6 20:28:14 shutdown: going to flush oplog... m30000| [interruptThread] Tue Jul 6 20:28:14 shutdown: going to close sockets... m30000| [interruptThread] Tue Jul 6 20:28:14 shutdown: waiting for fs preallocator... m30000| [interruptThread] Tue Jul 6 20:28:14 shutdown: closing all files... m30000| [conn4] Tue Jul 6 20:28:14 MessagingPort recv() errno:9 Bad file descriptor 127.0.0.1:54086 m30000| [conn4] Tue Jul 6 20:28:14 end connection 127.0.0.1:54086 m30000| [conn7] Tue Jul 6 20:28:14 MessagingPort recv() errno:9 Bad file descriptor 127.0.0.1:54093 m30000| [conn7] Tue Jul 6 20:28:14 end connection 127.0.0.1:54093 m30000| [conn1] Tue Jul 6 20:28:14 MessagingPort recv() errno:9 Bad file descriptor 127.0.0.1:54077 m30000| [conn1] Tue Jul 6 20:28:14 end connection 127.0.0.1:54077 m30000| 7/9 77% Tue Jul 6 20:28:19 process on port 30000, with pid 29445 not terminated, sending sigkill shell: stopped mongo program on port 30000 m30001| Tue Jul 6 20:28:25 got kill or ctrl c signal 15 (Terminated), will terminate after current cmd ends m30001| [interruptThread] Tue Jul 6 20:28:25 now exiting m30001| Tue Jul 6 20:28:25 dbexit: m30001| [interruptThread] Tue Jul 6 20:28:25 shutdown: going to close listening sockets... m30001| [interruptThread] Tue Jul 6 20:28:25 going to close listening socket: 14 m30001| [interruptThread] Tue Jul 6 20:28:25 going to close listening socket: 15 m30001| [interruptThread] Tue Jul 6 20:28:25 shutdown: going to flush oplog... m30001| [interruptThread] Tue Jul 6 20:28:25 shutdown: going to close sockets... m30001| [interruptThread] Tue Jul 6 20:28:25 shutdown: waiting for fs preallocator... m30001| [interruptThread] Tue Jul 6 20:28:25 shutdown: closing all files... m30001| [conn1] Tue Jul 6 20:28:25 MessagingPort recv() errno:9 Bad file descriptor 127.0.0.1:54079 m30001| [conn1] Tue Jul 6 20:28:25 end connection 127.0.0.1:54079 Tue Jul 6 20:28:30 process on port 30001, with pid 29446 not terminated, sending sigkill shell: stopped mongo program on port 30001 *** auto1 completed successfully *** [initandlisten] Tue Jul 6 20:28:36 connection accepted from 127.0.0.1:54096 #2 [conn2] Tue Jul 6 20:28:37 end connection 127.0.0.1:54096 [initandlisten] Tue Jul 6 20:28:37 connection accepted from 127.0.0.1:54097 #3 Tue Jul 6 20:28:37 ****ok. response.data:1 time:0.202ms len: 5 data: i am fine - dbMsg deprecated [conn3] Tue Jul 6 20:28:38 end connection 127.0.0.1:54097 MongoDB shell version: 1.5.5-pre- shell: started program /Users/10gen/work/buildslaves/mongo/OS_X_104_32bit/mongo/mongod --port 30000 --dbpath /data/db/auto20 --noprealloc --smallfiles --oplogSize 2 --nohttpinterface m30000| Tue Jul 6 20:28:39 MongoDB starting : pid=29451 port=30000 dbpath=/data/db/auto20 32-bit m30000| m30000| ** NOTE: This is a development version (1.5.5-pre-) of MongoDB. m30000| ** Not recommended for production. m30000| m30000| ** NOTE: when using MongoDB 32 bit, you are limited to about 2 gigabytes of data m30000| ** see http://blog.mongodb.org/post/137788967/32-bit-limitations m30000| m30000| Tue Jul 6 20:28:39 db version v1.5.5-pre-, pdfile version 4.5 m30000| Tue Jul 6 20:28:39 git version: 47170341084f47c9398f1002e0585cd10db9c7a2 m30000| Tue Jul 6 20:28:39 sys info: Darwin duane.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 BOOST_LIB_VERSION=1_39 m30000| [initandlisten] Tue Jul 6 20:28:39 waiting for connections on port 30000 m30000| [initandlisten] Tue Jul 6 20:28:39 connection accepted from 127.0.0.1:54099 #1 shell: started program /Users/10gen/work/buildslaves/mongo/OS_X_104_32bit/mongo/mongod --port 30001 --dbpath /data/db/auto21 --noprealloc --smallfiles --oplogSize 2 --nohttpinterface m30001| Tue Jul 6 20:28:39 MongoDB starting : pid=29452 port=30001 dbpath=/data/db/auto21 32-bit m30001| m30001| ** NOTE: This is a development version (1.5.5-pre-) of MongoDB. m30001| ** Not recommended for production. m30001| m30001| ** NOTE: when using MongoDB 32 bit, you are limited to about 2 gigabytes of data m30001| ** see http://blog.mongodb.org/post/137788967/32-bit-limitations m30001| m30001| Tue Jul 6 20:28:39 db version v1.5.5-pre-, pdfile version 4.5 m30001| Tue Jul 6 20:28:39 git version: 47170341084f47c9398f1002e0585cd10db9c7a2 m30001| Tue Jul 6 20:28:39 sys info: Darwin duane.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 BOOST_LIB_VERSION=1_39 m30001| [initandlisten] Tue Jul 6 20:28:39 waiting for connections on port 30001 m30001| [initandlisten] Tue Jul 6 20:28:39 connection accepted from 127.0.0.1:54101 #1 shell: started program /Users/10gen/work/buildslaves/mongo/OS_X_104_32bit/mongo/mongos --port 31000 -v --configdb localhost:30000 m30000| Tue Jul 6 20:28:39 allocating new datafile /data/db/auto20/config.ns, filling with zeroes... m30000| Tue Jul 6 20:28:39 done allocating datafile /data/db/auto20/config.ns, size: 16MB, took 0.029 secs m31000| Tue Jul 6 20:28:39 /Users/10gen/work/buildslaves/mongo/OS_X_104_32bit/mongo/mongos db version v1.5.5-pre-, pdfile version 4.5 starting (--help for usage) m31000| Tue Jul 6 20:28:39 git version: 47170341084f47c9398f1002e0585cd10db9c7a2 m31000| Tue Jul 6 20:28:39 sys info: Darwin duane.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 BOOST_LIB_VERSION=1_39 m31000| Tue Jul 6 20:28:39 config string : localhost:30000 m30000| [initandlisten] Tue Jul 6 20:28:39 connection accepted from 127.0.0.1:54103 #2 m30000| Tue Jul 6 20:28:39 allocating new datafile /data/db/auto20/config.0, filling with zeroes... m30000| Tue Jul 6 20:28:39 done allocating datafile /data/db/auto20/config.0, size: 16MB, took 0.024 secs m30000| [conn1] Tue Jul 6 20:28:39 building new index on { _id: 1 } for config.settings m30000| [conn1] Tue Jul 6 20:28:39 Buildindex config.settings idxNo:0 { name: "_id_", ns: "config.settings", key: { _id: 1 } } m30000| [conn1] Tue Jul 6 20:28:39 done for 0 records 0.001secs m30000| [conn2] Tue Jul 6 20:28:39 building new index on { _id: 1 } for config.version m30000| [conn2] Tue Jul 6 20:28:39 Buildindex config.version idxNo:0 { name: "_id_", ns: "config.version", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:28:39 done for 0 records 0secs m31000| Tue Jul 6 20:28:39 MaxChunkSize: value: 50.0 m30000| [conn2] Tue Jul 6 20:28:39 building new index on { _id: 1 } for config.chunks m30000| [conn2] Tue Jul 6 20:28:39 Buildindex config.chunks idxNo:0 { name: "_id_", ns: "config.chunks", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:28:39 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:28:39 info: creating collection config.chunks on add index m30000| building new index on { ns: 1, min: 1 } for config.chunks m30000| [conn2] Tue Jul 6 20:28:39 Buildindex config.chunks idxNo:1 { ns: "config.chunks", key: { ns: 1, min: 1 }, name: "ns_1_min_1", unique: true } m30000| [conn2] Tue Jul 6 20:28:39 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:28:39 building new index on { ns: 1, shard: 1, min: 1 } for config.chunks m30000| [conn2] Tue Jul 6 20:28:39 Buildindex config.chunks idxNo:2 { ns: "config.chunks", key: { ns: 1, shard: 1, min: 1 }, name: "ns_1_shard_1_min_1", unique: true } m31000| [Balancer] Tue Jul 6 20:28:39 balancer myid: duane.local:31000 m30000| [conn2] Tue Jul 6 20:28:39 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:28:39 building new index on { ns: 1, lastmod: 1 } for config.chunks m30000| [conn2] Tue Jul 6 20:28:39 Buildindex config.chunks idxNo:3 { ns: "config.chunks", key: { ns: 1, lastmod: 1 }, name: "ns_1_lastmod_1", unique: true } m30000| [conn2] Tue Jul 6 20:28:39 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:28:39 building new index on { _id: 1 } for config.shards m30000| [conn2] Tue Jul 6 20:28:39 Buildindex config.shards idxNo:0 { name: "_id_", ns: "config.shards", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:28:39 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:28:39 info: creating collection config.shards on add index m30000| building new index on { host: 1 } for config.shards m30000| [conn2] Tue Jul 6 20:28:39 Buildindex config.shards idxNo:1 { ns: "config.shards", key: { host: 1 }, name: "host_1", unique: true } m30000| [conn2] Tue Jul 6 20:28:39 done for 0 records 0secs m31000| Tue Jul 6 20:28:39 waiting for connections on port 31000 m30000| [conn2] Tue Jul 6 20:28:39 building new index on { _id: 1 } for config.mongos m30000| [conn2] Tue Jul 6 20:28:39 Buildindex config.mongos idxNo:0 { name: "_id_", ns: "config.mongos", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:28:39 done for 0 records 0secs m31000| Tue Jul 6 20:28:39 fd limit hard:9223372036854775807 soft:256 max conn: 204 m31000| Tue Jul 6 20:28:39 connection accepted from 127.0.0.1:54104 #1 shell: started program /Users/10gen/work/buildslaves/mongo/OS_X_104_32bit/mongo/mongos --port 30999 -v --configdb localhost:30000 m30999| Tue Jul 6 20:28:39 /Users/10gen/work/buildslaves/mongo/OS_X_104_32bit/mongo/mongos db version v1.5.5-pre-, pdfile version 4.5 starting (--help for usage) m30999| Tue Jul 6 20:28:39 git version: 47170341084f47c9398f1002e0585cd10db9c7a2 m30999| Tue Jul 6 20:28:39 sys info: Darwin duane.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 BOOST_LIB_VERSION=1_39 m30999| Tue Jul 6 20:28:39 config string : localhost:30000 m30000| [initandlisten] Tue Jul 6 20:28:39 connection accepted from 127.0.0.1:54106 #3 m30999| Tue Jul 6 20:28:39 MaxChunkSize: value: 50.0 m30999| [Balancer] Tue Jul 6 20:28:39 balancer myid: duane.local:30999 m30999| Tue Jul 6 20:28:39 waiting for connections on port 30999 m30999| Tue Jul 6 20:28:39 fd limit hard:9223372036854775807 soft:256 max conn: 204 m30999| Tue Jul 6 20:28:39 connection accepted from 127.0.0.1:54107 #1 m31000| [conn1] Tue Jul 6 20:28:39 couldn't find database [admin] in config db m31000| [conn1] Tue Jul 6 20:28:39 put [admin] on: config:localhost:30000 m30000| [conn2] Tue Jul 6 20:28:39 building new index on { _id: 1 } for config.databases m30000| [conn2] Tue Jul 6 20:28:39 Buildindex config.databases idxNo:0 { name: "_id_", ns: "config.databases", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:28:39 done for 0 records 0secs m30000| [initandlisten] Tue Jul 6 20:28:39 connection accepted from 127.0.0.1:54108 #4 m31000| [conn1] Tue Jul 6 20:28:39 going to add shard: { _id: "shard0", host: "localhost:30000" } m30001| [initandlisten] Tue Jul 6 20:28:39 connection accepted from 127.0.0.1:54109 #2 m31000| [conn1] Tue Jul 6 20:28:39 going to add shard: { _id: "shard1", host: "localhost:30001" } m31000| [conn1] Tue Jul 6 20:28:39 couldn't find database [test] in config db m31000| [conn1] Tue Jul 6 20:28:39 picking shard: shard: shard1:localhost:30001 mapped: 0 writeLock: 0 m31000| [conn1] Tue Jul 6 20:28:39 put [test] on: shard1:localhost:30001 m31000| [conn1] Tue Jul 6 20:28:39 enabling sharding on: test m31000| [conn1] Tue Jul 6 20:28:39 CMD: shardcollection: { shardcollection: "test.foo", key: { num: 1.0 } } m31000| [conn1] Tue Jul 6 20:28:39 enable sharding on: test.foo with shard key: { num: 1.0 } m31000| [conn1] Tue Jul 6 20:28:39 no chunks for:test.foo so creating first: shard ns:test.foo shard: shard1:localhost:30001 lastmod: 1|0 min: { num: MinKey } max: { num: MaxKey } m30001| Tue Jul 6 20:28:39 allocating new datafile /data/db/auto21/test.ns, filling with zeroes... m31000| creating WriteBackListener for: localhost:30001 m31000| [conn1] Tue Jul 6 20:28:39 setShardVersion shard1 localhost:30001 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 1000|0, serverID: ObjectId('4c33ca37d52bed420ed5a7a1'), shard: "shard1", shardHost: "localhost:30001" } 0x606a70 m30001| [initandlisten] Tue Jul 6 20:28:39 connection accepted from 127.0.0.1:54110 #3 m30001| Tue Jul 6 20:28:39 done allocating datafile /data/db/auto21/test.ns, size: 16MB, took 0.027 secs m30001| Tue Jul 6 20:28:39 allocating new datafile /data/db/auto21/test.0, filling with zeroes... m30001| Tue Jul 6 20:28:39 done allocating datafile /data/db/auto21/test.0, size: 16MB, took 0.021 secs m30001| [conn2] Tue Jul 6 20:28:39 building new index on { _id: 1 } for test.foo m30001| [conn2] Tue Jul 6 20:28:39 Buildindex test.foo idxNo:0 { name: "_id_", ns: "test.foo", key: { _id: 1 } } m30001| [conn2] Tue Jul 6 20:28:39 done for 0 records 0.002secs m30001| [conn2] Tue Jul 6 20:28:39 info: creating collection test.foo on add index m30001| building new index on { num: 1.0 } for test.foo m30001| [conn2] Tue Jul 6 20:28:39 Buildindex test.foo idxNo:1 { ns: "test.foo", key: { num: 1.0 }, name: "num_1" } m30001| [conn2] Tue Jul 6 20:28:39 done for 0 records 0secs m31000| [conn1] Tue Jul 6 20:28:39 setShardVersion failed! m31000| { need_authoritative: true, errmsg: "first setShardVersion", ok: 0.0 } m31000| [conn1] Tue Jul 6 20:28:39 reloading shard info for: test.foo m31000| [conn1] Tue Jul 6 20:28:39 setShardVersion shard1 localhost:30001 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 1000|0, serverID: ObjectId('4c33ca37d52bed420ed5a7a1'), authoritative: true, shard: "shard1", shardHost: "localhost:30001" } 0x606a70 m31000| [conn1] Tue Jul 6 20:28:39 setShardVersion success! m31000| [conn1] Tue Jul 6 20:28:40 retrying insert because of StaleConfigException: { _id: ObjectId('4c33ca375a337f05559532e8'), num: 0.0, s: "asocsancdnsjfnsdnfsjdhfasdfasdfasdfnsadofnsadlkfnsaldknfsadasocsancdns..." } m30001| Tue Jul 6 20:28:40 allocating new datafile /data/db/auto21/test.1, filling with zeroes... m30001| Tue Jul 6 20:28:40 done allocating datafile /data/db/auto21/test.1, size: 32MB, took 0.043 secs j:0 : 271 m31000| [conn1] Tue Jul 6 20:28:40 splitIfShould : 0x607de0 m30000| [initandlisten] Tue Jul 6 20:28:40 connection accepted from 127.0.0.1:54111 #5 m30001| [initandlisten] Tue Jul 6 20:28:40 connection accepted from 127.0.0.1:54112 #4 j:1 : 164 j:2 : 157 m31000| [conn1] Tue Jul 6 20:28:40 splitIfShould : 0x607de0 j:3 : 154 j:4 : 151 m31000| [conn1] Tue Jul 6 20:28:40 splitIfShould : 0x607de0 j:5 : 146 m30001| Tue Jul 6 20:28:41 allocating new datafile /data/db/auto21/test.2, filling with zeroes... m30001| Tue Jul 6 20:28:41 done allocating datafile /data/db/auto21/test.2, size: 64MB, took 0.096 secs j:6 : 1154 m31000| [conn1] Tue Jul 6 20:28:42 splitIfShould : 0x607de0 j:7 : 147 j:8 : 145 m31000| [conn1] Tue Jul 6 20:28:42 splitIfShould : 0x607de0 m31000| [conn1] Tue Jul 6 20:28:42 autosplitting test.foo size: 47411800 shard: shard ns:test.foo shard: shard1:localhost:30001 lastmod: 1|0 min: { num: MinKey } max: { num: MaxKey } m30000| [conn2] Tue Jul 6 20:28:42 building new index on { _id: 1 } for config.locks m30000| [conn2] Tue Jul 6 20:28:42 Buildindex config.locks idxNo:0 { name: "_id_", ns: "config.locks", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:28:42 done for 0 records 0secs m31000| [conn1] Tue Jul 6 20:28:42 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.foo", state: 1, when: new Date(1278462522456), who: "duane.local:1278462522:16807", why: "split-shard ns:test.foo shard: shard1:localhost:30001 lastmod: 1|0 mi..." } m31000| [conn1] Tue Jul 6 20:28:42 before split on 1 points m31000| self : shard ns:test.foo shard: shard1:localhost:30001 lastmod: 1|0 min: { num: MinKey } max: { num: MaxKey } m31000| [conn1] Tue Jul 6 20:28:42 after split: m31000| shard ns:test.foo shard: shard1:localhost:30001 lastmod: 1|0 min: { num: MinKey } max: { num: 0.0 } m31000| [conn1] Tue Jul 6 20:28:42 new chunkshard ns:test.foo shard: shard1:localhost:30001 lastmod: 0|0 min: { num: 0.0 } max: { num: MaxKey } m31000| [conn1] Tue Jul 6 20:28:42 { _id: "duane.local-2010-6-7-0-28-0", server: "duane.local", time: new Date(1278462522459), what: "split", ns: "test.foo", details: { before: { min: { num: MinKey }, max: { num: MaxKey } }, left: { min: { num: MinKey }, max: { num: 0.0 } }, right: { min: { num: 0.0 }, max: { num: MaxKey } } } } m31000| [conn1] Tue Jul 6 20:28:42 dist_lock unlock: { _id: "test.foo", state: 0, when: new Date(1278462522456), who: "duane.local:1278462522:16807", why: "split-shard ns:test.foo shard: shard1:localhost:30001 lastmod: 1|0 mi..." } m31000| [conn1] Tue Jul 6 20:28:42 setShardVersion shard1 localhost:30001 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 2000|1, serverID: ObjectId('4c33ca37d52bed420ed5a7a1'), shard: "shard1", shardHost: "localhost:30001" } 0x606a70 m31000| [conn1] Tue Jul 6 20:28:42 setShardVersion success! m31000| [conn1] Tue Jul 6 20:28:42 picking shard: shard: shard0:localhost:30000 mapped: 32 writeLock: 0 m31000| [conn1] Tue Jul 6 20:28:42 moving chunk (auto): shard ns:test.foo shard: shard1:localhost:30001 lastmod: 2|0 min: { num: MinKey } max: { num: 0.0 } to: shard0:localhost:30000 #objects: 0 m31000| [conn1] Tue Jul 6 20:28:42 moving chunk ns: test.foo moving ( shard ns:test.foo shard: shard1:localhost:30001 lastmod: 2|0 min: { num: MinKey } max: { num: 0.0 }) shard1:localhost:30001 -> shard0:localhost:30000 m30001| [conn4] Tue Jul 6 20:28:42 got movechunk: { moveChunk: "test.foo", from: "localhost:30001", to: "localhost:30000", filter: { num: { $gte: MinKey, $lt: 0.0 } }, shardId: "test.foo-num_MinKey", configdb: "localhost:30000" } m30001| [conn4] Tue Jul 6 20:28:42 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.foo", state: 1, when: new Date(1278462522465), who: "duane.local:1278462522:1077353728", why: "migrate-{ num: { $gte: MinKey, $lt: 0.0 } }" } m30000| [conn5] Tue Jul 6 20:28:42 startCloneCollection. db:admin collection:test.foo from: localhost:30001 query: { num: { $gte: MinKey, $lt: 0.0 } } m30001| [initandlisten] Tue Jul 6 20:28:42 connection accepted from 127.0.0.1:54113 #5 m30001| Tue Jul 6 20:28:42 allocating new datafile /data/db/auto21/local.ns, filling with zeroes... m30001| Tue Jul 6 20:28:42 done allocating datafile /data/db/auto21/local.ns, size: 16MB, took 0.033 secs m30001| Tue Jul 6 20:28:42 allocating new datafile /data/db/auto21/local.0, filling with zeroes... m30001| Tue Jul 6 20:28:42 done allocating datafile /data/db/auto21/local.0, size: 16MB, took 0.026 secs m30001| Tue Jul 6 20:28:42 allocating new datafile /data/db/auto21/local.1, filling with zeroes... m30001| Tue Jul 6 20:28:49 done allocating datafile /data/db/auto21/local.1, size: 512MB, took 6.964 secs m30001| [initandlisten] Tue Jul 6 20:28:49 connection accepted from 127.0.0.1:54114 #6 m30999| [Balancer] Tue Jul 6 20:28:49 balancer: after update: { _id: "balancer", who: "duane.local:30999", x: ObjectId('4c33ca41bc9a862a0c557563') } m30999| [Balancer] Tue Jul 6 20:28:49 balancer: start balancing round m30999| [Balancer] Tue Jul 6 20:28:49 balancer: can't balance without more active shards m30999| [Balancer] Tue Jul 6 20:28:49 balancer: no need to move any chunk m30001| [conn5] Tue Jul 6 20:28:50 started logCollection with cmd obj: { logCollection: "test.foo", start: 1 } m30001| [conn5] Tue Jul 6 20:28:50 query test.$cmd ntoreturn:1 command: { logCollection: "test.foo", start: 1 } reslen:53 8044ms m30001| [conn6] Tue Jul 6 20:28:50 query admin.$cmd ntoreturn:1 command: { features: 1 } reslen:85 932ms m30000| Tue Jul 6 20:28:50 allocating new datafile /data/db/auto20/test.ns, filling with zeroes... m30000| Tue Jul 6 20:28:54 done allocating datafile /data/db/auto20/test.ns, size: 16MB, took 0.033 secs m30000| Tue Jul 6 20:28:54 allocating new datafile /data/db/auto20/test.0, filling with zeroes... m30000| Tue Jul 6 20:28:54 done allocating datafile /data/db/auto20/test.0, size: 16MB, took 0.027 secs m30000| [conn5] Tue Jul 6 20:28:54 building new index on { _id: 1 } for test.foo m30000| [conn5] Tue Jul 6 20:28:54 Buildindex test.foo idxNo:0 { name: "_id_", ns: "test.foo", key: { _id: 1 } } m30000| [conn5] Tue Jul 6 20:28:54 done for 0 records 0secs m30000| [conn5] Tue Jul 6 20:28:54 building new index on { num: 1.0 } for test.foo m30000| [conn5] Tue Jul 6 20:28:54 Buildindex test.foo idxNo:1 { ns: "test.foo", key: { num: 1.0 }, name: "num_1" } m30000| [conn5] Tue Jul 6 20:28:54 done for 0 records 0secs m30000| [conn5] Tue Jul 6 20:28:54 query admin.$cmd ntoreturn:1 command: { startCloneCollection: "test.foo", from: "localhost:30001", query: { num: { $gte: MinKey, $lt: 0.0 } } } reslen:185 11759ms m30001| [conn5] Tue Jul 6 20:28:54 end connection 127.0.0.1:54113 m30000| [conn5] Tue Jul 6 20:28:56 finishCloneCollection. db:admin collection:test.foo from: localhost:30001 query: { num: { $gte: MinKey, $lt: 0.0 } } m30001| [initandlisten] Tue Jul 6 20:28:56 connection accepted from 127.0.0.1:54115 #7 m30001| [conn7] Tue Jul 6 20:28:56 started logCollection with cmd obj: { logCollection: "test.foo", validateComplete: 1 } m30001| [conn7] Tue Jul 6 20:28:56 end connection 127.0.0.1:54115 m30001| [conn4] Tue Jul 6 20:28:56 { _id: "duane.local-2010-6-7-0-28-0", server: "duane.local", time: new Date(1278462536232), what: "moveChunk", ns: "test.foo", details: { range: { num: { $gte: MinKey, $lt: 0.0 } }, from: "shard1", to: "shard0" } } m30001| [conn4] warning: Tue Jul 6 20:28:56 deleting data before ensuring no more cursors TODO m30001| [conn4] Tue Jul 6 20:28:56 moveChunk deleted: 0 m30001| [conn4] Tue Jul 6 20:28:56 dist_lock unlock: { _id: "test.foo", state: 0, when: new Date(1278462522465), who: "duane.local:1278462522:1077353728", why: "migrate-{ num: { $gte: MinKey, $lt: 0.0 } }" } m30001| [conn4] Tue Jul 6 20:28:56 query admin.$cmd ntoreturn:1 command: { moveChunk: "test.foo", from: "localhost:30001", to: "localhost:30000", filter: { num: { $gte: MinKey, $lt: 0.0 } }, shardId: "test.foo-num_MinKey", configdb: "localhost:30000" } reslen:69 13770ms m30001| [conn2] Tue Jul 6 20:28:56 shardVersionOk failed ns:test.foo your version is too old ns: test.foo m30001| [conn2] Tue Jul 6 20:28:56 got write with an old config - writing back m30001| [conn2] Tue Jul 6 20:28:56 writing back msg with len: 51284 op: 2002 m30001| [conn2] Tue Jul 6 20:28:56 shardVersionOk failed ns:test.foo your version is too old ns: test.foo m30001| [conn2] Tue Jul 6 20:28:56 got write with an old config - writing back m30001| [conn2] Tue Jul 6 20:28:56 writing back msg with len: 51284 op: 2002 m30001| [conn3] Tue Jul 6 20:28:56 query admin.$cmd ntoreturn:1 command: { writebacklisten: ObjectId('4c33ca37d52bed420ed5a7a1') } reslen:51387 16300ms m30001| [conn2] Tue Jul 6 20:28:56 shardVersionOk failed ns:test.foo your version is too old ns: test.foo m30001| [conn2] Tue Jul 6 20:28:56 got write with an old config - writing back m30001| [conn2] Tue Jul 6 20:28:56 writing back msg with len: 51284 op: 2002 m31000| [WriteBackListener] Tue Jul 6 20:28:56 writebacklisten result: { data: { writeBack: true, ns: "test.foo", msg: BinData }, ok: 1.0 } m31000| [WriteBackListener] Tue Jul 6 20:28:56 reloading shard info for: test.foo m30001| [conn2] Tue Jul 6 20:28:56 shardVersionOk failed ns:test.foo your version is too old ns: test.foo m30001| [conn2] Tue Jul 6 20:28:56 got write with an old config - writing back m30001| [conn2] Tue Jul 6 20:28:56 writing back msg with len: 51284 op: 2002 m31000| [conn1] Tue Jul 6 20:28:56 setShardVersion shard1 localhost:30001 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 2000|3, serverID: ObjectId('4c33ca37d52bed420ed5a7a1'), shard: "shard1", shardHost: "localhost:30001" } 0x606a70 m31000| [WriteBackListener] Tue Jul 6 20:28:56 setShardVersion shard1 localhost:30001 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 2000|3, serverID: ObjectId('4c33ca37d52bed420ed5a7a1'), shard: "shard1", shardHost: "localhost:30001" } 0x6078b0 m31000| [WriteBackListener] Tue Jul 6 20:28:56 setShardVersion success! m31000| [WriteBackListener] Tue Jul 6 20:28:56 retrying insert because of StaleConfigException: { _id: ObjectId('4c33ca3a5a337f0555953685'), num: 925.0, s: "asocsancdnsjfnsdnfsjdhfasdfasdfasdfnsadofnsadlkfnsaldknfsadasocsancdns..." } m31000| [WriteBackListener] Tue Jul 6 20:28:56 writebacklisten result: { data: { writeBack: true, ns: "test.foo", msg: BinData }, ok: 1.0 } m31000| [WriteBackListener] Tue Jul 6 20:28:56 reloading shard info for: test.foo m31000| [WriteBackListener] Tue Jul 6 20:28:56 setShardVersion shard1 localhost:30001 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 2000|3, serverID: ObjectId('4c33ca37d52bed420ed5a7a1'), shard: "shard1", shardHost: "localhost:30001" } 0x6078b0 m31000| [WriteBackListener] Tue Jul 6 20:28:56 setShardVersion success! m31000| [WriteBackListener] Tue Jul 6 20:28:56 retrying insert because of StaleConfigException: { _id: ObjectId('4c33ca3a5a337f0555953686'), num: 926.0, s: "asocsancdnsjfnsdnfsjdhfasdfasdfasdfnsadofnsadlkfnsaldknfsadasocsancdns..." } m31000| [WriteBackListener] Tue Jul 6 20:28:56 writebacklisten result: { data: { writeBack: true, ns: "test.foo", msg: BinData }, ok: 1.0 } m31000| [WriteBackListener] Tue Jul 6 20:28:56 reloading shard info for: test.foo m31000| [WriteBackListener] Tue Jul 6 20:28:56 setShardVersion shard1 localhost:30001 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 2000|3, serverID: ObjectId('4c33ca37d52bed420ed5a7a1'), shard: "shard1", shardHost: "localhost:30001" } 0x6078b0 m31000| [WriteBackListener] Tue Jul 6 20:28:56 setShardVersion success! m31000| [WriteBackListener] Tue Jul 6 20:28:56 retrying insert because of StaleConfigException: { _id: ObjectId('4c33ca3a5a337f0555953687'), num: 927.0, s: "asocsancdnsjfnsdnfsjdhfasdfasdfasdfnsadofnsadlkfnsaldknfsadasocsancdns..." } m31000| [WriteBackListener] Tue Jul 6 20:28:56 writebacklisten result: { data: { writeBack: true, ns: "test.foo", msg: BinData }, ok: 1.0 } m31000| [WriteBackListener] Tue Jul 6 20:28:56 reloading shard info for: test.foo m31000| [WriteBackListener] Tue Jul 6 20:28:56 setShardVersion shard1 localhost:30001 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 2000|3, serverID: ObjectId('4c33ca37d52bed420ed5a7a1'), shard: "shard1", shardHost: "localhost:30001" } 0x6078b0 m31000| [WriteBackListener] Tue Jul 6 20:28:56 setShardVersion success! m31000| [WriteBackListener] Tue Jul 6 20:28:56 retrying insert because of StaleConfigException: { _id: ObjectId('4c33ca3a5a337f0555953688'), num: 928.0, s: "asocsancdnsjfnsdnfsjdhfasdfasdfasdfnsadofnsadlkfnsaldknfsadasocsancdns..." } m31000| [conn1] Tue Jul 6 20:28:56 setShardVersion success! m31000| [conn1] Tue Jul 6 20:28:56 retrying insert because of StaleConfigException: { _id: ObjectId('4c33ca485a337f0555953689'), num: 929.0, s: "asocsancdnsjfnsdnfsjdhfasdfasdfasdfnsadofnsadlkfnsaldknfsadasocsancdns..." } m31000| [conn1] Tue Jul 6 20:28:56 setShardVersion shard1 localhost:30001 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 2000|3, serverID: ObjectId('4c33ca37d52bed420ed5a7a1'), shard: "shard1", shardHost: "localhost:30001" } 0x606a70 m31000| [conn1] Tue Jul 6 20:28:56 setShardVersion success! m31000| [conn1] Tue Jul 6 20:28:56 retrying insert because of StaleConfigException: { _id: ObjectId('4c33ca485a337f0555953689'), num: 929.0, s: "asocsancdnsjfnsdnfsjdhfasdfasdfasdfnsadofnsadlkfnsaldknfsadasocsancdns..." } j:9 : 14296 j:10 : 147 m31000| [conn1] Tue Jul 6 20:28:56 splitIfShould : 0x608d70 m31000| [conn1] Tue Jul 6 20:28:56 autosplitting test.foo size: 52434888 shard: shard ns:test.foo shard: shard1:localhost:30001 lastmod: 2|3 min: { num: 0.0 } max: { num: MaxKey } m31000| [conn1] Tue Jul 6 20:28:56 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.foo", state: 1, when: new Date(1278462536882), who: "duane.local:1278462536:282475249", why: "split-shard ns:test.foo shard: shard1:localhost:30001 lastmod: 2|3 mi..." } m31000| [conn1] Tue Jul 6 20:28:56 before split on 1 points m31000| self : shard ns:test.foo shard: shard1:localhost:30001 lastmod: 2|3 min: { num: 0.0 } max: { num: MaxKey } m31000| [conn1] Tue Jul 6 20:28:56 after split: m31000| shard ns:test.foo shard: shard1:localhost:30001 lastmod: 2|3 min: { num: 0.0 } max: { num: 1112.0 } m31000| [conn1] Tue Jul 6 20:28:56 new chunkshard ns:test.foo shard: shard1:localhost:30001 lastmod: 0|0 min: { num: 1112.0 } max: { num: MaxKey } m31000| [conn1] Tue Jul 6 20:28:56 { _id: "duane.local-2010-6-7-0-28-1", server: "duane.local", time: new Date(1278462536884), what: "split", ns: "test.foo", details: { before: { min: { num: 0.0 }, max: { num: MaxKey } }, left: { min: { num: 0.0 }, max: { num: 1112.0 } }, right: { min: { num: 1112.0 }, max: { num: MaxKey } } } } m31000| [conn1] Tue Jul 6 20:28:56 dist_lock unlock: { _id: "test.foo", state: 0, when: new Date(1278462536882), who: "duane.local:1278462536:282475249", why: "split-shard ns:test.foo shard: shard1:localhost:30001 lastmod: 2|3 mi..." } m31000| [conn1] Tue Jul 6 20:28:56 setShardVersion shard1 localhost:30001 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 3000|1, serverID: ObjectId('4c33ca37d52bed420ed5a7a1'), shard: "shard1", shardHost: "localhost:30001" } 0x606a70 m31000| [conn1] Tue Jul 6 20:28:56 setShardVersion success! m31000| [conn1] Tue Jul 6 20:28:56 picking shard: shard: shard0:localhost:30000 mapped: 64 writeLock: 0 m31000| [conn1] Tue Jul 6 20:28:56 moving chunk (auto): shard ns:test.foo shard: shard1:localhost:30001 lastmod: 3|1 min: { num: 1112.0 } max: { num: MaxKey } to: shard0:localhost:30000 #objects: 1 m31000| [conn1] Tue Jul 6 20:28:56 moving chunk ns: test.foo moving ( shard ns:test.foo shard: shard1:localhost:30001 lastmod: 3|1 min: { num: 1112.0 } max: { num: MaxKey }) shard1:localhost:30001 -> shard0:localhost:30000 m30001| [conn6] Tue Jul 6 20:28:56 got movechunk: { moveChunk: "test.foo", from: "localhost:30001", to: "localhost:30000", filter: { num: { $gte: 1112.0, $lt: MaxKey } }, shardId: "test.foo-num_1112.0", configdb: "localhost:30000" } m30001| [conn6] Tue Jul 6 20:28:56 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.foo", state: 1, when: new Date(1278462536886), who: "duane.local:1278462536:1639518274", why: "migrate-{ num: { $gte: 1112.0, $lt: MaxKey } }" } m30000| [conn5] Tue Jul 6 20:28:56 startCloneCollection. db:admin collection:test.foo from: localhost:30001 query: { num: { $gte: 1112.0, $lt: MaxKey } } m30001| [initandlisten] Tue Jul 6 20:28:56 connection accepted from 127.0.0.1:54116 #8 m30001| [conn8] Tue Jul 6 20:28:56 started logCollection with cmd obj: { logCollection: "test.foo", start: 1 } m30001| [conn8] Tue Jul 6 20:28:56 end connection 127.0.0.1:54116 m30000| [conn5] Tue Jul 6 20:28:58 finishCloneCollection. db:admin collection:test.foo from: localhost:30001 query: { num: { $gte: 1112.0, $lt: MaxKey } } m30001| [initandlisten] Tue Jul 6 20:28:58 connection accepted from 127.0.0.1:54117 #9 m30001| [conn9] Tue Jul 6 20:28:58 started logCollection with cmd obj: { logCollection: "test.foo", validateComplete: 1 } m30001| [conn9] Tue Jul 6 20:28:58 end connection 127.0.0.1:54117 m30001| [conn6] Tue Jul 6 20:28:58 { _id: "duane.local-2010-6-7-0-28-1", server: "duane.local", time: new Date(1278462538900), what: "moveChunk", ns: "test.foo", details: { range: { num: { $gte: 1112.0, $lt: MaxKey } }, from: "shard1", to: "shard0" } } m30001| [conn6] warning: Tue Jul 6 20:28:58 deleting data before ensuring no more cursors TODO m30001| [conn6] Tue Jul 6 20:28:58 moveChunk deleted: 1 m30001| [conn6] Tue Jul 6 20:28:58 dist_lock unlock: { _id: "test.foo", state: 0, when: new Date(1278462536886), who: "duane.local:1278462536:1639518274", why: "migrate-{ num: { $gte: 1112.0, $lt: MaxKey } }" } m30001| [conn6] Tue Jul 6 20:28:58 query admin.$cmd ntoreturn:1 command: { moveChunk: "test.foo", from: "localhost:30001", to: "localhost:30000", filter: { num: { $gte: 1112.0, $lt: MaxKey } }, shardId: "test.foo-num_1112.0", configdb: "localhost:30000" } reslen:69 2014ms m31000| creating WriteBackListener for: localhost:30000 m31000| [conn1] Tue Jul 6 20:28:58 setShardVersion shard0 localhost:30000 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 3000|2, serverID: ObjectId('4c33ca37d52bed420ed5a7a1'), shard: "shard0", shardHost: "localhost:30000" } 0x6052e0 m31000| [conn1] Tue Jul 6 20:28:58 setShardVersion failed! m31000| { need_authoritative: true, errmsg: "first setShardVersion", ok: 0.0 } m31000| [conn1] Tue Jul 6 20:28:58 reloading shard info for: test.foo m30000| [initandlisten] Tue Jul 6 20:28:58 connection accepted from 127.0.0.1:54118 #6 m31000| [conn1] Tue Jul 6 20:28:58 setShardVersion shard0 localhost:30000 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 3000|2, serverID: ObjectId('4c33ca37d52bed420ed5a7a1'), authoritative: true, shard: "shard0", shardHost: "localhost:30000" } 0x6052e0 m31000| [conn1] Tue Jul 6 20:28:58 setShardVersion success! m31000| [conn1] Tue Jul 6 20:28:58 retrying insert because of StaleConfigException: { _id: ObjectId('4c33ca485a337f0555953741'), num: 1113.0, s: "asocsancdnsjfnsdnfsjdhfasdfasdfasdfnsadofnsadlkfnsaldknfsadasocsancdns..." } m30000| Tue Jul 6 20:28:59 allocating new datafile /data/db/auto20/test.1, filling with zeroes... m30000| Tue Jul 6 20:28:59 done allocating datafile /data/db/auto20/test.1, size: 32MB, took 0.057 secs j:11 : 2232 m31000| [conn1] Tue Jul 6 20:28:59 splitIfShould : 0x6095d0 j:12 : 163 j:13 : 160 m31000| [conn1] Tue Jul 6 20:28:59 splitIfShould : 0x6095d0 j:14 : 159 m30999| [Balancer] Tue Jul 6 20:28:59 balancer: start balancing round m30999| [Balancer] Tue Jul 6 20:28:59 balancer: can't balance without more active shards m30999| [Balancer] Tue Jul 6 20:28:59 balancer: no need to move any chunk j:15 : 154 m31000| [conn1] Tue Jul 6 20:28:59 splitIfShould : 0x6095d0 j:16 : 150 m30000| Tue Jul 6 20:28:59 allocating new datafile /data/db/auto20/test.2, filling with zeroes... m30000| Tue Jul 6 20:29:00 done allocating datafile /data/db/auto20/test.2, size: 64MB, took 0.111 secs m30000| [conn2] Tue Jul 6 20:29:00 insert test.foo 112ms j:17 : 254 m31000| [conn1] Tue Jul 6 20:29:00 splitIfShould : 0x6095d0 j:18 : 150 j:19 : 149 m31000| [conn1] Tue Jul 6 20:29:00 splitIfShould : 0x6095d0 m31000| [conn1] Tue Jul 6 20:29:00 autosplitting test.foo size: 47463056 shard: shard ns:test.foo shard: shard0:localhost:30000 lastmod: 3|2 min: { num: 1112.0 } max: { num: MaxKey } m31000| [conn1] Tue Jul 6 20:29:00 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.foo", state: 1, when: new Date(1278462540493), who: "duane.local:1278462540:1622650073", why: "split-shard ns:test.foo shard: shard0:localhost:30000 lastmod: 3|2 mi..." } m31000| [conn1] Tue Jul 6 20:29:00 before split on 1 points m31000| self : shard ns:test.foo shard: shard0:localhost:30000 lastmod: 3|2 min: { num: 1112.0 } max: { num: MaxKey } m31000| [conn1] Tue Jul 6 20:29:00 after split: m31000| shard ns:test.foo shard: shard0:localhost:30000 lastmod: 3|2 min: { num: 1112.0 } max: { num: 2037.0 } m31000| [conn1] Tue Jul 6 20:29:00 new chunkshard ns:test.foo shard: shard0:localhost:30000 lastmod: 0|0 min: { num: 2037.0 } max: { num: MaxKey } m31000| [conn1] Tue Jul 6 20:29:00 { _id: "duane.local-2010-6-7-0-29-2", server: "duane.local", time: new Date(1278462540495), what: "split", ns: "test.foo", details: { before: { min: { num: 1112.0 }, max: { num: MaxKey } }, left: { min: { num: 1112.0 }, max: { num: 2037.0 } }, right: { min: { num: 2037.0 }, max: { num: MaxKey } } } } m31000| [conn1] Tue Jul 6 20:29:00 dist_lock unlock: { _id: "test.foo", state: 0, when: new Date(1278462540493), who: "duane.local:1278462540:1622650073", why: "split-shard ns:test.foo shard: shard0:localhost:30000 lastmod: 3|2 mi..." } m31000| [conn1] Tue Jul 6 20:29:00 setShardVersion shard0 localhost:30000 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 4000|1, serverID: ObjectId('4c33ca37d52bed420ed5a7a1'), shard: "shard0", shardHost: "localhost:30000" } 0x6052e0 m31000| [conn1] Tue Jul 6 20:29:00 setShardVersion success! m31000| [conn1] Tue Jul 6 20:29:00 picking shard: shard: shard0:localhost:30000 mapped: 160 writeLock: 0 m31000| [conn1] Tue Jul 6 20:29:00 not moving chunk: shard ns:test.foo shard: shard0:localhost:30000 lastmod: 4|0 min: { num: 1112.0 } max: { num: 2037.0 } b/c would move to same place shard0:localhost:30000 -> shard0:localhost:30000 j:20 : 157 j:21 : 147 m31000| [conn1] Tue Jul 6 20:29:00 splitIfShould : 0x607cc0 j:22 : 147 j:23 : 147 m31000| [conn1] Tue Jul 6 20:29:01 splitIfShould : 0x607cc0 j:24 : 149 m30000| Tue Jul 6 20:29:01 allocating new datafile /data/db/auto20/test.3, filling with zeroes... m30000| Tue Jul 6 20:29:01 done allocating datafile /data/db/auto20/test.3, size: 128MB, took 0.24 secs m30000| [conn2] Tue Jul 6 20:29:01 insert test.foo 241ms m31000| [conn1] Tue Jul 6 20:29:01 splitIfShould : 0x607cc0 j:25 : 386 j:26 : 160 m31000| [conn1] Tue Jul 6 20:29:01 splitIfShould : 0x607cc0 j:27 : 161 j:28 : 158 m31000| [conn1] Tue Jul 6 20:29:02 splitIfShould : 0x607cc0 m31000| [conn1] Tue Jul 6 20:29:02 autosplitting test.foo size: 47463056 shard: shard ns:test.foo shard: shard0:localhost:30000 lastmod: 4|1 min: { num: 2037.0 } max: { num: MaxKey } m31000| [conn1] Tue Jul 6 20:29:02 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.foo", state: 1, when: new Date(1278462542149), who: "duane.local:1278462542:984943658", why: "split-shard ns:test.foo shard: shard0:localhost:30000 lastmod: 4|1 mi..." } m31000| [conn1] Tue Jul 6 20:29:02 before split on 1 points m31000| self : shard ns:test.foo shard: shard0:localhost:30000 lastmod: 4|1 min: { num: 2037.0 } max: { num: MaxKey } m31000| [conn1] Tue Jul 6 20:29:02 after split: m31000| shard ns:test.foo shard: shard0:localhost:30000 lastmod: 4|1 min: { num: 2037.0 } max: { num: 2962.0 } m31000| [conn1] Tue Jul 6 20:29:02 new chunkshard ns:test.foo shard: shard0:localhost:30000 lastmod: 0|0 min: { num: 2962.0 } max: { num: MaxKey } m31000| [conn1] Tue Jul 6 20:29:02 { _id: "duane.local-2010-6-7-0-29-3", server: "duane.local", time: new Date(1278462542151), what: "split", ns: "test.foo", details: { before: { min: { num: 2037.0 }, max: { num: MaxKey } }, left: { min: { num: 2037.0 }, max: { num: 2962.0 } }, right: { min: { num: 2962.0 }, max: { num: MaxKey } } } } m31000| [conn1] Tue Jul 6 20:29:02 dist_lock unlock: { _id: "test.foo", state: 0, when: new Date(1278462542149), who: "duane.local:1278462542:984943658", why: "split-shard ns:test.foo shard: shard0:localhost:30000 lastmod: 4|1 mi..." } m31000| [conn1] Tue Jul 6 20:29:02 setShardVersion shard0 localhost:30000 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 5000|2, serverID: ObjectId('4c33ca37d52bed420ed5a7a1'), shard: "shard0", shardHost: "localhost:30000" } 0x6052e0 m31000| [conn1] Tue Jul 6 20:29:02 setShardVersion success! m31000| [conn1] Tue Jul 6 20:29:02 picking shard: shard: shard0:localhost:30000 mapped: 288 writeLock: 0 m31000| [conn1] Tue Jul 6 20:29:02 not moving chunk: shard ns:test.foo shard: shard0:localhost:30000 lastmod: 5|1 min: { num: 2037.0 } max: { num: 2962.0 } b/c would move to same place shard0:localhost:30000 -> shard0:localhost:30000 j:29 : 163 m30000| [conn6] Tue Jul 6 20:29:04 query admin.$cmd ntoreturn:1 command: { ismaster: 1 } reslen:87 2723ms m30000| [initandlisten] Tue Jul 6 20:29:04 connection accepted from 127.0.0.1:54119 #7 done inserting data datasize: { "size" : 56996672, "numObjects" : 1112, "millis" : 0, "ok" : 1 } test.foo-num_MinKey 2000|2 { "num" : { $minKey : 1 } } -> { "num" : 0 } shard0 test.foo test.foo-num_0.0 3000|3 { "num" : 0 } -> { "num" : 1112 } shard1 test.foo test.foo-num_1112.0 5000|0 { "num" : 1112 } -> { "num" : 2037 } shard0 test.foo test.foo-num_2037.0 5000|1 { "num" : 2037 } -> { "num" : 2962 } shard0 test.foo test.foo-num_2962.0 5000|2 { "num" : 2962 } -> { "num" : { $maxKey : 1 } } shard0 test.foo checkpoint B m30999| [Balancer] Tue Jul 6 20:29:09 balancer: start balancing round m30999| [Balancer] Tue Jul 6 20:29:09 balancer: can't balance without more active shards m30999| [Balancer] Tue Jul 6 20:29:09 balancer: no need to move any chunk m31000| [conn1] Tue Jul 6 20:29:10 setShardVersion shard1 localhost:30001 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 3000|3, serverID: ObjectId('4c33ca37d52bed420ed5a7a1'), shard: "shard1", shardHost: "localhost:30001" } 0x606a70 m31000| [conn1] Tue Jul 6 20:29:10 setShardVersion success! duane.local Tue Jul 06 2010 20:28:42 GMT-0400 (EDT) split test.foo { "num" : { $minKey : 1 } } -> { "num" : { $maxKey : 1 } } -->> ({ "num" : { $minKey : 1 } } -> { "num" : 0 }),({ "num" : 0 } -> { "num" : { $maxKey : 1 } }) duane.local Tue Jul 06 2010 20:28:56 GMT-0400 (EDT) moveChunk test.foo { "range" : { "num" : { "$gte" : { $minKey : 1 }, "$lt" : 0 } }, "from" : "shard1", "to" : "shard0" } duane.local Tue Jul 06 2010 20:28:56 GMT-0400 (EDT) split test.foo { "num" : 0 } -> { "num" : { $maxKey : 1 } } -->> ({ "num" : 0 } -> { "num" : 1112 }),({ "num" : 1112 } -> { "num" : { $maxKey : 1 } }) duane.local Tue Jul 06 2010 20:28:58 GMT-0400 (EDT) moveChunk test.foo { "range" : { "num" : { "$gte" : 1112, "$lt" : { $maxKey : 1 } } }, "from" : "shard1", "to" : "shard0" } duane.local Tue Jul 06 2010 20:29:00 GMT-0400 (EDT) split test.foo { "num" : 1112 } -> { "num" : { $maxKey : 1 } } -->> ({ "num" : 1112 } -> { "num" : 2037 }),({ "num" : 2037 } -> { "num" : { $maxKey : 1 } }) duane.local Tue Jul 06 2010 20:29:02 GMT-0400 (EDT) split test.foo { "num" : 2037 } -> { "num" : { $maxKey : 1 } } -->> ({ "num" : 2037 } -> { "num" : 2962 }),({ "num" : 2962 } -> { "num" : { $maxKey : 1 } }) missing: [ ] checkpoint B.a test.foo-num_MinKey 2000|2 { "num" : { $minKey : 1 } } -> { "num" : 0 } shard0 test.foo test.foo-num_0.0 3000|3 { "num" : 0 } -> { "num" : 1112 } shard1 test.foo test.foo-num_1112.0 5000|0 { "num" : 1112 } -> { "num" : 2037 } shard0 test.foo test.foo-num_2037.0 5000|1 { "num" : 2037 } -> { "num" : 2962 } shard0 test.foo test.foo-num_2962.0 5000|2 { "num" : 2962 } -> { "num" : { $maxKey : 1 } } shard0 test.foo m30999| [Balancer] Tue Jul 6 20:29:19 balancer: start balancing round m30999| [Balancer] Tue Jul 6 20:29:19 balancer: can't balance without more active shards m30999| [Balancer] Tue Jul 6 20:29:19 balancer: no need to move any chunk m30000| [initandlisten] Tue Jul 6 20:29:24 connection accepted from 127.0.0.1:54120 #8 m30999| [Balancer] Tue Jul 6 20:29:29 balancer: start balancing round m30999| [Balancer] Tue Jul 6 20:29:29 balancer: can't balance without more active shards m30999| [Balancer] Tue Jul 6 20:29:29 balancer: no need to move any chunk checkpoint C checkpoint D m31000| [conn1] Tue Jul 6 20:29:37 couldn't find database [test2] in config db m31000| [conn1] Tue Jul 6 20:29:37 picking shard: shard: shard0:localhost:30000 mapped: 288 writeLock: 0 m31000| [conn1] Tue Jul 6 20:29:37 put [test2] on: shard0:localhost:30000 m30000| Tue Jul 6 20:29:37 allocating new datafile /data/db/auto20/test2.ns, filling with zeroes... m30000| Tue Jul 6 20:29:37 done allocating datafile /data/db/auto20/test2.ns, size: 16MB, took 0.021 secs m30000| Tue Jul 6 20:29:37 allocating new datafile /data/db/auto20/test2.0, filling with zeroes... m30000| Tue Jul 6 20:29:37 done allocating datafile /data/db/auto20/test2.0, size: 16MB, took 0.021 secs m30000| [conn2] Tue Jul 6 20:29:37 building new index on { _id: 1 } for test2.foobar m30000| [conn2] Tue Jul 6 20:29:37 Buildindex test2.foobar idxNo:0 { name: "_id_", ns: "test2.foobar", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:29:37 done for 0 records 0.002secs checkpoint E m30999| [Balancer] Tue Jul 6 20:29:39 balancer: start balancing round m30999| [Balancer] Tue Jul 6 20:29:39 balancer: can't balance without more active shards m30999| [Balancer] Tue Jul 6 20:29:39 balancer: no need to move any chunk checkpoint F m31000| Tue Jul 6 20:29:41 connection accepted from 127.0.0.1:54121 #2 m31000| Tue Jul 6 20:29:41 connection accepted from 127.0.0.1:54122 #3 m31000| Tue Jul 6 20:29:41 connection accepted from 127.0.0.1:54123 #4 m31000| [conn2] Tue Jul 6 20:29:41 end connection 127.0.0.1:54121 m31000| [conn3] Tue Jul 6 20:29:41 end connection 127.0.0.1:54122 m31000| Tue Jul 6 20:29:41 connection accepted from 127.0.0.1:54124 #5 m31000| [conn4] Tue Jul 6 20:29:41 end connection 127.0.0.1:54123 m31000| Tue Jul 6 20:29:41 connection accepted from 127.0.0.1:54125 #6 m31000| [conn5] Tue Jul 6 20:29:41 end connection 127.0.0.1:54124 m31000| Tue Jul 6 20:29:41 connection accepted from 127.0.0.1:54126 #7 m31000| [conn6] Tue Jul 6 20:29:41 end connection 127.0.0.1:54125 m31000| Tue Jul 6 20:29:41 connection accepted from 127.0.0.1:54127 #8 m31000| [conn7] Tue Jul 6 20:29:41 end connection 127.0.0.1:54126 m31000| Tue Jul 6 20:29:41 connection accepted from 127.0.0.1:54128 #9 m31000| [conn8] Tue Jul 6 20:29:41 end connection 127.0.0.1:54127 m31000| Tue Jul 6 20:29:41 connection accepted from 127.0.0.1:54129 #10 m31000| [conn9] Tue Jul 6 20:29:41 end connection 127.0.0.1:54128 m31000| Tue Jul 6 20:29:41 connection accepted from 127.0.0.1:54130 #11 m31000| [conn10] Tue Jul 6 20:29:41 end connection 127.0.0.1:54129 m31000| Tue Jul 6 20:29:41 connection accepted from 127.0.0.1:54131 #12 m31000| [conn11] Tue Jul 6 20:29:41 end connection 127.0.0.1:54130 m31000| Tue Jul 6 20:29:41 connection accepted from 127.0.0.1:54132 #13 m31000| [conn12] Tue Jul 6 20:29:41 end connection 127.0.0.1:54131 m31000| Tue Jul 6 20:29:41 connection accepted from 127.0.0.1:54133 #14 m31000| [conn13] Tue Jul 6 20:29:41 end connection 127.0.0.1:54132 m31000| Tue Jul 6 20:29:41 connection accepted from 127.0.0.1:54134 #15 m31000| [conn14] Tue Jul 6 20:29:41 end connection 127.0.0.1:54133 m31000| Tue Jul 6 20:29:41 connection accepted from 127.0.0.1:54135 #16 m31000| [conn15] Tue Jul 6 20:29:41 end connection 127.0.0.1:54134 m31000| Tue Jul 6 20:29:41 connection accepted from 127.0.0.1:54136 #17 m31000| [conn16] Tue Jul 6 20:29:41 end connection 127.0.0.1:54135 m31000| Tue Jul 6 20:29:41 connection accepted from 127.0.0.1:54137 #18 m31000| [conn17] Tue Jul 6 20:29:41 end connection 127.0.0.1:54136 m31000| Tue Jul 6 20:29:41 connection accepted from 127.0.0.1:54138 #19 m31000| [conn18] Tue Jul 6 20:29:41 end connection 127.0.0.1:54137 m31000| Tue Jul 6 20:29:41 connection accepted from 127.0.0.1:54139 #20 m31000| [conn19] Tue Jul 6 20:29:41 end connection 127.0.0.1:54138 m31000| Tue Jul 6 20:29:41 connection accepted from 127.0.0.1:54140 #21 checkpoint G m31000| [conn20] Tue Jul 6 20:29:41 end connection 127.0.0.1:54139 m31000| Tue Jul 6 20:29:41 dbexit: received signal 15 rc:0 m30001| [conn6] Tue Jul 6 20:29:41 end connection 127.0.0.1:54114 m30001| [conn4] Tue Jul 6 20:29:41 end connection 127.0.0.1:54112 m30001| [conn2] Tue Jul 6 20:29:41 end connection 127.0.0.1:54109 m30000| [conn6] Tue Jul 6 20:29:41 end connection 127.0.0.1:54118 m30000| [conn8] Tue Jul 6 20:29:41 end connection 127.0.0.1:54120 m30000| [conn7] Tue Jul 6 20:29:41 end connection 127.0.0.1:54119 m30000| [conn2] Tue Jul 6 20:29:41 end connection 127.0.0.1:54103 shell: stopped mongo program on port 31000 m30999| Tue Jul 6 20:29:42 dbexit: received signal 15 rc:0 m30000| [conn3] Tue Jul 6 20:29:42 end connection 127.0.0.1:54106 shell: stopped mongo program on port 30999 m30000| Tue Jul 6 20:29:43 got kill or ctrl c signal 15 (Terminated), will terminate after current cmd ends m30000| [interruptThread] Tue Jul 6 20:29:43 now exiting m30000| Tue Jul 6 20:29:43 dbexit: m30000| [interruptThread] Tue Jul 6 20:29:43 shutdown: going to close listening sockets... m30000| [interruptThread] Tue Jul 6 20:29:43 going to close listening socket: 11 m30000| [interruptThread] Tue Jul 6 20:29:43 going to close listening socket: 12 m30000| [interruptThread] Tue Jul 6 20:29:43 shutdown: going to flush oplog... m30000| [interruptThread] Tue Jul 6 20:29:43 shutdown: going to close sockets... m30000| [interruptThread] Tue Jul 6 20:29:43 shutdown: waiting for fs preallocator... m30000| [interruptThread] Tue Jul 6 20:29:43 shutdown: closing all files... m30000| [conn5] Tue Jul 6 20:29:43 MessagingPort recv() errno:9 Bad file descriptor 127.0.0.1:54111 m30000| [conn5] Tue Jul 6 20:29:43 end connection 127.0.0.1:54111 m30000| [conn1] Tue Jul 6 20:29:43 MessagingPort recv() errno:9 Bad file descriptor 127.0.0.1:54099 m30000| [conn1] Tue Jul 6 20:29:43 end connection 127.0.0.1:54099 m30000| Tue Jul 6 20:29:43 closeAllFiles() finished m30000| [interruptThread] Tue Jul 6 20:29:43 shutdown: removing fs lock... m30000| Tue Jul 6 20:29:43 dbexit: really exiting now shell: stopped mongo program on port 30000 m30001| Tue Jul 6 20:29:44 got kill or ctrl c signal 15 (Terminated), will terminate after current cmd ends m30001| [interruptThread] Tue Jul 6 20:29:44 now exiting m30001| Tue Jul 6 20:29:44 dbexit: m30001| [interruptThread] Tue Jul 6 20:29:44 shutdown: going to close listening sockets... m30001| [interruptThread] Tue Jul 6 20:29:44 going to close listening socket: 14 m30001| [interruptThread] Tue Jul 6 20:29:44 going to close listening socket: 15 m30001| [interruptThread] Tue Jul 6 20:29:44 shutdown: going to flush oplog... m30001| [interruptThread] Tue Jul 6 20:29:44 shutdown: going to close sockets... m30001| [interruptThread] Tue Jul 6 20:29:44 shutdown: waiting for fs preallocator... m30001| [interruptThread] Tue Jul 6 20:29:44 shutdown: closing all files... m30001| [conn1] Tue Jul 6 20:29:44 MessagingPort recv() errno:9 Bad file descriptor 127.0.0.1:54101 m30001| Tue Jul 6 20:29:44 closeAllFiles() finished m30001| [interruptThread] Tue Jul 6 20:29:44 shutdown: removing fs lock... m30001| [conn1] Tue Jul 6 20:29:44 end connection 127.0.0.1:54101 m30001| Tue Jul 6 20:29:44 dbexit: really exiting now shell: stopped mongo program on port 30001 *** auto2 completed successfully *** [initandlisten] Tue Jul 6 20:29:46 connection accepted from 127.0.0.1:54141 #4 [conn4] Tue Jul 6 20:29:47 end connection 127.0.0.1:54141 [initandlisten] Tue Jul 6 20:29:47 connection accepted from 127.0.0.1:54142 #5 Tue Jul 6 20:29:47 ****ok. response.data:1 time:0.202ms len: 5 data: i am fine - dbMsg deprecated [conn5] Tue Jul 6 20:29:48 end connection 127.0.0.1:54142 MongoDB shell version: 1.5.5-pre- shell: started program /Users/10gen/work/buildslaves/mongo/OS_X_104_32bit/mongo/mongod --port 30000 --dbpath /data/db/count10 --noprealloc --smallfiles --oplogSize 2 --nohttpinterface m30000| Tue Jul 6 20:29:48 MongoDB starting : pid=29458 port=30000 dbpath=/data/db/count10 32-bit m30000| m30000| ** NOTE: This is a development version (1.5.5-pre-) of MongoDB. m30000| ** Not recommended for production. m30000| m30000| ** NOTE: when using MongoDB 32 bit, you are limited to about 2 gigabytes of data m30000| ** see http://blog.mongodb.org/post/137788967/32-bit-limitations m30000| m30000| Tue Jul 6 20:29:48 db version v1.5.5-pre-, pdfile version 4.5 m30000| Tue Jul 6 20:29:48 git version: 47170341084f47c9398f1002e0585cd10db9c7a2 m30000| Tue Jul 6 20:29:48 sys info: Darwin duane.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 BOOST_LIB_VERSION=1_39 m30000| [initandlisten] Tue Jul 6 20:29:48 waiting for connections on port 30000 m30000| [initandlisten] Tue Jul 6 20:29:48 connection accepted from 127.0.0.1:54144 #1 shell: started program /Users/10gen/work/buildslaves/mongo/OS_X_104_32bit/mongo/mongod --port 30001 --dbpath /data/db/count11 --noprealloc --smallfiles --oplogSize 2 --nohttpinterface m30001| Tue Jul 6 20:29:48 MongoDB starting : pid=29459 port=30001 dbpath=/data/db/count11 32-bit m30001| m30001| ** NOTE: This is a development version (1.5.5-pre-) of MongoDB. m30001| ** Not recommended for production. m30001| m30001| ** NOTE: when using MongoDB 32 bit, you are limited to about 2 gigabytes of data m30001| ** see http://blog.mongodb.org/post/137788967/32-bit-limitations m30001| m30001| Tue Jul 6 20:29:48 db version v1.5.5-pre-, pdfile version 4.5 m30001| Tue Jul 6 20:29:48 git version: 47170341084f47c9398f1002e0585cd10db9c7a2 m30001| Tue Jul 6 20:29:48 sys info: Darwin duane.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 BOOST_LIB_VERSION=1_39 m30001| [initandlisten] Tue Jul 6 20:29:48 waiting for connections on port 30001 m30001| [initandlisten] Tue Jul 6 20:29:48 connection accepted from 127.0.0.1:54146 #1 shell: started program /Users/10gen/work/buildslaves/mongo/OS_X_104_32bit/mongo/mongos --port 31000 -vvvvvvvvvv --configdb localhost:30000 m30000| Tue Jul 6 20:29:48 allocating new datafile /data/db/count10/config.ns, filling with zeroes... m30000| Tue Jul 6 20:29:48 done allocating datafile /data/db/count10/config.ns, size: 16MB, took 0.027 secs m30000| Tue Jul 6 20:29:48 allocating new datafile /data/db/count10/config.0, filling with zeroes... m30000| Tue Jul 6 20:29:48 done allocating datafile /data/db/count10/config.0, size: 16MB, took 0.022 secs m30000| [conn1] Tue Jul 6 20:29:48 building new index on { _id: 1 } for config.settings m30000| [conn1] Tue Jul 6 20:29:48 Buildindex config.settings idxNo:0 { name: "_id_", ns: "config.settings", key: { _id: 1 } } m30000| [conn1] Tue Jul 6 20:29:48 done for 0 records 0.001secs m31000| Tue Jul 6 20:29:50 /Users/10gen/work/buildslaves/mongo/OS_X_104_32bit/mongo/mongos db version v1.5.5-pre-, pdfile version 4.5 starting (--help for usage) m31000| Tue Jul 6 20:29:50 git version: 47170341084f47c9398f1002e0585cd10db9c7a2 m31000| Tue Jul 6 20:29:50 sys info: Darwin duane.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 BOOST_LIB_VERSION=1_39 m31000| Tue Jul 6 20:29:50 config string : localhost:30000 m31000| Tue Jul 6 20:29:50 creating new connection for pool to:localhost:30000 m30000| [initandlisten] Tue Jul 6 20:29:50 connection accepted from 127.0.0.1:54158 #2 m30000| [conn2] Tue Jul 6 20:29:50 building new index on { _id: 1 } for config.version m30000| [conn2] Tue Jul 6 20:29:50 Buildindex config.version idxNo:0 { name: "_id_", ns: "config.version", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:29:50 done for 0 records 0secs m31000| Tue Jul 6 20:29:50 MaxChunkSize: value: 50.0 m30000| [conn2] Tue Jul 6 20:29:50 building new index on { _id: 1 } for config.chunks m30000| [conn2] Tue Jul 6 20:29:50 Buildindex config.chunks idxNo:0 { name: "_id_", ns: "config.chunks", key: { _id: 1 } } m31000| [Balancer] Tue Jul 6 20:29:50 balancer myid: duane.local:31000 m30000| [conn2] Tue Jul 6 20:29:50 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:29:50 info: creating collection config.chunks on add index m30000| building new index on { ns: 1, min: 1 } for config.chunks m30000| [conn2] Tue Jul 6 20:29:50 Buildindex config.chunks idxNo:1 { ns: "config.chunks", key: { ns: 1, min: 1 }, name: "ns_1_min_1", unique: true } m30000| [conn2] Tue Jul 6 20:29:50 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:29:50 building new index on { ns: 1, shard: 1, min: 1 } for config.chunks m30000| [conn2] Tue Jul 6 20:29:50 Buildindex config.chunks idxNo:2 { ns: "config.chunks", key: { ns: 1, shard: 1, min: 1 }, name: "ns_1_shard_1_min_1", unique: true } m30000| [conn2] Tue Jul 6 20:29:50 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:29:50 building new index on { ns: 1, lastmod: 1 } for config.chunks m30000| [conn2] Tue Jul 6 20:29:50 Buildindex config.chunks idxNo:3 { ns: "config.chunks", key: { ns: 1, lastmod: 1 }, name: "ns_1_lastmod_1", unique: true } m31000| Tue Jul 6 20:29:50 waiting for connections on port 31000 m31000| Tue Jul 6 20:29:50 fd limit hard:9223372036854775807 soft:256 max conn: 204 m30000| [conn2] Tue Jul 6 20:29:50 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:29:50 building new index on { _id: 1 } for config.shards m30000| [conn2] Tue Jul 6 20:29:50 Buildindex config.shards idxNo:0 { name: "_id_", ns: "config.shards", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:29:50 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:29:50 info: creating collection config.shards on add index m30000| building new index on { host: 1 } for config.shards m30000| [conn2] Tue Jul 6 20:29:50 Buildindex config.shards idxNo:1 { ns: "config.shards", key: { host: 1 }, name: "host_1", unique: true } m30000| [conn2] Tue Jul 6 20:29:50 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:29:50 building new index on { _id: 1 } for config.mongos m30000| [conn2] Tue Jul 6 20:29:50 Buildindex config.mongos idxNo:0 { name: "_id_", ns: "config.mongos", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:29:50 done for 0 records 0.001secs m31000| Tue Jul 6 20:29:51 connection accepted from 127.0.0.1:54159 #1 m31000| [conn1] Tue Jul 6 20:29:51 couldn't find database [admin] in config db m31000| [conn1] Tue Jul 6 20:29:51 updated modelconfig.databases { _id: "admin" } { _id: "admin", partitioned: false, primary: "config" } m31000| [conn1] Tue Jul 6 20:29:51 put [admin] on: config:localhost:30000 m31000| [conn1] Tue Jul 6 20:29:51 client id: d38f0000 admin.$cmd 2004 m31000| [conn1] Tue Jul 6 20:29:51 Request::process ns: admin.$cmd msg id:-994904729 attempt: 0 m31000| [conn1] Tue Jul 6 20:29:51 single query: admin.$cmd { addshard: "localhost:30000", allowLocal: true } ntoreturn: -1 m30000| [conn2] Tue Jul 6 20:29:51 building new index on { _id: 1 } for config.databases m30000| [conn2] Tue Jul 6 20:29:51 Buildindex config.databases idxNo:0 { name: "_id_", ns: "config.databases", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:29:51 done for 0 records 0secs m31000| [conn1] Tue Jul 6 20:29:51 creating new connection for pool to:localhost:30000 m30000| [initandlisten] Tue Jul 6 20:29:51 connection accepted from 127.0.0.1:54160 #3 m31000| [conn1] Tue Jul 6 20:29:51 going to add shard: { _id: "shard0", host: "localhost:30000" } m31000| [conn1] Tue Jul 6 20:29:51 client id: d38f0000 admin.$cmd 2004 m31000| [conn1] Tue Jul 6 20:29:51 Request::process ns: admin.$cmd msg id:-994904728 attempt: 0 m31000| [conn1] Tue Jul 6 20:29:51 single query: admin.$cmd { addshard: "localhost:30001", allowLocal: true } ntoreturn: -1 m31000| [conn1] Tue Jul 6 20:29:51 creating new connection for pool to:localhost:30001 m30001| [initandlisten] Tue Jul 6 20:29:51 connection accepted from 127.0.0.1:54161 #2 m31000| [conn1] Tue Jul 6 20:29:51 going to add shard: { _id: "shard1", host: "localhost:30001" } m31000| [conn1] Tue Jul 6 20:29:51 couldn't find database [test] in config db m31000| [conn1] Tue Jul 6 20:29:51 picking shard: shard: shard1:localhost:30001 mapped: 0 writeLock: 0 m31000| [conn1] Tue Jul 6 20:29:51 updated modelconfig.databases { _id: "test" } { _id: "test", partitioned: false, primary: "shard1" } m31000| [conn1] Tue Jul 6 20:29:51 put [test] on: shard1:localhost:30001 m31000| [conn1] Tue Jul 6 20:29:51 client id: d38f0000 test.bar 2002 m31000| [conn1] Tue Jul 6 20:29:51 Request::process ns: test.bar msg id:-994904727 attempt: 0 m31000| [conn1] Tue Jul 6 20:29:51 single write: test.bar m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 NEW m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 WANT ONE pool empty: 1 m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 CREATING NEW CONNECTION m31000| creating WriteBackListener for: localhost:30001 m31000| [WriteBackListener] Tue Jul 6 20:29:51 creating new connection for pool to:localhost:30001 m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 s: 0x606ea0 addr: localhost:30001 PUSHING: 0x606a70 m31000| [conn1] Tue Jul 6 20:29:51 client id: d38f0000 test.bar 2002 m31000| [conn1] Tue Jul 6 20:29:51 Request::process ns: test.bar msg id:-994904726 attempt: 0 m31000| [conn1] Tue Jul 6 20:29:51 single write: test.bar m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 WANT ONE pool empty: 0 m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 s: 0x606ea0 addr: localhost:30001 GOT 0x606a70 m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 s: 0x606ea0 addr: localhost:30001 PUSHING: 0x606a70 m31000| [conn1] Tue Jul 6 20:29:51 client id: d38f0000 test.bar 2002 m31000| [conn1] Tue Jul 6 20:29:51 Request::process ns: test.bar msg id:-994904725 attempt: 0 m31000| [conn1] Tue Jul 6 20:29:51 single write: test.bar m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 WANT ONE pool empty: 0 m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 s: 0x606ea0 addr: localhost:30001 GOT 0x606a70 m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 s: 0x606ea0 addr: localhost:30001 PUSHING: 0x606a70 m31000| [conn1] Tue Jul 6 20:29:51 client id: d38f0000 test.$cmd 2004 m31000| [conn1] Tue Jul 6 20:29:51 Request::process ns: test.$cmd msg id:-994904724 attempt: 0 m31000| [conn1] Tue Jul 6 20:29:51 single query: test.$cmd { count: "bar", query: {}, fields: {} } ntoreturn: -1 m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 WANT ONE pool empty: 0 m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 s: 0x606ea0 addr: localhost:30001 GOT 0x606a70 m30001| [initandlisten] Tue Jul 6 20:29:51 connection accepted from 127.0.0.1:54162 #3 m30001| Tue Jul 6 20:29:51 allocating new datafile /data/db/count11/test.ns, filling with zeroes... m30001| Tue Jul 6 20:29:51 done allocating datafile /data/db/count11/test.ns, size: 16MB, took 0.023 secs m30001| Tue Jul 6 20:29:51 allocating new datafile /data/db/count11/test.0, filling with zeroes... m30001| Tue Jul 6 20:29:51 done allocating datafile /data/db/count11/test.0, size: 16MB, took 0.021 secs m30001| [conn2] Tue Jul 6 20:29:51 building new index on { _id: 1 } for test.bar m30001| [conn2] Tue Jul 6 20:29:51 Buildindex test.bar idxNo:0 { name: "_id_", ns: "test.bar", key: { _id: 1 } } m30001| [conn2] Tue Jul 6 20:29:51 done for 0 records 0.002secs m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 s: 0x606ea0 addr: localhost:30001 PUSHING: 0x606a70 m31000| [conn1] Tue Jul 6 20:29:51 client id: d38f0000 test.$cmd 2004 m31000| [conn1] Tue Jul 6 20:29:51 Request::process ns: test.$cmd msg id:-994904723 attempt: 0 m31000| [conn1] Tue Jul 6 20:29:51 single query: test.$cmd { count: "bar", query: { n: 1.0 }, fields: {} } ntoreturn: -1 m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 WANT ONE pool empty: 0 m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 s: 0x606ea0 addr: localhost:30001 GOT 0x606a70 m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 s: 0x606ea0 addr: localhost:30001 PUSHING: 0x606a70 m31000| [conn1] Tue Jul 6 20:29:51 client id: d38f0000 admin.$cmd 2004 m31000| [conn1] Tue Jul 6 20:29:51 Request::process ns: admin.$cmd msg id:-994904722 attempt: 0 m31000| [conn1] Tue Jul 6 20:29:51 single query: admin.$cmd { enablesharding: "test" } ntoreturn: -1 m31000| [conn1] Tue Jul 6 20:29:51 enabling sharding on: test m31000| [conn1] Tue Jul 6 20:29:51 updated modelconfig.databases { _id: "test" } { _id: "test", partitioned: true, primary: "shard1" } m31000| [conn1] Tue Jul 6 20:29:51 client id: d38f0000 admin.$cmd 2004 m31000| [conn1] Tue Jul 6 20:29:51 Request::process ns: admin.$cmd msg id:-994904721 attempt: 0 m31000| [conn1] Tue Jul 6 20:29:51 single query: admin.$cmd { shardcollection: "test.foo", key: { name: 1.0 } } ntoreturn: -1 m31000| [conn1] Tue Jul 6 20:29:51 creating new connection for pool to:localhost:30001 m30001| [initandlisten] Tue Jul 6 20:29:51 connection accepted from 127.0.0.1:54163 #4 m31000| [conn1] Tue Jul 6 20:29:51 CMD: shardcollection: { shardcollection: "test.foo", key: { name: 1.0 } } m31000| [conn1] Tue Jul 6 20:29:51 enable sharding on: test.foo with shard key: { name: 1.0 } m31000| [conn1] Tue Jul 6 20:29:51 ChunkManager::save update: { applyOps: [ { op: "u", b: true, ns: "config.chunks", o: { _id: "test.foo-name_MinKey", lastmod: Timestamp 1000|0, ns: "test.foo", min: { name: MinKey }, max: { name: MaxKey }, shard: "shard1" }, o2: { _id: "test.foo-name_MinKey" } } ] } m31000| [conn1] Tue Jul 6 20:29:51 no chunks for:test.foo so creating first: shard ns:test.foo shard: shard1:localhost:30001 lastmod: 1|0 min: { name: MinKey } max: { name: MaxKey } m31000| [conn1] Tue Jul 6 20:29:51 updated modelconfig.databases { _id: "test" } { _id: "test", partitioned: true, primary: "shard1", sharded: { test.foo: { key: { name: 1.0 }, unique: false } } } m30001| [conn4] Tue Jul 6 20:29:51 building new index on { _id: 1 } for test.foo m30001| [conn4] Tue Jul 6 20:29:51 Buildindex test.foo idxNo:0 { name: "_id_", ns: "test.foo", key: { _id: 1 } } m30001| [conn4] Tue Jul 6 20:29:51 done for 0 records 0secs m30001| [conn4] Tue Jul 6 20:29:51 info: creating collection test.foo on add index m30001| building new index on { name: 1.0 } for test.foo m30001| [conn4] Tue Jul 6 20:29:51 Buildindex test.foo idxNo:1 { ns: "test.foo", key: { name: 1.0 }, name: "name_1" } m31000| [conn1] Tue Jul 6 20:29:51 client id: d38f0000 config.databases 2004 m31000| [conn1] Tue Jul 6 20:29:51 Request::process ns: config.databases msg id:-994904720 attempt: 0 m31000| [conn1] Tue Jul 6 20:29:51 single query: config.databases { _id: "test" } ntoreturn: -1 m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 WANT ONE pool empty: 1 m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 CREATING NEW CONNECTION m31000| creating WriteBackListener for: localhost:30000 m30001| [conn4] Tue Jul 6 20:29:51 done for 0 records 0secs m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 s: 0x607ba0 addr: localhost:30000 PUSHING: 0x605590 m31000| [conn1] Tue Jul 6 20:29:51 client id: d38f0000 config.shards 2004 m31000| [conn1] Tue Jul 6 20:29:51 Request::process ns: config.shards msg id:-994904719 attempt: 0 m31000| [conn1] Tue Jul 6 20:29:51 single query: config.shards { _id: "shard1" } ntoreturn: -1 m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 WANT ONE pool empty: 0 m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 s: 0x607ba0 addr: localhost:30000 GOT 0x605590 m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 s: 0x607ba0 addr: localhost:30000 PUSHING: 0x605590 m31000| [conn1] Tue Jul 6 20:29:51 client id: d38f0000 config.$cmd 2004 m31000| [conn1] Tue Jul 6 20:29:51 Request::process ns: config.$cmd msg id:-994904718 attempt: 0 m31000| [conn1] Tue Jul 6 20:29:51 single query: config.$cmd { count: "chunks", query: {}, fields: {} } ntoreturn: -1 m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 WANT ONE pool empty: 0 m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 s: 0x607ba0 addr: localhost:30000 GOT 0x605590 m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 s: 0x607ba0 addr: localhost:30000 PUSHING: 0x605590 m31000| [conn1] Tue Jul 6 20:29:51 client id: d38f0000 test.foo 2002 m31000| [conn1] Tue Jul 6 20:29:51 Request::process ns: test.foo msg id:-994904717 attempt: 0 m31000| [conn1] Tue Jul 6 20:29:51 write: test.foo m31000| [conn1] Tue Jul 6 20:29:51 server:shard1:localhost:30001 { _id: ObjectId('4c33ca7fdc162d55380ff273'), name: "eliot" } m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 WANT ONE pool empty: 0 m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 s: 0x606ea0 addr: localhost:30001 GOT 0x606a70 m31000| [conn1] Tue Jul 6 20:29:51 have to set shard version for conn: 0x606a70 ns:test.foo my last seq: 0 current: 3 version: 1|0 manager: 0x6079c0 m31000| [conn1] Tue Jul 6 20:29:51 setShardVersion shard1 localhost:30001 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 1000|0, serverID: ObjectId('4c33ca7ec179057e24ec10bc'), shard: "shard1", shardHost: "localhost:30001" } 0x606a70 m31000| [conn1] Tue Jul 6 20:29:51 setShardVersion failed! m31000| { need_authoritative: true, errmsg: "first setShardVersion", ok: 0.0 } m31000| [conn1] Tue Jul 6 20:29:51 reloading shard info for: test.foo m31000| [conn1] Tue Jul 6 20:29:51 creating new connection for pool to:localhost:30000 m30000| [initandlisten] Tue Jul 6 20:29:51 connection accepted from 127.0.0.1:54164 #4 m31000| [conn1] Tue Jul 6 20:29:51 have to set shard version for conn: 0x606a70 ns:test.foo my last seq: 0 current: 4 version: 1|0 manager: 0x608250 m31000| [conn1] Tue Jul 6 20:29:51 setShardVersion shard1 localhost:30001 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 1000|0, serverID: ObjectId('4c33ca7ec179057e24ec10bc'), authoritative: true, shard: "shard1", shardHost: "localhost:30001" } 0x606a70 m31000| [conn1] Tue Jul 6 20:29:51 setShardVersion success! m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 s: 0x606ea0 addr: localhost:30001 PUSHING: 0x606a70 m31000| [conn1] Tue Jul 6 20:29:51 retrying insert because of StaleConfigException: { _id: ObjectId('4c33ca7fdc162d55380ff273'), name: "eliot" } m31000| [conn1] Tue Jul 6 20:29:51 server:shard1:localhost:30001 { _id: ObjectId('4c33ca7fdc162d55380ff273'), name: "eliot" } m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 WANT ONE pool empty: 0 m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 s: 0x606ea0 addr: localhost:30001 GOT 0x606a70 m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 s: 0x606ea0 addr: localhost:30001 PUSHING: 0x606a70 m31000| [conn1] Tue Jul 6 20:29:51 client id: d38f0000 test.foo 2002 m31000| [conn1] Tue Jul 6 20:29:51 Request::process ns: test.foo msg id:-994904716 attempt: 0 m31000| [conn1] Tue Jul 6 20:29:51 write: test.foo m31000| [conn1] Tue Jul 6 20:29:51 server:shard1:localhost:30001 { _id: ObjectId('4c33ca7fdc162d55380ff274'), name: "sara" } m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 WANT ONE pool empty: 0 m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 s: 0x606ea0 addr: localhost:30001 GOT 0x606a70 m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 s: 0x606ea0 addr: localhost:30001 PUSHING: 0x606a70 m31000| [conn1] Tue Jul 6 20:29:51 client id: d38f0000 test.foo 2002 m31000| [conn1] Tue Jul 6 20:29:51 Request::process ns: test.foo msg id:-994904715 attempt: 0 m31000| [conn1] Tue Jul 6 20:29:51 write: test.foo m31000| [conn1] Tue Jul 6 20:29:51 server:shard1:localhost:30001 { _id: ObjectId('4c33ca7fdc162d55380ff275'), name: "bob" } m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 WANT ONE pool empty: 0 m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 s: 0x606ea0 addr: localhost:30001 GOT 0x606a70 m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 s: 0x606ea0 addr: localhost:30001 PUSHING: 0x606a70 m31000| [conn1] Tue Jul 6 20:29:51 client id: d38f0000 test.foo 2002 m31000| [conn1] Tue Jul 6 20:29:51 Request::process ns: test.foo msg id:-994904714 attempt: 0 m31000| [conn1] Tue Jul 6 20:29:51 write: test.foo m31000| [conn1] Tue Jul 6 20:29:51 server:shard1:localhost:30001 { _id: ObjectId('4c33ca7fdc162d55380ff276'), name: "joe" } m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 WANT ONE pool empty: 0 m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 s: 0x606ea0 addr: localhost:30001 GOT 0x606a70 m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 s: 0x606ea0 addr: localhost:30001 PUSHING: 0x606a70 m31000| [conn1] Tue Jul 6 20:29:51 client id: d38f0000 test.foo 2002 m31000| [conn1] Tue Jul 6 20:29:51 Request::process ns: test.foo msg id:-994904713 attempt: 0 m31000| [conn1] Tue Jul 6 20:29:51 write: test.foo m31000| [conn1] Tue Jul 6 20:29:51 server:shard1:localhost:30001 { _id: ObjectId('4c33ca7fdc162d55380ff277'), name: "mark" } m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 WANT ONE pool empty: 0 m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 s: 0x606ea0 addr: localhost:30001 GOT 0x606a70 m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 s: 0x606ea0 addr: localhost:30001 PUSHING: 0x606a70 m31000| [conn1] Tue Jul 6 20:29:51 client id: d38f0000 test.foo 2002 m31000| [conn1] Tue Jul 6 20:29:51 Request::process ns: test.foo msg id:-994904712 attempt: 0 m31000| [conn1] Tue Jul 6 20:29:51 write: test.foo m31000| [conn1] Tue Jul 6 20:29:51 server:shard1:localhost:30001 { _id: ObjectId('4c33ca7fdc162d55380ff278'), name: "allan" } m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 WANT ONE pool empty: 0 m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 s: 0x606ea0 addr: localhost:30001 GOT 0x606a70 m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 s: 0x606ea0 addr: localhost:30001 PUSHING: 0x606a70 m31000| [conn1] Tue Jul 6 20:29:51 client id: d38f0000 test.$cmd 2004 m31000| [conn1] Tue Jul 6 20:29:51 Request::process ns: test.$cmd msg id:-994904711 attempt: 0 m31000| [conn1] Tue Jul 6 20:29:51 single query: test.$cmd { count: "foo", query: {}, fields: {} } ntoreturn: -1 m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 WANT ONE pool empty: 0 m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 s: 0x606ea0 addr: localhost:30001 GOT 0x606a70 m31000| [conn1] Tue Jul 6 20:29:51 ClientConnections DEBUG 0x606db0 s: 0x606ea0 addr: localhost:30001 PUSHING: 0x606a70 m31000| [conn1] Tue Jul 6 20:29:51 client id: d38f0000 admin.$cmd 2004 m31000| [conn1] Tue Jul 6 20:29:51 Request::process ns: admin.$cmd msg id:-994904710 attempt: 0 m31000| [conn1] Tue Jul 6 20:29:51 single query: admin.$cmd { split: "test.foo", find: { name: "joe" } } ntoreturn: -1 m31000| [conn1] Tue Jul 6 20:29:53 splitting: test.foo shard: m31000| [conn1] Tue Jul 6 20:29:53 ClientConnections DEBUG 0x606db0 WANT ONE pool empty: 1 m31000| [conn1] Tue Jul 6 20:29:53 ClientConnections DEBUG 0x606db0 CREATING NEW CONNECTION m30000| [initandlisten] Tue Jul 6 20:29:53 connection accepted from 127.0.0.1:54165 #5 m31000| [conn1] Tue Jul 6 20:29:53 ClientConnections DEBUG 0x606db0 s: 0x607c40 addr: localhost:30001 PUSHING: 0x606a70 m30000| [conn2] Tue Jul 6 20:29:53 building new index on { _id: 1 } for config.locks m30000| [conn2] Tue Jul 6 20:29:53 Buildindex config.locks idxNo:0 { name: "_id_", ns: "config.locks", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:29:53 done for 0 records 0secs m31000| [conn1] Tue Jul 6 20:29:53 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.foo", state: 1, when: new Date(1278462593022), who: "duane.local:1278462593:16807", why: "split-shard ns:test.foo shard: shard1:localhost:30001 lastmod: 1|0 mi..." } m31000| [conn1] Tue Jul 6 20:29:53 before split on 1 points m31000| self : shard ns:test.foo shard: shard1:localhost:30001 lastmod: 1|0 min: { name: MinKey } max: { name: MaxKey } m31000| [conn1] Tue Jul 6 20:29:53 after split: m31000| shard ns:test.foo shard: shard1:localhost:30001 lastmod: 1|0 min: { name: MinKey } max: { name: "allan" } m31000| [conn1] Tue Jul 6 20:29:53 new chunkshard ns:test.foo shard: shard1:localhost:30001 lastmod: 0|0 min: { name: "allan" } max: { name: MaxKey } m31000| [conn1] Tue Jul 6 20:29:53 ChunkManager::save update: { applyOps: [ { op: "u", b: true, ns: "config.chunks", o: { _id: "test.foo-name_MinKey", lastmod: Timestamp 2000|0, ns: "test.foo", min: { name: MinKey }, max: { name: "allan" }, shard: "shard1" }, o2: { _id: "test.foo-name_MinKey" } }, { op: "u", b: true, ns: "config.chunks", o: { _id: "test.foo-name_"allan"", lastmod: Timestamp 2000|1, ns: "test.foo", min: { name: "allan" }, max: { name: MaxKey }, shard: "shard1" }, o2: { _id: "test.foo-name_"allan"" } } ], preCondition: [ { ns: "config.chunks", q: { query: { ns: "test.foo" }, orderby: { lastmod: -1 } }, res: { lastmod: Timestamp 1000|0 } } ] } m31000| [conn1] Tue Jul 6 20:29:53 { _id: "duane.local-2010-6-7-0-29-0", server: "duane.local", time: new Date(1278462593027), what: "split", ns: "test.foo", details: { before: { min: { name: MinKey }, max: { name: MaxKey } }, left: { min: { name: MinKey }, max: { name: "allan" } }, right: { min: { name: "allan" }, max: { name: MaxKey } } } } m31000| [conn1] Tue Jul 6 20:29:53 dist_lock unlock: { _id: "test.foo", state: 0, when: new Date(1278462593022), who: "duane.local:1278462593:16807", why: "split-shard ns:test.foo shard: shard1:localhost:30001 lastmod: 1|0 mi..." } m31000| [conn1] Tue Jul 6 20:29:53 client id: d38f0000 admin.$cmd 2004 m31000| [conn1] Tue Jul 6 20:29:53 Request::process ns: admin.$cmd msg id:-994904709 attempt: 0 m31000| [conn1] Tue Jul 6 20:29:53 single query: admin.$cmd { split: "test.foo", find: { name: "joe" } } ntoreturn: -1 m31000| [conn1] Tue Jul 6 20:29:53 splitting: test.foo shard: m31000| [conn1] Tue Jul 6 20:29:53 ClientConnections DEBUG 0x606db0 WANT ONE pool empty: 1 m31000| [conn1] Tue Jul 6 20:29:53 ClientConnections DEBUG 0x606db0 CREATING NEW CONNECTION m31000| [conn1] Tue Jul 6 20:29:53 have to set shard version for conn: 0x606a70 ns:test.foo my last seq: 4 current: 6 version: 2|1 manager: 0x608250 m31000| [conn1] Tue Jul 6 20:29:53 setShardVersion shard1 localhost:30001 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 2000|1, serverID: ObjectId('4c33ca7ec179057e24ec10bc'), shard: "shard1", shardHost: "localhost:30001" } 0x606a70 m31000| [conn1] Tue Jul 6 20:29:53 setShardVersion success! m31000| [conn1] Tue Jul 6 20:29:53 ClientConnections DEBUG 0x606db0 s: 0x607c40 addr: localhost:30001 PUSHING: 0x606a70 m31000| [conn1] Tue Jul 6 20:29:53 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.foo", state: 1, when: new Date(1278462593030), who: "duane.local:1278462593:282475249", why: "split-shard ns:test.foo shard: shard1:localhost:30001 lastmod: 2|1 mi..." } m31000| [conn1] Tue Jul 6 20:29:53 before split on 1 points m31000| self : shard ns:test.foo shard: shard1:localhost:30001 lastmod: 2|1 min: { name: "allan" } max: { name: MaxKey } m31000| [conn1] Tue Jul 6 20:29:53 after split: m31000| shard ns:test.foo shard: shard1:localhost:30001 lastmod: 2|1 min: { name: "allan" } max: { name: "sara" } m31000| [conn1] Tue Jul 6 20:29:53 new chunkshard ns:test.foo shard: shard1:localhost:30001 lastmod: 0|0 min: { name: "sara" } max: { name: MaxKey } m31000| [conn1] Tue Jul 6 20:29:53 ChunkManager::save update: { applyOps: [ { op: "u", b: true, ns: "config.chunks", o: { _id: "test.foo-name_MinKey", lastmod: Timestamp 3000|0, ns: "test.foo", min: { name: MinKey }, max: { name: "allan" }, shard: "shard1" }, o2: { _id: "test.foo-name_MinKey" } }, { op: "u", b: true, ns: "config.chunks", o: { _id: "test.foo-name_"allan"", lastmod: Timestamp 3000|1, ns: "test.foo", min: { name: "allan" }, max: { name: "sara" }, shard: "shard1" }, o2: { _id: "test.foo-name_"allan"" } }, { op: "u", b: true, ns: "config.chunks", o: { _id: "test.foo-name_"sara"", lastmod: Timestamp 3000|2, ns: "test.foo", min: { name: "sara" }, max: { name: MaxKey }, shard: "shard1" }, o2: { _id: "test.foo-name_"sara"" } } ], preCondition: [ { ns: "config.chunks", q: { query: { ns: "test.foo" }, orderby: { lastmod: -1 } }, res: { lastmod: Timestamp 2000|1 } } ] } m31000| [conn1] Tue Jul 6 20:29:53 { _id: "duane.local-2010-6-7-0-29-1", server: "duane.local", time: new Date(1278462593033), what: "split", ns: "test.foo", details: { before: { min: { name: "allan" }, max: { name: MaxKey } }, left: { min: { name: "allan" }, max: { name: "sara" } }, right: { min: { name: "sara" }, max: { name: MaxKey } } } } m31000| [conn1] Tue Jul 6 20:29:53 dist_lock unlock: { _id: "test.foo", state: 0, when: new Date(1278462593030), who: "duane.local:1278462593:282475249", why: "split-shard ns:test.foo shard: shard1:localhost:30001 lastmod: 2|1 mi..." } m31000| [conn1] Tue Jul 6 20:29:53 client id: d38f0000 admin.$cmd 2004 m31000| [conn1] Tue Jul 6 20:29:53 Request::process ns: admin.$cmd msg id:-994904708 attempt: 0 m31000| [conn1] Tue Jul 6 20:29:53 single query: admin.$cmd { split: "test.foo", find: { name: "joe" } } ntoreturn: -1 m31000| [conn1] Tue Jul 6 20:29:53 splitting: test.foo shard: m31000| [conn1] Tue Jul 6 20:29:53 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.foo", state: 1, when: new Date(1278462593035), who: "duane.local:1278462593:1622650073", why: "split-shard ns:test.foo shard: shard1:localhost:30001 lastmod: 3|1 mi..." } m31000| [conn1] Tue Jul 6 20:29:53 before split on 1 points m31000| self : shard ns:test.foo shard: shard1:localhost:30001 lastmod: 3|1 min: { name: "allan" } max: { name: "sara" } m31000| [conn1] Tue Jul 6 20:29:53 after split: m31000| shard ns:test.foo shard: shard1:localhost:30001 lastmod: 3|1 min: { name: "allan" } max: { name: "eliot" } m31000| [conn1] Tue Jul 6 20:29:53 new chunkshard ns:test.foo shard: shard1:localhost:30001 lastmod: 0|0 min: { name: "eliot" } max: { name: "sara" } m31000| [conn1] Tue Jul 6 20:29:53 ChunkManager::save update: { applyOps: [ { op: "u", b: true, ns: "config.chunks", o: { _id: "test.foo-name_MinKey", lastmod: Timestamp 4000|0, ns: "test.foo", min: { name: MinKey }, max: { name: "allan" }, shard: "shard1" }, o2: { _id: "test.foo-name_MinKey" } }, { op: "u", b: true, ns: "config.chunks", o: { _id: "test.foo-name_"allan"", lastmod: Timestamp 4000|1, ns: "test.foo", min: { name: "allan" }, max: { name: "eliot" }, shard: "shard1" }, o2: { _id: "test.foo-name_"allan"" } }, { op: "u", b: true, ns: "config.chunks", o: { _id: "test.foo-name_"eliot"", lastmod: Timestamp 4000|2, ns: "test.foo", min: { name: "eliot" }, max: { name: "sara" }, shard: "shard1" }, o2: { _id: "test.foo-name_"eliot"" } }, { op: "u", b: true, ns: "config.chunks", o: { _id: "test.foo-name_"sara"", lastmod: Timestamp 4000|3, ns: "test.foo", min: { name: "sara" }, max: { name: MaxKey }, shard: "shard1" }, o2: { _id: "test.foo-name_"sara"" } } ], preCondition: [ { ns: "config.chunks", q: { query: { ns: m30001| [conn2] Tue Jul 6 20:29:53 got movechunk: { moveChunk: "test.foo", from: "localhost:30001", to: "localhost:30000", filter: { name: { $gte: "eliot", $lt: "sara" } }, shardId: "test.foo-name_"eliot"", configdb: "localhost:30000" } m30001| [conn2] Tue Jul 6 20:29:53 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.foo", state: 1, when: new Date(1278462593040), who: "duane.local:1278462593:1439514835", why: "migrate-{ name: { $gte: "eliot", $lt: "sara" } }" } m30000| [conn5] Tue Jul 6 20:29:53 startCloneCollection. db:admin collection:test.foo from: localhost:30001 query: { name: { $gte: "eliot", $lt: "sara" } } m30001| [initandlisten] Tue Jul 6 20:29:53 connection accepted from 127.0.0.1:54166 #5 m30001| Tue Jul 6 20:29:53 allocating new datafile /data/db/count11/local.ns, filling with zeroes... m30001| Tue Jul 6 20:29:53 done allocating datafile /data/db/count11/local.ns, size: 16MB, took 0.025 secs m30001| Tue Jul 6 20:29:53 allocating new datafile /data/db/count11/local.0, filling with zeroes... m30001| Tue Jul 6 20:29:53 done allocating datafile /data/db/count11/local.0, size: 16MB, took 0.022 secs m30001| Tue Jul 6 20:29:53 allocating new datafile /data/db/count11/local.1, filling with zeroes... m30001| Tue Jul 6 20:29:58 done allocating datafile /data/db/count11/local.1, size: 512MB, took 5.776 secs m30001| [conn5] Tue Jul 6 20:29:58 started logCollection with cmd obj: { logCollection: "test.foo", start: 1 } m30001| [conn5] Tue Jul 6 20:29:58 query test.$cmd ntoreturn:1 command: { logCollection: "test.foo", start: 1 } reslen:53 5844ms m30000| Tue Jul 6 20:29:58 allocating new datafile /data/db/count10/test.ns, filling with zeroes... m30000| Tue Jul 6 20:29:58 done allocating datafile /data/db/count10/test.ns, size: 16MB, took 0.029 secs m30000| Tue Jul 6 20:29:58 allocating new datafile /data/db/count10/test.0, filling with zeroes... m30000| Tue Jul 6 20:29:58 done allocating datafile /data/db/count10/test.0, size: 16MB, took 0.028 secs m30000| [conn5] Tue Jul 6 20:29:58 building new index on { _id: 1 } for test.foo m30000| [conn5] Tue Jul 6 20:29:58 Buildindex test.foo idxNo:0 { name: "_id_", ns: "test.foo", key: { _id: 1 } } m30000| [conn5] Tue Jul 6 20:29:58 done for 0 records 0secs m30000| [conn5] Tue Jul 6 20:29:59 building new index on { name: 1.0 } for test.foo m30000| [conn5] Tue Jul 6 20:29:59 Buildindex test.foo idxNo:1 { ns: "test.foo", key: { name: 1.0 }, name: "name_1" } m30000| [conn5] Tue Jul 6 20:29:59 done for 3 records 0.001secs m30000| [conn5] Tue Jul 6 20:29:59 query admin.$cmd ntoreturn:1 command: { startCloneCollection: "test.foo", from: "localhost:30001", query: { name: { $gte: "eliot", $lt: "sara" } } } reslen:197 5962ms m30001| [conn5] Tue Jul 6 20:29:59 end connection 127.0.0.1:54166 m30000| [conn5] Tue Jul 6 20:30:01 finishCloneCollection. db:admin collection:test.foo from: localhost:30001 query: { name: { $gte: "eliot", $lt: "sara" } } m30001| [initandlisten] Tue Jul 6 20:30:01 connection accepted from 127.0.0.1:54167 #6 m30001| [conn6] Tue Jul 6 20:30:01 started logCollection with cmd obj: { logCollection: "test.foo", validateComplete: 1 } m30001| [conn6] Tue Jul 6 20:30:01 end connection 127.0.0.1:54167 m30001| [conn2] Tue Jul 6 20:30:01 { _id: "duane.local-2010-6-7-0-30-0", server: "duane.local", time: new Date(1278462601011), what: "moveChunk", ns: "test.foo", details: { range: { name: { $gte: "eliot", $lt: "sara" } }, from: "shard1", to: "shard0" } } m30001| [conn2] warning: Tue Jul 6 20:30:01 deleting data before ensuring no more cursors TODO m30001| [conn2] Tue Jul 6 20:30:01 moveChunk deleted: 3 m30001| [conn2] Tue Jul 6 20:30:01 dist_lock unlock: { _id: "test.foo", state: 0, when: new Date(1278462593040), who: "duane.local:1278462593:1439514835", why: "migrate-{ name: { $gte: "eliot", $lt: "sara" } }" } m30001| [conn2] Tue Jul 6 20:30:01 query admin.$cmd ntoreturn:1 command: { moveChunk: "test.foo", from: "localhost:30001", to: "localhost:30000", filter: { name: { $gte: "eliot", $lt: "sara" } }, shardId: "test.foo-name_"eliot"", configdb: "localhost:30000" } reslen:69 7972ms m30001| [conn2] Tue Jul 6 20:30:01 end connection 127.0.0.1:54161 m30001| [conn4] Tue Jul 6 20:30:01 end connection 127.0.0.1:54163 m30000| [conn2] Tue Jul 6 20:30:01 end connection 127.0.0.1:54158 m30000| [conn4] Tue Jul 6 20:30:01 end connection 127.0.0.1:54164 shell: stopped mongo program on port 31000 m30000| Tue Jul 6 20:30:02 got kill or ctrl c signal 15 (Terminated), will terminate after current cmd ends m30000| [interruptThread] Tue Jul 6 20:30:02 now exiting m30000| Tue Jul 6 20:30:02 dbexit: m30000| [interruptThread] Tue Jul 6 20:30:02 shutdown: going to close listening sockets... m30000| [interruptThread] Tue Jul 6 20:30:02 going to close listening socket: 11 m30000| [interruptThread] Tue Jul 6 20:30:02 going to close listening socket: 12 m30000| [interruptThread] Tue Jul 6 20:30:02 shutdown: going to flush oplog... m30000| [interruptThread] Tue Jul 6 20:30:02 shutdown: going to close sockets... m30000| [interruptThread] Tue Jul 6 20:30:02 shutdown: waiting for fs preallocator... m30000| [interruptThread] Tue Jul 6 20:30:02 shutdown: closing all files... m30000| [conn5] Tue Jul 6 20:30:02 MessagingPort recv() errno:9 Bad file descriptor 127.0.0.1:54165 m30000| [conn5] Tue Jul 6 20:30:02 end connection 127.0.0.1:54165 m30000| [conn1] Tue Jul 6 20:30:02 MessagingPort recv() errno:9 Bad file descriptor 127.0.0.1:54144 m30000| [conn1] Tue Jul 6 20:30:02 end connection 127.0.0.1:54144 m30000| Tue Jul 6 20:30:02 closeAllFiles() finished m30000| [interruptThread] Tue Jul 6 20:30:02 shutdown: removing fs lock... m30000| Tue Jul 6 20:30:02 dbexit: really exiting now shell: stopped mongo program on port 30000 m30001| Tue Jul 6 20:30:03 got kill or ctrl c signal 15 (Terminated), will terminate after current cmd ends m30001| [interruptThread] Tue Jul 6 20:30:03 now exiting m30001| Tue Jul 6 20:30:03 dbexit: m30001| [interruptThread] Tue Jul 6 20:30:03 shutdown: going to close listening sockets... m30001| [interruptThread] Tue Jul 6 20:30:03 going to close listening socket: 14 m30001| [interruptThread] Tue Jul 6 20:30:03 going to close listening socket: 15 m30001| [interruptThread] Tue Jul 6 20:30:03 shutdown: going to flush oplog... m30001| [interruptThread] Tue Jul 6 20:30:03 shutdown: going to close sockets... m30001| [interruptThread] Tue Jul 6 20:30:03 shutdown: waiting for fs preallocator... m30001| [interruptThread] Tue Jul 6 20:30:03 shutdown: closing all files... m30001| [conn1] Tue Jul 6 20:30:03 MessagingPort recv() errno:9 Bad file descriptor 127.0.0.1:54146 m30001| [conn1] Tue Jul 6 20:30:03 end connection 127.0.0.1:54146 m30001| Tue Jul 6 20:30:03 closeAllFiles() finished m30001| [interruptThread] Tue Jul 6 20:30:03 shutdown: removing fs lock... m30001| Tue Jul 6 20:30:03 dbexit: really exiting now shell: stopped mongo program on port 30001 *** count1 completed successfully *** [initandlisten] Tue Jul 6 20:30:04 connection accepted from 127.0.0.1:54168 #6 [conn6] Tue Jul 6 20:30:05 end connection 127.0.0.1:54168 [initandlisten] Tue Jul 6 20:30:05 connection accepted from 127.0.0.1:54169 #7 Tue Jul 6 20:30:05 ****ok. response.data:1 time:0.232ms len: 5 data: i am fine - dbMsg deprecated [conn7] Tue Jul 6 20:30:06 end connection 127.0.0.1:54169 MongoDB shell version: 1.5.5-pre- shell: started program /Users/10gen/work/buildslaves/mongo/OS_X_104_32bit/mongo/mongod --port 30000 --dbpath /data/db/diffservers10 --noprealloc --smallfiles --oplogSize 2 --nohttpinterface m30000| Tue Jul 6 20:30:09 MongoDB starting : pid=29464 port=30000 dbpath=/data/db/diffservers10 32-bit m30000| m30000| ** NOTE: This is a development version (1.5.5-pre-) of MongoDB. m30000| ** Not recommended for production. m30000| m30000| ** NOTE: when using MongoDB 32 bit, you are limited to about 2 gigabytes of data m30000| ** see http://blog.mongodb.org/post/137788967/32-bit-limitations m30000| m30000| Tue Jul 6 20:30:09 db version v1.5.5-pre-, pdfile version 4.5 m30000| Tue Jul 6 20:30:09 git version: 47170341084f47c9398f1002e0585cd10db9c7a2 m30000| Tue Jul 6 20:30:09 sys info: Darwin duane.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 BOOST_LIB_VERSION=1_39 m30000| [initandlisten] Tue Jul 6 20:30:16 waiting for connections on port 30000 shell: started program /Users/10gen/work/buildslaves/mongo/OS_X_104_32bit/mongo/mongod --port 30001 --dbpath /data/db/diffservers11 --noprealloc --smallfiles --oplogSize 2 --nohttpinterface m30000| [initandlisten] Tue Jul 6 20:30:23 connection accepted from 127.0.0.1:54206 #1 m30001| Tue Jul 6 20:30:23 MongoDB starting : pid=29465 port=30001 dbpath=/data/db/diffservers11 32-bit m30001| m30001| ** NOTE: This is a development version (1.5.5-pre-) of MongoDB. m30001| ** Not recommended for production. m30001| m30001| ** NOTE: when using MongoDB 32 bit, you are limited to about 2 gigabytes of data m30001| ** see http://blog.mongodb.org/post/137788967/32-bit-limitations m30001| m30001| Tue Jul 6 20:30:23 db version v1.5.5-pre-, pdfile version 4.5 m30001| Tue Jul 6 20:30:23 git version: 47170341084f47c9398f1002e0585cd10db9c7a2 m30001| Tue Jul 6 20:30:23 sys info: Darwin duane.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 BOOST_LIB_VERSION=1_39 m30001| [initandlisten] Tue Jul 6 20:30:23 waiting for connections on port 30001 m30001| [initandlisten] Tue Jul 6 20:30:23 connection accepted from 127.0.0.1:54209 #1 shell: started program /Users/10gen/work/buildslaves/mongo/OS_X_104_32bit/mongo/mongos --port 31000 --configdb localhost:30000 m30000| Tue Jul 6 20:30:23 allocating new datafile /data/db/diffservers10/config.ns, filling with zeroes... m31000| Tue Jul 6 20:30:23 /Users/10gen/work/buildslaves/mongo/OS_X_104_32bit/mongo/mongos db version v1.5.5-pre-, pdfile version 4.5 starting (--help for usage) m31000| Tue Jul 6 20:30:23 git version: 47170341084f47c9398f1002e0585cd10db9c7a2 m31000| Tue Jul 6 20:30:23 sys info: Darwin duane.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 BOOST_LIB_VERSION=1_39 m30000| Tue Jul 6 20:30:23 done allocating datafile /data/db/diffservers10/config.ns, size: 16MB, took 0.033 secs m30000| [initandlisten] Tue Jul 6 20:30:23 connection accepted from 127.0.0.1:54211 #2 m30000| Tue Jul 6 20:30:23 allocating new datafile /data/db/diffservers10/config.0, filling with zeroes... m30000| Tue Jul 6 20:30:23 done allocating datafile /data/db/diffservers10/config.0, size: 16MB, took 0.035 secs m30000| [conn1] Tue Jul 6 20:30:23 building new index on { _id: 1 } for config.settings m30000| [conn1] Tue Jul 6 20:30:23 Buildindex config.settings idxNo:0 { name: "_id_", ns: "config.settings", key: { _id: 1 } } m30000| [conn1] Tue Jul 6 20:30:23 done for 0 records 0.002secs m30000| [conn2] Tue Jul 6 20:30:23 building new index on { _id: 1 } for config.version m30000| [conn2] Tue Jul 6 20:30:23 Buildindex config.version idxNo:0 { name: "_id_", ns: "config.version", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:30:23 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:30:23 building new index on { _id: 1 } for config.chunks m30000| [conn2] Tue Jul 6 20:30:23 Buildindex config.chunks idxNo:0 { name: "_id_", ns: "config.chunks", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:30:23 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:30:23 info: creating collection config.chunks on add index m30000| building new index on { ns: 1, min: 1 } for config.chunks m30000| [conn2] Tue Jul 6 20:30:23 Buildindex config.chunks idxNo:1 { ns: "config.chunks", key: { ns: 1, min: 1 }, name: "ns_1_min_1", unique: true } m30000| [conn2] Tue Jul 6 20:30:23 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:30:23 building new index on { ns: 1, shard: 1, min: 1 } for config.chunks m30000| [conn2] Tue Jul 6 20:30:23 Buildindex config.chunks idxNo:2 { ns: "config.chunks", key: { ns: 1, shard: 1, min: 1 }, name: "ns_1_shard_1_min_1", unique: true } m30000| [conn2] Tue Jul 6 20:30:23 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:30:23 building new index on { ns: 1, lastmod: 1 } for config.chunks m30000| [conn2] Tue Jul 6 20:30:23 Buildindex config.chunks idxNo:3 { ns: "config.chunks", key: { ns: 1, lastmod: 1 }, name: "ns_1_lastmod_1", unique: true } m31000| Tue Jul 6 20:30:23 waiting for connections on port 31000 m30000| [conn2] Tue Jul 6 20:30:23 done for 0 records 0.001secs m30000| [conn2] Tue Jul 6 20:30:23 building new index on { _id: 1 } for config.shards m30000| [conn2] Tue Jul 6 20:30:23 Buildindex config.shards idxNo:0 { name: "_id_", ns: "config.shards", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:30:23 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:30:23 info: creating collection config.shards on add index m30000| building new index on { host: 1 } for config.shards m30000| [conn2] Tue Jul 6 20:30:23 Buildindex config.shards idxNo:1 { ns: "config.shards", key: { host: 1 }, name: "host_1", unique: true } m30000| [conn2] Tue Jul 6 20:30:23 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:30:23 building new index on { _id: 1 } for config.mongos m30000| [conn2] Tue Jul 6 20:30:23 Buildindex config.mongos idxNo:0 { name: "_id_", ns: "config.mongos", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:30:23 done for 0 records 0secs m31000| Tue Jul 6 20:30:23 connection accepted from 127.0.0.1:54212 #1 m31000| [conn1] Tue Jul 6 20:30:23 couldn't find database [admin] in config db m31000| [conn1] Tue Jul 6 20:30:23 put [admin] on: config:localhost:30000 m30000| [conn2] Tue Jul 6 20:30:23 building new index on { _id: 1 } for config.databases m30000| [conn2] Tue Jul 6 20:30:23 Buildindex config.databases idxNo:0 { name: "_id_", ns: "config.databases", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:30:23 done for 0 records 0secs m30000| [initandlisten] Tue Jul 6 20:30:23 connection accepted from 127.0.0.1:54213 #3 m31000| [conn1] Tue Jul 6 20:30:23 going to add shard: { _id: "shard0", host: "localhost:30000" } m30001| [initandlisten] Tue Jul 6 20:30:23 connection accepted from 127.0.0.1:54214 #2 m31000| [conn1] Tue Jul 6 20:30:23 going to add shard: { _id: "shard1", host: "localhost:30001" } m31000| creating WriteBackListener for: localhost:30000 m30000| [initandlisten] Tue Jul 6 20:30:23 connection accepted from 127.0.0.1:54215 #4 m31000| [conn1] Tue Jul 6 20:30:23 couldn't find database [test1] in config db m31000| [conn1] Tue Jul 6 20:30:23 put [test1] on: shard1:localhost:30001 m31000| creating WriteBackListener for: localhost:30001 m30001| [initandlisten] Tue Jul 6 20:30:23 connection accepted from 127.0.0.1:54216 #3 m30001| Tue Jul 6 20:30:23 allocating new datafile /data/db/diffservers11/test1.ns, filling with zeroes... m30001| Tue Jul 6 20:30:23 done allocating datafile /data/db/diffservers11/test1.ns, size: 16MB, took 0.033 secs m30001| Tue Jul 6 20:30:23 allocating new datafile /data/db/diffservers11/test1.0, filling with zeroes... m30001| Tue Jul 6 20:30:23 done allocating datafile /data/db/diffservers11/test1.0, size: 16MB, took 0.027 secs m30001| [conn2] Tue Jul 6 20:30:23 building new index on { _id: 1 } for test1.foo m30001| [conn2] Tue Jul 6 20:30:23 Buildindex test1.foo idxNo:0 { name: "_id_", ns: "test1.foo", key: { _id: 1 } } m30001| [conn2] Tue Jul 6 20:30:23 done for 0 records 0.002secs m31000| [conn1] Tue Jul 6 20:30:23 getaddrinfo("sdd$%") failed: No address associated with nodename m31000| [conn1] Tue Jul 6 20:30:27 ~ScopedDBConnection: _conn != null m30000| [initandlisten] Tue Jul 6 20:30:27 connection accepted from 127.0.0.1:54217 #5 m30000| [conn4] Tue Jul 6 20:30:27 end connection 127.0.0.1:54215 m31000| Tue Jul 6 20:30:27 dbexit: received signal 15 rc:0 m30000| [conn5] Tue Jul 6 20:30:27 end connection 127.0.0.1:54217 m30000| [conn2] Tue Jul 6 20:30:27 end connection 127.0.0.1:54211 m30001| [conn2] Tue Jul 6 20:30:27 end connection 127.0.0.1:54214 shell: stopped mongo program on port 31000 m30000| Tue Jul 6 20:30:28 got kill or ctrl c signal 15 (Terminated), will terminate after current cmd ends m30000| [interruptThread] Tue Jul 6 20:30:28 now exiting m30000| Tue Jul 6 20:30:28 dbexit: m30000| [interruptThread] Tue Jul 6 20:30:28 shutdown: going to close listening sockets... m30000| [interruptThread] Tue Jul 6 20:30:28 going to close listening socket: 11 m30000| [interruptThread] Tue Jul 6 20:30:28 going to close listening socket: 12 m30000| [interruptThread] Tue Jul 6 20:30:28 shutdown: going to flush oplog... m30000| [interruptThread] Tue Jul 6 20:30:28 shutdown: going to close sockets... m30000| [interruptThread] Tue Jul 6 20:30:28 shutdown: waiting for fs preallocator... m30000| [interruptThread] Tue Jul 6 20:30:28 shutdown: closing all files... m30000| Tue Jul 6 20:30:28 closeAllFiles() finished m30000| [interruptThread] Tue Jul 6 20:30:28 shutdown: removing fs lock... m30000| Tue Jul 6 20:30:28 [conn1] Tue Jul 6 20:30:28 MessagingPort recv() errno:9 Bad file descriptor 127.0.0.1:54206 m30000| dbexit: really exiting now m30000| [conn1] Tue Jul 6 20:30:28 end connection 127.0.0.1:54206 shell: stopped mongo program on port 30000 m30001| Tue Jul 6 20:30:29 got kill or ctrl c signal 15 (Terminated), will terminate after current cmd ends m30001| [interruptThread] Tue Jul 6 20:30:29 now exiting m30001| Tue Jul 6 20:30:29 dbexit: m30001| [interruptThread] Tue Jul 6 20:30:29 shutdown: going to close listening sockets... m30001| [interruptThread] Tue Jul 6 20:30:29 going to close listening socket: 14 m30001| [interruptThread] Tue Jul 6 20:30:29 going to close listening socket: 15 m30001| [interruptThread] Tue Jul 6 20:30:29 shutdown: going to flush oplog... m30001| [interruptThread] Tue Jul 6 20:30:29 shutdown: going to close sockets... m30001| [interruptThread] Tue Jul 6 20:30:29 shutdown: waiting for fs preallocator... m30001| [interruptThread] Tue Jul 6 20:30:29 shutdown: closing all files... m30001| Tue Jul 6 20:30:29 closeAllFiles() finished m30001| [interruptThread] Tue Jul 6 20:30:29 shutdown: removing fs lock... m30001| [conn1] Tue Jul 6 20:30:29 MessagingPort recv() errno:9 Bad file descriptor 127.0.0.1:54209 m30001| [conn1] Tue Jul 6 20:30:29 end connection 127.0.0.1:54209 m30001| Tue Jul 6 20:30:29 dbexit: really exiting now shell: stopped mongo program on port 30001 *** diffservers1 completed successfully *** [initandlisten] Tue Jul 6 20:30:30 connection accepted from 127.0.0.1:54219 #8 [conn8] Tue Jul 6 20:30:31 end connection 127.0.0.1:54219 [initandlisten] Tue Jul 6 20:30:31 connection accepted from 127.0.0.1:54220 #9 Tue Jul 6 20:30:31 ****ok. response.data:1 time:0.19ms len: 5 data: i am fine - dbMsg deprecated [conn9] Tue Jul 6 20:30:32 end connection 127.0.0.1:54220 MongoDB shell version: 1.5.5-pre- shell: started program /Users/10gen/work/buildslaves/mongo/OS_X_104_32bit/mongo/mongod --port 30000 --dbpath /data/db/error10 --noprealloc --smallfiles --oplogSize 2 --nohttpinterface m30000| Tue Jul 6 20:30:32 MongoDB starting : pid=29470 port=30000 dbpath=/data/db/error10 32-bit m30000| m30000| ** NOTE: This is a development version (1.5.5-pre-) of MongoDB. m30000| ** Not recommended for production. m30000| m30000| ** NOTE: when using MongoDB 32 bit, you are limited to about 2 gigabytes of data m30000| ** see http://blog.mongodb.org/post/137788967/32-bit-limitations m30000| m30000| Tue Jul 6 20:30:32 db version v1.5.5-pre-, pdfile version 4.5 m30000| Tue Jul 6 20:30:32 git version: 47170341084f47c9398f1002e0585cd10db9c7a2 m30000| Tue Jul 6 20:30:32 sys info: Darwin duane.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 BOOST_LIB_VERSION=1_39 m30000| [initandlisten] Tue Jul 6 20:30:32 waiting for connections on port 30000 m30000| [initandlisten] Tue Jul 6 20:30:32 connection accepted from 127.0.0.1:54222 #1 shell: started program /Users/10gen/work/buildslaves/mongo/OS_X_104_32bit/mongo/mongod --port 30001 --dbpath /data/db/error11 --noprealloc --smallfiles --oplogSize 2 --nohttpinterface m30001| Tue Jul 6 20:30:32 MongoDB starting : pid=29471 port=30001 dbpath=/data/db/error11 32-bit m30001| m30001| ** NOTE: This is a development version (1.5.5-pre-) of MongoDB. m30001| ** Not recommended for production. m30001| m30001| ** NOTE: when using MongoDB 32 bit, you are limited to about 2 gigabytes of data m30001| ** see http://blog.mongodb.org/post/137788967/32-bit-limitations m30001| m30001| Tue Jul 6 20:30:32 db version v1.5.5-pre-, pdfile version 4.5 m30001| Tue Jul 6 20:30:32 git version: 47170341084f47c9398f1002e0585cd10db9c7a2 m30001| Tue Jul 6 20:30:32 sys info: Darwin duane.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 BOOST_LIB_VERSION=1_39 m30001| [initandlisten] Tue Jul 6 20:30:32 waiting for connections on port 30001 m30001| [initandlisten] Tue Jul 6 20:30:32 connection accepted from 127.0.0.1:54224 #1 shell: started program /Users/10gen/work/buildslaves/mongo/OS_X_104_32bit/mongo/mongos --port 31000 -v --configdb localhost:30000 m30000| Tue Jul 6 20:30:32 allocating new datafile /data/db/error10/config.ns, filling with zeroes... m31000| Tue Jul 6 20:30:32 /Users/10gen/work/buildslaves/mongo/OS_X_104_32bit/mongo/mongos db version v1.5.5-pre-, pdfile version 4.5 starting (--help for usage) m31000| Tue Jul 6 20:30:32 git version: 47170341084f47c9398f1002e0585cd10db9c7a2 m31000| Tue Jul 6 20:30:32 sys info: Darwin duane.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 BOOST_LIB_VERSION=1_39 m31000| Tue Jul 6 20:30:32 config string : localhost:30000 m30000| [initandlisten] Tue Jul 6 20:30:32 connection accepted from 127.0.0.1:54226 #2 m30000| Tue Jul 6 20:30:32 done allocating datafile /data/db/error10/config.ns, size: 16MB, took 0.041 secs m30000| Tue Jul 6 20:30:32 allocating new datafile /data/db/error10/config.0, filling with zeroes... m30000| Tue Jul 6 20:30:33 done allocating datafile /data/db/error10/config.0, size: 16MB, took 0.031 secs m30000| [conn1] Tue Jul 6 20:30:33 building new index on { _id: 1 } for config.settings m30000| [conn1] Tue Jul 6 20:30:33 Buildindex config.settings idxNo:0 { name: "_id_", ns: "config.settings", key: { _id: 1 } } m30000| [conn1] Tue Jul 6 20:30:33 done for 0 records 0.002secs m30000| [conn1] Tue Jul 6 20:30:33 insert config.settings 101ms m30000| [conn2] Tue Jul 6 20:30:33 building new index on { _id: 1 } for config.version m30000| [conn2] Tue Jul 6 20:30:33 Buildindex config.version idxNo:0 { name: "_id_", ns: "config.version", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:30:33 done for 0 records 0secs m31000| Tue Jul 6 20:30:33 MaxChunkSize: value: 50.0 m30000| [conn2] Tue Jul 6 20:30:33 building new index on { _id: 1 } for config.chunks m30000| [conn2] Tue Jul 6 20:30:33 Buildindex config.chunks idxNo:0 { name: "_id_", ns: "config.chunks", key: { _id: 1 } } m31000| [Balancer] Tue Jul 6 20:30:33 balancer myid: duane.local:31000 m30000| [conn2] Tue Jul 6 20:30:33 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:30:33 info: creating collection config.chunks on add index m30000| building new index on { ns: 1, min: 1 } for config.chunks m30000| [conn2] Tue Jul 6 20:30:33 Buildindex config.chunks idxNo:1 { ns: "config.chunks", key: { ns: 1, min: 1 }, name: "ns_1_min_1", unique: true } m30000| [conn2] Tue Jul 6 20:30:33 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:30:33 building new index on { ns: 1, shard: 1, min: 1 } for config.chunks m30000| [conn2] Tue Jul 6 20:30:33 Buildindex config.chunks idxNo:2 { ns: "config.chunks", key: { ns: 1, shard: 1, min: 1 }, name: "ns_1_shard_1_min_1", unique: true } m30000| [conn2] Tue Jul 6 20:30:33 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:30:33 building new index on { ns: 1, lastmod: 1 } for config.chunks m30000| [conn2] Tue Jul 6 20:30:33 Buildindex config.chunks idxNo:3 { ns: "config.chunks", key: { ns: 1, lastmod: 1 }, name: "ns_1_lastmod_1", unique: true } m31000| Tue Jul 6 20:30:33 waiting for connections on port 31000 m31000| Tue Jul 6 20:30:33 fd limit hard:9223372036854775807 soft:256 max conn: 204 m30000| [conn2] Tue Jul 6 20:30:33 done for 0 records 0.001secs m30000| [conn2] Tue Jul 6 20:30:33 building new index on { _id: 1 } for config.shards m30000| [conn2] Tue Jul 6 20:30:33 Buildindex config.shards idxNo:0 { name: "_id_", ns: "config.shards", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:30:33 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:30:33 info: creating collection config.shards on add index m30000| building new index on { host: 1 } for config.shards m30000| [conn2] Tue Jul 6 20:30:33 Buildindex config.shards idxNo:1 { ns: "config.shards", key: { host: 1 }, name: "host_1", unique: true } m30000| [conn2] Tue Jul 6 20:30:33 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:30:33 building new index on { _id: 1 } for config.mongos m30000| [conn2] Tue Jul 6 20:30:33 Buildindex config.mongos idxNo:0 { name: "_id_", ns: "config.mongos", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:30:33 done for 0 records 0secs m31000| Tue Jul 6 20:30:33 connection accepted from 127.0.0.1:54227 #1 m31000| [conn1] Tue Jul 6 20:30:33 couldn't find database [admin] in config db m31000| [conn1] Tue Jul 6 20:30:33 put [admin] on: config:localhost:30000 m30000| [conn2] Tue Jul 6 20:30:33 building new index on { _id: 1 } for config.databases m30000| [conn2] Tue Jul 6 20:30:33 Buildindex config.databases idxNo:0 { name: "_id_", ns: "config.databases", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:30:33 done for 0 records 0secs m30000| [initandlisten] Tue Jul 6 20:30:33 connection accepted from 127.0.0.1:54228 #3 m31000| [conn1] Tue Jul 6 20:30:33 going to add shard: { _id: "shard0", host: "localhost:30000" } m30001| [initandlisten] Tue Jul 6 20:30:33 connection accepted from 127.0.0.1:54229 #2 m31000| [conn1] Tue Jul 6 20:30:33 going to add shard: { _id: "shard1", host: "localhost:30001" } m31000| [conn1] Tue Jul 6 20:30:33 couldn't find database [test] in config db m31000| [conn1] Tue Jul 6 20:30:33 picking shard: shard: shard1:localhost:30001 mapped: 0 writeLock: 0 m31000| [conn1] Tue Jul 6 20:30:33 put [test] on: shard1:localhost:30001 m31000| [conn1] Tue Jul 6 20:30:33 enabling sharding on: test m31000| creating WriteBackListener for: localhost:30001 m30001| [initandlisten] Tue Jul 6 20:30:33 connection accepted from 127.0.0.1:54230 #3 m30001| Tue Jul 6 20:30:33 allocating new datafile /data/db/error11/test.ns, filling with zeroes... m30001| Tue Jul 6 20:30:33 done allocating datafile /data/db/error11/test.ns, size: 16MB, took 0.033 secs m30001| Tue Jul 6 20:30:33 allocating new datafile /data/db/error11/test.0, filling with zeroes... m30001| Tue Jul 6 20:30:33 done allocating datafile /data/db/error11/test.0, size: 16MB, took 0.027 secs m30001| [conn2] Tue Jul 6 20:30:33 building new index on { _id: 1 } for test.foo m30001| [conn2] Tue Jul 6 20:30:33 Buildindex test.foo idxNo:0 { name: "_id_", ns: "test.foo", key: { _id: 1 } } m30001| [conn2] Tue Jul 6 20:30:33 done for 0 records 0.002secs m30001| [conn2] Tue Jul 6 20:30:33 Caught Assertion in insert , continuing m30001| [conn2] Tue Jul 6 20:30:33 insert test.foo exception 11000 E11000 duplicate key error index: test.foo.$_id_ dup key: { : 1.0 } 5ms m30001| [initandlisten] Tue Jul 6 20:30:33 connection accepted from 127.0.0.1:54231 #4 m31000| [conn1] Tue Jul 6 20:30:33 CMD: shardcollection: { shardcollection: "test.foo2", key: { num: 1.0 } } m31000| [conn1] Tue Jul 6 20:30:33 enable sharding on: test.foo2 with shard key: { num: 1.0 } m31000| [conn1] Tue Jul 6 20:30:33 no chunks for:test.foo2 so creating first: shard ns:test.foo2 shard: shard1:localhost:30001 lastmod: 1|0 min: { num: MinKey } max: { num: MaxKey } m30001| [conn4] Tue Jul 6 20:30:33 building new index on { _id: 1 } for test.foo2 m30001| [conn4] Tue Jul 6 20:30:33 Buildindex test.foo2 idxNo:0 { name: "_id_", ns: "test.foo2", key: { _id: 1 } } m30001| [conn4] Tue Jul 6 20:30:33 done for 0 records 0secs m30001| [conn4] Tue Jul 6 20:30:33 info: creating collection test.foo2 on add index m30001| building new index on { num: 1.0 } for test.foo2 m30001| [conn4] Tue Jul 6 20:30:33 Buildindex test.foo2 idxNo:1 { ns: "test.foo2", key: { num: 1.0 }, name: "num_1" } m30001| [conn4] Tue Jul 6 20:30:33 done for 0 records 0secs m31000| [conn1] Tue Jul 6 20:30:33 setShardVersion shard1 localhost:30001 test.foo2 { setShardVersion: "test.foo2", configdb: "localhost:30000", version: Timestamp 1000|0, serverID: ObjectId('4c33caa9bc67782074863c95'), shard: "shard1", shardHost: "localhost:30001" } 0x606a70 m31000| [conn1] Tue Jul 6 20:30:33 setShardVersion failed! m31000| { need_authoritative: true, errmsg: "first setShardVersion", ok: 0.0 } m31000| [conn1] Tue Jul 6 20:30:33 reloading shard info for: test.foo2 m31000| [conn1] Tue Jul 6 20:30:33 setShardVersion shard1 localhost:30001 test.foo2 { setShardVersion: "test.foo2", configdb: "localhost:30000", version: Timestamp 1000|0, serverID: ObjectId('4c33caa9bc67782074863c95'), authoritative: true, shard: "shard1", shardHost: "localhost:30001" } 0x606a70 m31000| [conn1] Tue Jul 6 20:30:33 setShardVersion success! m31000| [conn1] Tue Jul 6 20:30:33 splitting: test.foo2 shard: m30000| [conn2] Tue Jul 6 20:30:33 building new index on { _id: 1 } for config.locks m30000| [conn2] Tue Jul 6 20:30:33 Buildindex config.locks idxNo:0 { name: "_id_", ns: "config.locks", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:30:33 done for 0 records 0secs m31000| [conn1] Tue Jul 6 20:30:33 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.foo2", state: 1, when: new Date(1278462633272), who: "duane.local:1278462633:16807", why: "split-shard ns:test.foo2 shard: shard1:localhost:30001 lastmod: 1|0 m..." } m31000| [conn1] Tue Jul 6 20:30:33 before split on 1 points m31000| self : shard ns:test.foo2 shard: shard1:localhost:30001 lastmod: 1|0 min: { num: MinKey } max: { num: MaxKey } m31000| [conn1] Tue Jul 6 20:30:33 after split: m31000| shard ns:test.foo2 shard: shard1:localhost:30001 lastmod: 1|0 min: { num: MinKey } max: { num: 10.0 } m31000| [conn1] Tue Jul 6 20:30:33 new chunkshard ns:test.foo2 shard: shard1:localhost:30001 lastmod: 0|0 min: { num: 10.0 } max: { num: MaxKey } m31000| [conn1] Tue Jul 6 20:30:33 { _id: "duane.local-2010-6-7-0-30-0", server: "duane.local", time: new Date(1278462633276), what: "split", ns: "test.foo2", details: { before: { min: { num: MinKey }, max: { num: MaxKey } }, left: { min: { num: MinKey }, max: { num: 10.0 } }, right: { min: { num: 10.0 }, max: { num: MaxKey } } } } m31000| [conn1] Tue Jul 6 20:30:33 dist_lock unlock: { _id: "test.foo2", state: 0, when: new Date(1278462633272), who: "duane.local:1278462633:16807", why: "split-shard ns:test.foo2 shard: shard1:localhost:30001 lastmod: 1|0 m..." } m31000| creating WriteBackListener for: localhost:30000 m31000| [conn1] Tue Jul 6 20:30:33 CMD: movechunk: { movechunk: "test.foo2", find: { num: 20.0 }, to: "localhost:30000" } m31000| [conn1] Tue Jul 6 20:30:33 moving chunk ns: test.foo2 moving ( shard ns:test.foo2 shard: shard1:localhost:30001 lastmod: 2|1 min: { num: 10.0 } max: { num: MaxKey }) shard1:localhost:30001 -> shard0:localhost:30000 m30000| [initandlisten] Tue Jul 6 20:30:33 connection accepted from 127.0.0.1:54232 #4 m30001| [conn2] Tue Jul 6 20:30:33 got movechunk: { moveChunk: "test.foo2", from: "localhost:30001", to: "localhost:30000", filter: { num: { $gte: 10.0, $lt: MaxKey } }, shardId: "test.foo2-num_10.0", configdb: "localhost:30000" } m30001| [conn2] Tue Jul 6 20:30:33 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.foo2", state: 1, when: new Date(1278462633284), who: "duane.local:1278462633:292919990", why: "migrate-{ num: { $gte: 10.0, $lt: MaxKey } }" } m30000| [conn4] Tue Jul 6 20:30:33 startCloneCollection. db:admin collection:test.foo2 from: localhost:30001 query: { num: { $gte: 10.0, $lt: MaxKey } } m30001| [initandlisten] Tue Jul 6 20:30:33 connection accepted from 127.0.0.1:54233 #5 m30001| Tue Jul 6 20:30:33 allocating new datafile /data/db/error11/local.ns, filling with zeroes... m30001| Tue Jul 6 20:30:33 done allocating datafile /data/db/error11/local.ns, size: 16MB, took 0.029 secs m30001| Tue Jul 6 20:30:33 allocating new datafile /data/db/error11/local.0, filling with zeroes... m30001| Tue Jul 6 20:30:33 done allocating datafile /data/db/error11/local.0, size: 16MB, took 0.028 secs m30001| Tue Jul 6 20:30:33 allocating new datafile /data/db/error11/local.1, filling with zeroes... m30000| [initandlisten] Tue Jul 6 20:30:43 connection accepted from 127.0.0.1:54234 #5 m30001| Tue Jul 6 20:30:43 done allocating datafile /data/db/error11/local.1, size: 512MB, took 10.183 secs m30001| [conn5] Tue Jul 6 20:30:43 started logCollection with cmd obj: { logCollection: "test.foo2", start: 1 } m30001| [conn5] Tue Jul 6 20:30:43 query test.$cmd ntoreturn:1 command: { logCollection: "test.foo2", start: 1 } reslen:53 10265ms m30001| [conn4] Tue Jul 6 20:30:43 query admin.$cmd ntoreturn:1 command: { features: 1 } reslen:85 514ms m30000| Tue Jul 6 20:30:43 allocating new datafile /data/db/error10/test.ns, filling with zeroes... m30000| Tue Jul 6 20:30:43 done allocating datafile /data/db/error10/test.ns, size: 16MB, took 0.027 secs m30000| Tue Jul 6 20:30:43 allocating new datafile /data/db/error10/test.0, filling with zeroes... m30000| Tue Jul 6 20:30:43 done allocating datafile /data/db/error10/test.0, size: 16MB, took 0.026 secs m30000| [conn4] Tue Jul 6 20:30:43 building new index on { _id: 1 } for test.foo2 m30000| [conn4] Tue Jul 6 20:30:43 Buildindex test.foo2 idxNo:0 { name: "_id_", ns: "test.foo2", key: { _id: 1 } } m30000| [conn4] Tue Jul 6 20:30:43 done for 0 records 0secs m30000| [conn4] Tue Jul 6 20:30:43 building new index on { num: 1.0 } for test.foo2 m30000| [conn4] Tue Jul 6 20:30:43 Buildindex test.foo2 idxNo:1 { ns: "test.foo2", key: { num: 1.0 }, name: "num_1" } m31000| [Balancer] Tue Jul 6 20:30:43 balancer: after update: { _id: "balancer", who: "duane.local:31000", x: ObjectId('4c33cab3bc67782074863c96') } m31000| [Balancer] Tue Jul 6 20:30:43 balancer: start balancing round m30000| [conn4] Tue Jul 6 20:30:43 done for 3 records 0secs m30000| [conn4] Tue Jul 6 20:30:43 query admin.$cmd ntoreturn:1 command: { startCloneCollection: "test.foo2", from: "localhost:30001", query: { num: { $gte: 10.0, $lt: MaxKey } } } reslen:186 10350ms m30001| [conn5] Tue Jul 6 20:30:43 end connection 127.0.0.1:54233 m31000| [Balancer] Tue Jul 6 20:30:43 min: shard0 0 m31000| [Balancer] Tue Jul 6 20:30:43 max: shard1 2 m31000| [Balancer] Tue Jul 6 20:30:43 draining: 0(0) m31000| [Balancer] Tue Jul 6 20:30:43 balancer: no need to move any chunk m30000| [conn4] Tue Jul 6 20:30:45 finishCloneCollection. db:admin collection:test.foo2 from: localhost:30001 query: { num: { $gte: 10.0, $lt: MaxKey } } m30001| [initandlisten] Tue Jul 6 20:30:45 connection accepted from 127.0.0.1:54235 #6 m30001| [conn6] Tue Jul 6 20:30:45 started logCollection with cmd obj: { logCollection: "test.foo2", validateComplete: 1 } m30001| [conn6] Tue Jul 6 20:30:45 end connection 127.0.0.1:54235 m30001| [conn2] Tue Jul 6 20:30:45 { _id: "duane.local-2010-6-7-0-30-0", server: "duane.local", time: new Date(1278462645643), what: "moveChunk", ns: "test.foo2", details: { range: { num: { $gte: 10.0, $lt: MaxKey } }, from: "shard1", to: "shard0" } } m30001| [conn2] warning: Tue Jul 6 20:30:45 deleting data before ensuring no more cursors TODO m30001| [conn2] Tue Jul 6 20:30:45 moveChunk deleted: 3 m30001| [conn2] Tue Jul 6 20:30:45 dist_lock unlock: { _id: "test.foo2", state: 0, when: new Date(1278462633284), who: "duane.local:1278462633:292919990", why: "migrate-{ num: { $gte: 10.0, $lt: MaxKey } }" } m30001| [conn2] Tue Jul 6 20:30:45 query admin.$cmd ntoreturn:1 command: { moveChunk: "test.foo2", from: "localhost:30001", to: "localhost:30000", filter: { num: { $gte: 10.0, $lt: MaxKey } }, shardId: "test.foo2-num_10.0", configdb: "localhost:30000" } reslen:69 12363ms a: 3 b: 1 m31000| [conn1] Tue Jul 6 20:30:45 setShardVersion shard1 localhost:30001 test.foo2 { setShardVersion: "test.foo2", configdb: "localhost:30000", version: Timestamp 2000|3, serverID: ObjectId('4c33caa9bc67782074863c95'), shard: "shard1", shardHost: "localhost:30001" } 0x606a70 m31000| [conn1] Tue Jul 6 20:30:45 setShardVersion success! m31000| [conn1] Tue Jul 6 20:30:45 setShardVersion shard0 localhost:30000 test.foo2 { setShardVersion: "test.foo2", configdb: "localhost:30000", version: Timestamp 2000|2, serverID: ObjectId('4c33caa9bc67782074863c95'), shard: "shard0", shardHost: "localhost:30000" } 0x6052e0 m31000| [conn1] Tue Jul 6 20:30:45 setShardVersion failed! m31000| { need_authoritative: true, errmsg: "first setShardVersion", ok: 0.0 } m31000| [conn1] Tue Jul 6 20:30:45 reloading shard info for: test.foo2 m31000| [conn1] Tue Jul 6 20:30:45 setShardVersion shard0 localhost:30000 test.foo2 { setShardVersion: "test.foo2", configdb: "localhost:30000", version: Timestamp 2000|2, serverID: ObjectId('4c33caa9bc67782074863c95'), authoritative: true, shard: "shard0", shardHost: "localhost:30000" } 0x6052e0 m31000| [conn1] Tue Jul 6 20:30:45 setShardVersion success! m31000| [conn1] Tue Jul 6 20:30:45 setShardVersion shard1 localhost:30001 test.foo2 { setShardVersion: "test.foo2", configdb: "localhost:30000", version: Timestamp 2000|3, serverID: ObjectId('4c33caa9bc67782074863c95'), shard: "shard1", shardHost: "localhost:30001" } 0x606a70 m31000| [conn1] Tue Jul 6 20:30:45 setShardVersion success! m30000| [conn2] Tue Jul 6 20:30:45 Caught Assertion in insert , continuing m30000| [conn2] Tue Jul 6 20:30:45 insert test.foo2 exception 11000 E11000 duplicate key error index: test.foo2.$_id_ dup key: { : 5.0 } 7ms m31000| [conn1] Tue Jul 6 20:30:45 CMD: shardcollection: { shardcollection: "test.foo3", key: { num: 1.0 } } m31000| [conn1] Tue Jul 6 20:30:45 enable sharding on: test.foo3 with shard key: { num: 1.0 } m31000| [conn1] Tue Jul 6 20:30:45 no chunks for:test.foo3 so creating first: shard ns:test.foo3 shard: shard1:localhost:30001 lastmod: 1|0 min: { num: MinKey } max: { num: MaxKey } m30001| [conn4] Tue Jul 6 20:30:45 building new index on { _id: 1 } for test.foo3 m30001| [conn4] Tue Jul 6 20:30:45 Buildindex test.foo3 idxNo:0 { name: "_id_", ns: "test.foo3", key: { _id: 1 } } m30001| [conn4] Tue Jul 6 20:30:45 done for 0 records 0secs m30001| [conn4] Tue Jul 6 20:30:45 info: creating collection test.foo3 on add index m30001| building new index on { num: 1.0 } for test.foo3 m30001| [conn4] Tue Jul 6 20:30:45 Buildindex test.foo3 idxNo:1 { ns: "test.foo3", key: { num: 1.0 }, name: "num_1" } m30001| [conn4] Tue Jul 6 20:30:45 done for 0 records 0secs m31000| [conn1] Tue Jul 6 20:30:45 tried to insert object without shard key: test.foo3 { _id: ObjectId('4c33cab571b8fb1041833518') } m31000| [conn1] Tue Jul 6 20:30:46 UserException: tried to insert object without shard key m31000| [conn1] Tue Jul 6 20:30:46 setShardVersion shard1 localhost:30001 test.foo3 { setShardVersion: "test.foo3", configdb: "localhost:30000", version: Timestamp 1000|0, serverID: ObjectId('4c33caa9bc67782074863c95'), shard: "shard1", shardHost: "localhost:30001" } 0x606a70 m31000| [conn1] Tue Jul 6 20:30:46 setShardVersion failed! m31000| { need_authoritative: true, ns: "test.foo3", errmsg: "first time for this ns", ok: 0.0 } m31000| [conn1] Tue Jul 6 20:30:46 reloading shard info for: test.foo3 m31000| [conn1] Tue Jul 6 20:30:46 setShardVersion shard1 localhost:30001 test.foo3 { setShardVersion: "test.foo3", configdb: "localhost:30000", version: Timestamp 1000|0, serverID: ObjectId('4c33caa9bc67782074863c95'), authoritative: true, shard: "shard1", shardHost: "localhost:30001" } 0x606a70 m31000| [conn1] Tue Jul 6 20:30:46 setShardVersion success! m31000| [conn1] Tue Jul 6 20:30:46 retrying insert because of StaleConfigException: { _id: ObjectId('4c33cab671b8fb1041833519'), num: 1.0 } m31000| Tue Jul 6 20:30:46 dbexit: received signal 15 rc:0 m30001| [conn4] Tue Jul 6 20:30:46 end connection 127.0.0.1:54231 m30000| [conn5] Tue Jul 6 20:30:46 end connection 127.0.0.1:54234 m30001| [conn2] Tue Jul 6 20:30:46 end connection 127.0.0.1:54229 m30000| [conn2] Tue Jul 6 20:30:46 end connection 127.0.0.1:54226 shell: stopped mongo program on port 31000 m30000| Tue Jul 6 20:30:47 got kill or ctrl c signal 15 (Terminated), will terminate after current cmd ends m30000| [interruptThread] Tue Jul 6 20:30:47 now exiting m30000| Tue Jul 6 20:30:47 dbexit: m30000| [interruptThread] Tue Jul 6 20:30:47 shutdown: going to close listening sockets... m30000| [interruptThread] Tue Jul 6 20:30:47 going to close listening socket: 11 m30000| [interruptThread] Tue Jul 6 20:30:47 going to close listening socket: 12 m30000| [interruptThread] Tue Jul 6 20:30:47 shutdown: going to flush oplog... m30000| [interruptThread] Tue Jul 6 20:30:47 shutdown: going to close sockets... m30000| [interruptThread] Tue Jul 6 20:30:47 shutdown: waiting for fs preallocator... m30000| [interruptThread] Tue Jul 6 20:30:47 shutdown: closing all files... m30000| Tue Jul 6 20:30:47 closeAllFiles() finished m30000| [interruptThread] Tue Jul 6 20:30:47 shutdown: removing fs lock... m30000| Tue Jul 6 20:30:47 dbexit: really exiting now shell: stopped mongo program on port 30000 m30001| Tue Jul 6 20:30:48 got kill or ctrl c signal 15 (Terminated), will terminate after current cmd ends m30001| [interruptThread] Tue Jul 6 20:30:48 now exiting m30001| Tue Jul 6 20:30:48 dbexit: m30001| [interruptThread] Tue Jul 6 20:30:48 shutdown: going to close listening sockets... m30001| [interruptThread] Tue Jul 6 20:30:48 going to close listening socket: 14 m30001| [interruptThread] Tue Jul 6 20:30:48 going to close listening socket: 15 m30001| [interruptThread] Tue Jul 6 20:30:48 shutdown: going to flush oplog... m30001| [interruptThread] Tue Jul 6 20:30:48 shutdown: going to close sockets... m30001| [interruptThread] Tue Jul 6 20:30:48 shutdown: waiting for fs preallocator... m30001| [interruptThread] Tue Jul 6 20:30:48 shutdown: closing all files... m30001| [conn1] Tue Jul 6 20:30:48 MessagingPort recv() errno:9 Bad file descriptor 127.0.0.1:54224 m30001| [conn1] Tue Jul 6 20:30:48 end connection 127.0.0.1:54224 m30001| Tue Jul 6 20:30:48 closeAllFiles() finished m30001| [interruptThread] Tue Jul 6 20:30:48 shutdown: removing fs lock... m30001| Tue Jul 6 20:30:48 dbexit: really exiting now shell: stopped mongo program on port 30001 *** error1 completed successfully *** [initandlisten] Tue Jul 6 20:31:07 connection accepted from 127.0.0.1:54236 #10 [conn10] Tue Jul 6 20:31:08 end connection 127.0.0.1:54236 [initandlisten] Tue Jul 6 20:31:08 connection accepted from 127.0.0.1:54237 #11 Tue Jul 6 20:31:08 ****ok. response.data:1 time:0.201ms len: 5 data: i am fine - dbMsg deprecated [conn11] Tue Jul 6 20:31:09 end connection 127.0.0.1:54237 MongoDB shell version: 1.5.5-pre- shell: started program /Users/10gen/work/buildslaves/mongo/OS_X_104_32bit/mongo/mongod --port 30000 --dbpath /data/db/features10 --noprealloc --smallfiles --oplogSize 2 --nohttpinterface m30000| Tue Jul 6 20:31:09 MongoDB starting : pid=29476 port=30000 dbpath=/data/db/features10 32-bit m30000| m30000| ** NOTE: This is a development version (1.5.5-pre-) of MongoDB. m30000| ** Not recommended for production. m30000| m30000| ** NOTE: when using MongoDB 32 bit, you are limited to about 2 gigabytes of data m30000| ** see http://blog.mongodb.org/post/137788967/32-bit-limitations m30000| m30000| Tue Jul 6 20:31:09 db version v1.5.5-pre-, pdfile version 4.5 m30000| Tue Jul 6 20:31:09 git version: 47170341084f47c9398f1002e0585cd10db9c7a2 m30000| Tue Jul 6 20:31:09 sys info: Darwin duane.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 BOOST_LIB_VERSION=1_39 m30000| [initandlisten] Tue Jul 6 20:31:09 waiting for connections on port 30000 m30000| [initandlisten] Tue Jul 6 20:31:09 connection accepted from 127.0.0.1:54239 #1 shell: started program /Users/10gen/work/buildslaves/mongo/OS_X_104_32bit/mongo/mongod --port 30001 --dbpath /data/db/features11 --noprealloc --smallfiles --oplogSize 2 --nohttpinterface m30001| Tue Jul 6 20:31:09 MongoDB starting : pid=29477 port=30001 dbpath=/data/db/features11 32-bit m30001| m30001| ** NOTE: This is a development version (1.5.5-pre-) of MongoDB. m30001| ** Not recommended for production. m30001| m30001| ** NOTE: when using MongoDB 32 bit, you are limited to about 2 gigabytes of data m30001| ** see http://blog.mongodb.org/post/137788967/32-bit-limitations m30001| m30001| Tue Jul 6 20:31:09 db version v1.5.5-pre-, pdfile version 4.5 m30001| Tue Jul 6 20:31:09 git version: 47170341084f47c9398f1002e0585cd10db9c7a2 m30001| Tue Jul 6 20:31:09 sys info: Darwin duane.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 BOOST_LIB_VERSION=1_39 m30001| [initandlisten] Tue Jul 6 20:31:09 waiting for connections on port 30001 m30001| [initandlisten] Tue Jul 6 20:31:09 connection accepted from 127.0.0.1:54241 #1 shell: started program /Users/10gen/work/buildslaves/mongo/OS_X_104_32bit/mongo/mongos --port 31000 -v --configdb localhost:30000 m30000| Tue Jul 6 20:31:10 allocating new datafile /data/db/features10/config.ns, filling with zeroes... m30000| Tue Jul 6 20:31:10 done allocating datafile /data/db/features10/config.ns, size: 16MB, took 0.038 secs m31000| Tue Jul 6 20:31:10 /Users/10gen/work/buildslaves/mongo/OS_X_104_32bit/mongo/mongos db version v1.5.5-pre-, pdfile version 4.5 starting (--help for usage) m31000| Tue Jul 6 20:31:10 git version: 47170341084f47c9398f1002e0585cd10db9c7a2 m31000| Tue Jul 6 20:31:10 sys info: Darwin duane.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 BOOST_LIB_VERSION=1_39 m31000| Tue Jul 6 20:31:10 config string : localhost:30000 m30000| [initandlisten] Tue Jul 6 20:31:10 connection accepted from 127.0.0.1:54243 #2 m30000| Tue Jul 6 20:31:10 allocating new datafile /data/db/features10/config.0, filling with zeroes... m30000| Tue Jul 6 20:31:10 done allocating datafile /data/db/features10/config.0, size: 16MB, took 0.03 secs m30000| [conn1] Tue Jul 6 20:31:10 building new index on { _id: 1 } for config.settings m30000| [conn1] Tue Jul 6 20:31:10 Buildindex config.settings idxNo:0 { name: "_id_", ns: "config.settings", key: { _id: 1 } } m30000| [conn1] Tue Jul 6 20:31:10 done for 0 records 0.001secs m30000| [conn1] Tue Jul 6 20:31:10 insert config.settings 102ms m30000| [conn2] Tue Jul 6 20:31:10 building new index on { _id: 1 } for config.version m30000| [conn2] Tue Jul 6 20:31:10 Buildindex config.version idxNo:0 { name: "_id_", ns: "config.version", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:31:10 done for 0 records 0secs m31000| Tue Jul 6 20:31:10 MaxChunkSize: value: 50.0 m30000| [conn2] Tue Jul 6 20:31:10 building new index on { _id: 1 } for config.chunks m30000| [conn2] Tue Jul 6 20:31:10 Buildindex config.chunks idxNo:0 { name: "_id_", ns: "config.chunks", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:31:10 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:31:10 info: creating collection config.chunks on add index m30000| building new index on { ns: 1, min: 1 } for config.chunks m30000| [conn2] Tue Jul 6 20:31:10 Buildindex config.chunks idxNo:1 { ns: "config.chunks", key: { ns: 1, min: 1 }, name: "ns_1_min_1", unique: true } m30000| [conn2] Tue Jul 6 20:31:10 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:31:10 building new index on { ns: 1, shard: 1, min: 1 } for config.chunks m30000| [conn2] Tue Jul 6 20:31:10 Buildindex config.chunks idxNo:2 { ns: "config.chunks", key: { ns: 1, shard: 1, min: 1 }, name: "ns_1_shard_1_min_1", unique: true } m30000| [conn2] Tue Jul 6 20:31:10 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:31:10 building new index on { ns: 1, lastmod: 1 } for config.chunks m30000| [conn2] Tue Jul 6 20:31:10 Buildindex config.chunks idxNo:3 { ns: "config.chunks", key: { ns: 1, lastmod: 1 }, name: "ns_1_lastmod_1", unique: true } m30000| [conn2] Tue Jul 6 20:31:10 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:31:10 building new index on { _id: 1 } for config.shards m30000| [conn2] Tue Jul 6 20:31:10 Buildindex config.shards idxNo:0 { name: "_id_", ns: "config.shards", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:31:10 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:31:10 info: creating collection config.shards on add index m30000| building new index on { host: 1 } for config.shards m30000| [conn2] Tue Jul 6 20:31:10 Buildindex config.shards idxNo:1 { ns: "config.shards", key: { host: 1 }, name: "host_1", unique: true } m30000| [conn2] Tue Jul 6 20:31:10 done for 0 records 0secs m31000| [Balancer] Tue Jul 6 20:31:10 balancer myid: duane.local:31000 m31000| Tue Jul 6 20:31:10 waiting for connections on port 31000 m30000| [conn2] Tue Jul 6 20:31:10 building new index on { _id: 1 } for config.mongos m30000| [conn2] Tue Jul 6 20:31:10 Buildindex config.mongos idxNo:0 { name: "_id_", ns: "config.mongos", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:31:10 done for 0 records 0secs m31000| Tue Jul 6 20:31:10 fd limit hard:9223372036854775807 soft:256 max conn: 204 m31000| Tue Jul 6 20:31:10 connection accepted from 127.0.0.1:54244 #1 m31000| [conn1] Tue Jul 6 20:31:10 couldn't find database [admin] in config db m31000| [conn1] Tue Jul 6 20:31:10 put [admin] on: config:localhost:30000 m30000| [conn2] Tue Jul 6 20:31:10 building new index on { _id: 1 } for config.databases m30000| [conn2] Tue Jul 6 20:31:10 Buildindex config.databases idxNo:0 { name: "_id_", ns: "config.databases", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:31:10 done for 0 records 0secs m30000| [initandlisten] Tue Jul 6 20:31:10 connection accepted from 127.0.0.1:54245 #3 m31000| [conn1] Tue Jul 6 20:31:10 going to add shard: { _id: "shard0", host: "localhost:30000" } m30001| [initandlisten] Tue Jul 6 20:31:10 connection accepted from 127.0.0.1:54246 #2 m31000| [conn1] Tue Jul 6 20:31:10 going to add shard: { _id: "shard1", host: "localhost:30001" } m31000| [conn1] Tue Jul 6 20:31:10 couldn't find database [test] in config db m31000| [conn1] Tue Jul 6 20:31:10 picking shard: shard: shard1:localhost:30001 mapped: 0 writeLock: 0 m31000| [conn1] Tue Jul 6 20:31:10 put [test] on: shard1:localhost:30001 m31000| [conn1] Tue Jul 6 20:31:10 enabling sharding on: test m31000| [conn1] Tue Jul 6 20:31:10 CMD: shardcollection: { shardcollection: "test.foo", key: { num: 1.0 } } m31000| [conn1] Tue Jul 6 20:31:10 enable sharding on: test.foo with shard key: { num: 1.0 } m31000| [conn1] Tue Jul 6 20:31:10 no chunks for:test.foo so creating first: shard ns:test.foo shard: shard1:localhost:30001 lastmod: 1|0 min: { num: MinKey } max: { num: MaxKey } m30001| Tue Jul 6 20:31:10 allocating new datafile /data/db/features11/test.ns, filling with zeroes... m31000| [conn1] Tue Jul 6 20:31:10 .system.indexes write for: test.system.indexes m31000| creating WriteBackListener for: localhost:30001 m30001| [initandlisten] Tue Jul 6 20:31:10 connection accepted from 127.0.0.1:54247 #3 m30001| Tue Jul 6 20:31:10 done allocating datafile /data/db/features11/test.ns, size: 16MB, took 0.031 secs m30001| Tue Jul 6 20:31:10 allocating new datafile /data/db/features11/test.0, filling with zeroes... m30001| Tue Jul 6 20:31:10 done allocating datafile /data/db/features11/test.0, size: 16MB, took 0.026 secs m30001| [conn2] Tue Jul 6 20:31:10 building new index on { _id: 1 } for test.foo m30001| [conn2] Tue Jul 6 20:31:10 Buildindex test.foo idxNo:0 { name: "_id_", ns: "test.foo", key: { _id: 1 } } m30001| [conn2] Tue Jul 6 20:31:10 done for 0 records 0.002secs m30001| [conn2] Tue Jul 6 20:31:10 info: creating collection test.foo on add index m30001| building new index on { num: 1.0 } for test.foo m30001| [conn2] Tue Jul 6 20:31:10 Buildindex test.foo idxNo:1 { ns: "test.foo", key: { num: 1.0 }, name: "num_1" } m30001| [conn2] Tue Jul 6 20:31:10 done for 0 records 0.001secs m30001| [conn2] Tue Jul 6 20:31:10 building new index on { y: 1.0 } for test.foo m30001| [conn2] Tue Jul 6 20:31:10 Buildindex test.foo idxNo:2 { _id: ObjectId('4c33cacee712337b5a791e57'), ns: "test.foo", key: { y: 1.0 }, name: "y_1" } m30001| [conn2] Tue Jul 6 20:31:10 done for 0 records 0secs m31000| [conn1] Tue Jul 6 20:31:10 splitting: test.foo shard: m30000| [conn2] Tue Jul 6 20:31:10 building new index on { _id: 1 } for config.locks m30000| [conn2] Tue Jul 6 20:31:10 Buildindex config.locks idxNo:0 { name: "_id_", ns: "config.locks", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:31:10 done for 0 records 0secs m31000| [conn1] Tue Jul 6 20:31:10 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.foo", state: 1, when: new Date(1278462670333), who: "duane.local:1278462670:16807", why: "split-shard ns:test.foo shard: shard1:localhost:30001 lastmod: 1|0 mi..." } m31000| [conn1] Tue Jul 6 20:31:10 before split on 1 points m31000| self : shard ns:test.foo shard: shard1:localhost:30001 lastmod: 1|0 min: { num: MinKey } max: { num: MaxKey } m31000| [conn1] Tue Jul 6 20:31:10 after split: m31000| shard ns:test.foo shard: shard1:localhost:30001 lastmod: 1|0 min: { num: MinKey } max: { num: 10.0 } m31000| [conn1] Tue Jul 6 20:31:10 new chunkshard ns:test.foo shard: shard1:localhost:30001 lastmod: 0|0 min: { num: 10.0 } max: { num: MaxKey } m31000| [conn1] Tue Jul 6 20:31:10 { _id: "duane.local-2010-6-7-0-31-0", server: "duane.local", time: new Date(1278462670338), what: "split", ns: "test.foo", details: { before: { min: { num: MinKey }, max: { num: MaxKey } }, left: { min: { num: MinKey }, max: { num: 10.0 } }, right: { min: { num: 10.0 }, max: { num: MaxKey } } } } m31000| [conn1] Tue Jul 6 20:31:10 dist_lock unlock: { _id: "test.foo", state: 0, when: new Date(1278462670333), who: "duane.local:1278462670:16807", why: "split-shard ns:test.foo shard: shard1:localhost:30001 lastmod: 1|0 mi..." } m31000| creating WriteBackListener for: localhost:30000 m31000| [conn1] Tue Jul 6 20:31:10 CMD: movechunk: { movechunk: "test.foo", find: { num: 20.0 }, to: "localhost:30000" } m31000| [conn1] Tue Jul 6 20:31:10 moving chunk ns: test.foo moving ( shard ns:test.foo shard: shard1:localhost:30001 lastmod: 2|1 min: { num: 10.0 } max: { num: MaxKey }) shard1:localhost:30001 -> shard0:localhost:30000 m30000| [initandlisten] Tue Jul 6 20:31:10 connection accepted from 127.0.0.1:54248 #4 m30001| [conn2] Tue Jul 6 20:31:10 got movechunk: { moveChunk: "test.foo", from: "localhost:30001", to: "localhost:30000", filter: { num: { $gte: 10.0, $lt: MaxKey } }, shardId: "test.foo-num_10.0", configdb: "localhost:30000" } m30001| [conn2] Tue Jul 6 20:31:10 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.foo", state: 1, when: new Date(1278462670347), who: "duane.local:1278462670:479079529", why: "migrate-{ num: { $gte: 10.0, $lt: MaxKey } }" } m30000| [conn4] Tue Jul 6 20:31:10 startCloneCollection. db:admin collection:test.foo from: localhost:30001 query: { num: { $gte: 10.0, $lt: MaxKey } } m30001| [initandlisten] Tue Jul 6 20:31:10 connection accepted from 127.0.0.1:54249 #4 m30001| Tue Jul 6 20:31:10 allocating new datafile /data/db/features11/local.ns, filling with zeroes... m30001| Tue Jul 6 20:31:10 done allocating datafile /data/db/features11/local.ns, size: 16MB, took 0.032 secs m30001| Tue Jul 6 20:31:10 allocating new datafile /data/db/features11/local.0, filling with zeroes... m30001| Tue Jul 6 20:31:10 done allocating datafile /data/db/features11/local.0, size: 16MB, took 0.026 secs m30001| Tue Jul 6 20:31:10 allocating new datafile /data/db/features11/local.1, filling with zeroes... m30001| Tue Jul 6 20:31:17 done allocating datafile /data/db/features11/local.1, size: 512MB, took 7.48 secs m30001| [conn4] Tue Jul 6 20:31:17 started logCollection with cmd obj: { logCollection: "test.foo", start: 1 } m30001| [conn4] Tue Jul 6 20:31:17 query test.$cmd ntoreturn:1 command: { logCollection: "test.foo", start: 1 } reslen:53 7567ms m30000| Tue Jul 6 20:31:17 allocating new datafile /data/db/features10/test.ns, filling with zeroes... m30000| Tue Jul 6 20:31:17 done allocating datafile /data/db/features10/test.ns, size: 16MB, took 0.028 secs m30000| Tue Jul 6 20:31:17 allocating new datafile /data/db/features10/test.0, filling with zeroes... m30000| Tue Jul 6 20:31:17 done allocating datafile /data/db/features10/test.0, size: 16MB, took 0.026 secs m30000| [conn4] Tue Jul 6 20:31:17 building new index on { _id: 1 } for test.foo m30000| [conn4] Tue Jul 6 20:31:17 Buildindex test.foo idxNo:0 { name: "_id_", ns: "test.foo", key: { _id: 1 } } m30000| [conn4] Tue Jul 6 20:31:17 done for 0 records 0secs m30000| [conn4] Tue Jul 6 20:31:17 building new index on { num: 1.0 } for test.foo m30000| [conn4] Tue Jul 6 20:31:17 Buildindex test.foo idxNo:1 { ns: "test.foo", key: { num: 1.0 }, name: "num_1" } m30000| [conn4] Tue Jul 6 20:31:17 done for 0 records 0secs m30000| [conn4] Tue Jul 6 20:31:17 building new index on { y: 1.0 } for test.foo m30000| [conn4] Tue Jul 6 20:31:17 Buildindex test.foo idxNo:2 { _id: ObjectId('4c33cacee712337b5a791e57'), ns: "test.foo", key: { y: 1.0 }, name: "y_1" } m30000| [conn4] Tue Jul 6 20:31:17 done for 0 records 0secs m30000| [conn4] Tue Jul 6 20:31:17 query admin.$cmd ntoreturn:1 command: { startCloneCollection: "test.foo", from: "localhost:30001", query: { num: { $gte: 10.0, $lt: MaxKey } } } reslen:185 7650ms m30001| [conn4] Tue Jul 6 20:31:18 end connection 127.0.0.1:54249 m30000| [conn4] Tue Jul 6 20:31:20 finishCloneCollection. db:admin collection:test.foo from: localhost:30001 query: { num: { $gte: 10.0, $lt: MaxKey } } m30001| [initandlisten] Tue Jul 6 20:31:20 connection accepted from 127.0.0.1:54250 #5 m30001| [conn5] Tue Jul 6 20:31:20 started logCollection with cmd obj: { logCollection: "test.foo", validateComplete: 1 } m30001| [conn5] Tue Jul 6 20:31:20 end connection 127.0.0.1:54250 m30001| [conn2] Tue Jul 6 20:31:20 { _id: "duane.local-2010-6-7-0-31-0", server: "duane.local", time: new Date(1278462680006), what: "moveChunk", ns: "test.foo", details: { range: { num: { $gte: 10.0, $lt: MaxKey } }, from: "shard1", to: "shard0" } } m30001| [conn2] warning: Tue Jul 6 20:31:20 deleting data before ensuring no more cursors TODO m30001| [conn2] Tue Jul 6 20:31:20 moveChunk deleted: 0 m30001| [conn2] Tue Jul 6 20:31:20 dist_lock unlock: { _id: "test.foo", state: 0, when: new Date(1278462670347), who: "duane.local:1278462670:479079529", why: "migrate-{ num: { $gte: 10.0, $lt: MaxKey } }" } m30001| [conn2] Tue Jul 6 20:31:20 query admin.$cmd ntoreturn:1 command: { moveChunk: "test.foo", from: "localhost:30001", to: "localhost:30000", filter: { num: { $gte: 10.0, $lt: MaxKey } }, shardId: "test.foo-num_10.0", configdb: "localhost:30000" } reslen:69 9663ms m31000| [conn1] Tue Jul 6 20:31:20 setShardVersion shard1 localhost:30001 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 2000|3, serverID: ObjectId('4c33caceb32e69465955881e'), shard: "shard1", shardHost: "localhost:30001" } 0x606a70 m31000| [conn1] Tue Jul 6 20:31:20 setShardVersion success! m31000| [conn1] Tue Jul 6 20:31:20 retrying insert because of StaleConfigException: { _id: ObjectId('4c33cad8e712337b5a791e58'), num: 5.0 } m31000| [conn1] Tue Jul 6 20:31:20 setShardVersion shard0 localhost:30000 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 2000|2, serverID: ObjectId('4c33caceb32e69465955881e'), shard: "shard0", shardHost: "localhost:30000" } 0x6052e0 m31000| [conn1] Tue Jul 6 20:31:20 setShardVersion failed! m31000| { need_authoritative: true, errmsg: "first setShardVersion", ok: 0.0 } m31000| [conn1] Tue Jul 6 20:31:20 reloading shard info for: test.foo m30000| [initandlisten] Tue Jul 6 20:31:20 connection accepted from 127.0.0.1:54251 #5 m31000| [conn1] Tue Jul 6 20:31:20 setShardVersion shard0 localhost:30000 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 2000|2, serverID: ObjectId('4c33caceb32e69465955881e'), authoritative: true, shard: "shard0", shardHost: "localhost:30000" } 0x6052e0 m31000| [conn1] Tue Jul 6 20:31:20 setShardVersion success! m31000| [conn1] Tue Jul 6 20:31:20 retrying insert because of StaleConfigException: { _id: ObjectId('4c33cad8e712337b5a791e59'), num: 15.0 } m31000| [conn1] Tue Jul 6 20:31:20 .system.indexes write for: test.system.indexes m30000| [conn2] Tue Jul 6 20:31:20 building new index on { x: 1.0 } for test.foo m30000| [conn2] Tue Jul 6 20:31:20 Buildindex test.foo idxNo:3 { _id: ObjectId('4c33cad8e712337b5a791e5a'), ns: "test.foo", key: { x: 1.0 }, name: "x_1" } m30000| [conn2] Tue Jul 6 20:31:20 done for 1 records 0secs m30001| [conn2] Tue Jul 6 20:31:20 building new index on { x: 1.0 } for test.foo m30001| [conn2] Tue Jul 6 20:31:20 Buildindex test.foo idxNo:3 { _id: ObjectId('4c33cad8e712337b5a791e5a'), ns: "test.foo", key: { x: 1.0 }, name: "x_1" } m30001| [conn2] Tue Jul 6 20:31:20 done for 1 records 0secs m31000| [conn1] Tue Jul 6 20:31:20 .system.indexes write for: test.system.indexes m30000| [initandlisten] Tue Jul 6 20:31:20 connection accepted from 127.0.0.1:54252 #6 m30001| [initandlisten] Tue Jul 6 20:31:20 connection accepted from 127.0.0.1:54253 #6 m31000| [Balancer] Tue Jul 6 20:31:20 balancer: after update: { _id: "balancer", who: "duane.local:31000", x: ObjectId('4c33cad8b32e69465955881f') } m31000| [Balancer] Tue Jul 6 20:31:20 balancer: start balancing round m31000| [Balancer] Tue Jul 6 20:31:20 min: shard0 1 m31000| [Balancer] Tue Jul 6 20:31:20 max: shard0 1 m31000| [Balancer] Tue Jul 6 20:31:20 draining: 0(0) m31000| [Balancer] Tue Jul 6 20:31:20 balancer: no need to move any chunk m31000| [conn1] Tue Jul 6 20:31:23 UserException: can't use unique indexes with sharding ns:test.foo key: { z: 1.0 } m31000| [conn1] Tue Jul 6 20:31:23 .system.indexes write for: test.system.indexes m30000| [conn2] Tue Jul 6 20:31:23 building new index on { num: 1.0, bar: 1.0 } for test.foo m30000| [conn2] Tue Jul 6 20:31:23 Buildindex test.foo idxNo:4 { _id: ObjectId('4c33cadbe712337b5a791e5c'), ns: "test.foo", key: { num: 1.0, bar: 1.0 }, name: "num_1_bar_1", unique: true } m30001| [conn2] Tue Jul 6 20:31:23 building new index on { num: 1.0, bar: 1.0 } for test.foo m30000| [conn2] Tue Jul 6 20:31:23 done for 1 records 0.001secs m30001| [conn2] Tue Jul 6 20:31:23 Buildindex test.foo idxNo:4 { _id: ObjectId('4c33cadbe712337b5a791e5c'), ns: "test.foo", key: { num: 1.0, bar: 1.0 }, name: "num_1_bar_1", unique: true } m30001| [conn2] Tue Jul 6 20:31:23 done for 1 records 0.002secs m31000| [conn1] Tue Jul 6 20:31:23 .system.indexes write for: test.system.indexes m30001| [conn2] Tue Jul 6 20:31:23 building new index on { _id: 1 } for test.foo2 m30001| [conn2] Tue Jul 6 20:31:23 Buildindex test.foo2 idxNo:0 { name: "_id_", ns: "test.foo2", key: { _id: 1 } } m30001| [conn2] Tue Jul 6 20:31:23 done for 0 records 0secs m30001| [conn2] Tue Jul 6 20:31:23 info: creating collection test.foo2 on add index m30001| building new index on { a: 1.0 } for test.foo2 m30001| [conn2] Tue Jul 6 20:31:23 Buildindex test.foo2 idxNo:1 { _id: ObjectId('4c33cadbe712337b5a791e5d'), ns: "test.foo2", key: { a: 1.0 }, name: "a_1" } m30001| [conn2] Tue Jul 6 20:31:23 done for 0 records 0secs [ { "name" : "_id_", "ns" : "test.foo2", "key" : { "_id" : 1 } }, { "_id" : ObjectId("4c33cadbe712337b5a791e5d"), "ns" : "test.foo2", "key" : { "a" : 1 }, "name" : "a_1" } ] m31000| [conn1] Tue Jul 6 20:31:23 CMD: shardcollection: { shardcollection: "test.foo2", key: { num: 1.0 } } m31000| [conn1] Tue Jul 6 20:31:23 enable sharding on: test.foo2 with shard key: { num: 1.0 } m31000| [conn1] Tue Jul 6 20:31:23 no chunks for:test.foo2 so creating first: shard ns:test.foo2 shard: shard1:localhost:30001 lastmod: 1|0 min: { num: MinKey } max: { num: MaxKey } m30001| [conn6] Tue Jul 6 20:31:23 building new index on { num: 1.0 } for test.foo2 m30001| [conn6] Tue Jul 6 20:31:23 Buildindex test.foo2 idxNo:2 { ns: "test.foo2", key: { num: 1.0 }, name: "num_1" } m30001| [conn6] Tue Jul 6 20:31:23 done for 0 records 0secs m31000| [conn1] Tue Jul 6 20:31:23 .system.indexes write for: test.system.indexes m30001| [conn2] Tue Jul 6 20:31:23 building new index on { _id: 1 } for test.foo3 m30001| [conn2] Tue Jul 6 20:31:23 Buildindex test.foo3 idxNo:0 { name: "_id_", ns: "test.foo3", key: { _id: 1 } } m30001| [conn2] Tue Jul 6 20:31:23 done for 0 records 0secs m30001| [conn2] Tue Jul 6 20:31:23 info: creating collection test.foo3 on add index m30001| building new index on { a: 1.0 } for test.foo3 m30001| [conn2] Tue Jul 6 20:31:23 Buildindex test.foo3 idxNo:1 { _id: ObjectId('4c33cadbe712337b5a791e5e'), ns: "test.foo3", key: { a: 1.0 }, name: "a_1", unique: true } m30001| [conn2] Tue Jul 6 20:31:23 done for 0 records 0secs [ { "name" : "_id_", "ns" : "test.foo3", "key" : { "_id" : 1 } }, { "_id" : ObjectId("4c33cadbe712337b5a791e5e"), "ns" : "test.foo3", "key" : { "a" : 1 }, "name" : "a_1", "unique" : true } ] m31000| [conn1] Tue Jul 6 20:31:23 .system.indexes write for: test.system.indexes m30001| [conn2] Tue Jul 6 20:31:23 building new index on { _id: 1 } for test.foo7 m30001| [conn2] Tue Jul 6 20:31:23 Buildindex test.foo7 idxNo:0 { name: "_id_", ns: "test.foo7", key: { _id: 1 } } m30001| [conn2] Tue Jul 6 20:31:23 done for 0 records 0secs m30001| [conn2] Tue Jul 6 20:31:23 info: creating collection test.foo7 on add index m30001| building new index on { num: 1.0, a: 1.0 } for test.foo7 m30001| [conn2] Tue Jul 6 20:31:23 Buildindex test.foo7 idxNo:1 { _id: ObjectId('4c33cadbe712337b5a791e5f'), ns: "test.foo7", key: { num: 1.0, a: 1.0 }, name: "num_1_a_1", unique: true } m30001| [conn2] Tue Jul 6 20:31:23 done for 0 records 0secs [ { "name" : "_id_", "ns" : "test.foo7", "key" : { "_id" : 1 } }, { "_id" : ObjectId("4c33cadbe712337b5a791e5f"), "ns" : "test.foo7", "key" : { "num" : 1, "a" : 1 }, "name" : "num_1_a_1", "unique" : true } ] m31000| [conn1] Tue Jul 6 20:31:23 CMD: shardcollection: { shardcollection: "test.foo7", key: { num: 1.0 } } m31000| [conn1] Tue Jul 6 20:31:23 enable sharding on: test.foo7 with shard key: { num: 1.0 } m31000| [conn1] Tue Jul 6 20:31:23 no chunks for:test.foo7 so creating first: shard ns:test.foo7 shard: shard1:localhost:30001 lastmod: 1|0 min: { num: MinKey } max: { num: MaxKey } m30001| [conn6] Tue Jul 6 20:31:23 building new index on { num: 1.0 } for test.foo7 m30001| [conn6] Tue Jul 6 20:31:23 Buildindex test.foo7 idxNo:2 { ns: "test.foo7", key: { num: 1.0 }, name: "num_1" } m30001| [conn6] Tue Jul 6 20:31:23 done for 0 records 0secs m31000| [conn1] Tue Jul 6 20:31:23 setShardVersion shard1 localhost:30001 test.foo2 { setShardVersion: "test.foo2", configdb: "localhost:30000", version: Timestamp 1000|0, serverID: ObjectId('4c33caceb32e69465955881e'), shard: "shard1", shardHost: "localhost:30001" } 0x606a70 m31000| [conn1] Tue Jul 6 20:31:23 setShardVersion failed! m31000| { need_authoritative: true, ns: "test.foo2", errmsg: "first time for this ns", ok: 0.0 } m31000| [conn1] Tue Jul 6 20:31:23 reloading shard info for: test.foo2 m31000| [conn1] Tue Jul 6 20:31:23 setShardVersion shard1 localhost:30001 test.foo2 { setShardVersion: "test.foo2", configdb: "localhost:30000", version: Timestamp 1000|0, serverID: ObjectId('4c33caceb32e69465955881e'), authoritative: true, shard: "shard1", shardHost: "localhost:30001" } 0x606a70 m31000| [conn1] Tue Jul 6 20:31:23 setShardVersion success! m31000| [conn1] Tue Jul 6 20:31:23 retrying insert because of StaleConfigException: { _id: ObjectId('4c33cadbe712337b5a791e60'), num: 5.0, a: 7.0 } m31000| [conn1] Tue Jul 6 20:31:23 CMD: shardcollection: { shardcollection: "test.foo4", key: { num: 1.0 }, unique: true } m31000| [conn1] Tue Jul 6 20:31:23 enable sharding on: test.foo4 with shard key: { num: 1.0 } m31000| [conn1] Tue Jul 6 20:31:23 no chunks for:test.foo4 so creating first: shard ns:test.foo4 shard: shard1:localhost:30001 lastmod: 1|0 min: { num: MinKey } max: { num: MaxKey } m30001| [conn6] Tue Jul 6 20:31:23 building new index on { _id: 1 } for test.foo4 m30001| [conn6] Tue Jul 6 20:31:23 Buildindex test.foo4 idxNo:0 { name: "_id_", ns: "test.foo4", key: { _id: 1 } } m30001| [conn6] Tue Jul 6 20:31:23 done for 0 records 0secs m30001| [conn6] Tue Jul 6 20:31:23 info: creating collection test.foo4 on add index m30001| building new index on { num: 1.0 } for test.foo4 m30001| [conn6] Tue Jul 6 20:31:23 Buildindex test.foo4 idxNo:1 { ns: "test.foo4", key: { num: 1.0 }, name: "num_1", unique: true } m30001| [conn6] Tue Jul 6 20:31:23 done for 0 records 0secs m31000| [conn1] Tue Jul 6 20:31:23 splitting: test.foo4 shard: m31000| [conn1] Tue Jul 6 20:31:23 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.foo4", state: 1, when: new Date(1278462683734), who: "duane.local:1278462683:282475249", why: "split-shard ns:test.foo4 shard: shard1:localhost:30001 lastmod: 1|0 m..." } m31000| [conn1] Tue Jul 6 20:31:23 before split on 1 points m31000| self : shard ns:test.foo4 shard: shard1:localhost:30001 lastmod: 1|0 min: { num: MinKey } max: { num: MaxKey } m31000| [conn1] Tue Jul 6 20:31:23 after split: m31000| shard ns:test.foo4 shard: shard1:localhost:30001 lastmod: 1|0 min: { num: MinKey } max: { num: 10.0 } m31000| [conn1] Tue Jul 6 20:31:23 new chunkshard ns:test.foo4 shard: shard1:localhost:30001 lastmod: 0|0 min: { num: 10.0 } max: { num: MaxKey } m31000| [conn1] Tue Jul 6 20:31:23 { _id: "duane.local-2010-6-7-0-31-1", server: "duane.local", time: new Date(1278462683736), what: "split", ns: "test.foo4", details: { before: { min: { num: MinKey }, max: { num: MaxKey } }, left: { min: { num: MinKey }, max: { num: 10.0 } }, right: { min: { num: 10.0 }, max: { num: MaxKey } } } } m31000| [conn1] Tue Jul 6 20:31:23 dist_lock unlock: { _id: "test.foo4", state: 0, when: new Date(1278462683734), who: "duane.local:1278462683:282475249", why: "split-shard ns:test.foo4 shard: shard1:localhost:30001 lastmod: 1|0 m..." } m31000| [conn1] Tue Jul 6 20:31:23 CMD: movechunk: { movechunk: "test.foo4", find: { num: 20.0 }, to: "localhost:30000" } m31000| [conn1] Tue Jul 6 20:31:23 moving chunk ns: test.foo4 moving ( shard ns:test.foo4 shard: shard1:localhost:30001 lastmod: 2|1 min: { num: 10.0 } max: { num: MaxKey }) shard1:localhost:30001 -> shard0:localhost:30000 m30001| [conn2] Tue Jul 6 20:31:23 got movechunk: { moveChunk: "test.foo4", from: "localhost:30001", to: "localhost:30000", filter: { num: { $gte: 10.0, $lt: MaxKey } }, shardId: "test.foo4-num_10.0", configdb: "localhost:30000" } m30001| [conn2] Tue Jul 6 20:31:23 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.foo4", state: 1, when: new Date(1278462683740), who: "duane.local:1278462683:919192088", why: "migrate-{ num: { $gte: 10.0, $lt: MaxKey } }" } m30000| [conn4] Tue Jul 6 20:31:23 startCloneCollection. db:admin collection:test.foo4 from: localhost:30001 query: { num: { $gte: 10.0, $lt: MaxKey } } m30001| [initandlisten] Tue Jul 6 20:31:23 connection accepted from 127.0.0.1:54254 #7 m30001| [conn7] Tue Jul 6 20:31:23 started logCollection with cmd obj: { logCollection: "test.foo4", start: 1 } m30000| [conn4] Tue Jul 6 20:31:23 building new index on { _id: 1 } for test.foo4 m30000| [conn4] Tue Jul 6 20:31:23 Buildindex test.foo4 idxNo:0 { name: "_id_", ns: "test.foo4", key: { _id: 1 } } m30000| [conn4] Tue Jul 6 20:31:23 done for 0 records 0secs m30000| [conn4] Tue Jul 6 20:31:23 building new index on { num: 1.0 } for test.foo4 m30000| [conn4] Tue Jul 6 20:31:23 Buildindex test.foo4 idxNo:1 { ns: "test.foo4", key: { num: 1.0 }, name: "num_1", unique: true } m30000| [conn4] Tue Jul 6 20:31:23 done for 0 records 0.001secs m30001| [conn7] Tue Jul 6 20:31:23 end connection 127.0.0.1:54254 m30000| [conn4] Tue Jul 6 20:31:25 finishCloneCollection. db:admin collection:test.foo4 from: localhost:30001 query: { num: { $gte: 10.0, $lt: MaxKey } } m30001| [initandlisten] Tue Jul 6 20:31:25 connection accepted from 127.0.0.1:54255 #8 m30001| [conn8] Tue Jul 6 20:31:25 started logCollection with cmd obj: { logCollection: "test.foo4", validateComplete: 1 } m30001| [conn8] Tue Jul 6 20:31:25 end connection 127.0.0.1:54255 m30001| [conn2] Tue Jul 6 20:31:25 { _id: "duane.local-2010-6-7-0-31-1", server: "duane.local", time: new Date(1278462685754), what: "moveChunk", ns: "test.foo4", details: { range: { num: { $gte: 10.0, $lt: MaxKey } }, from: "shard1", to: "shard0" } } m30001| [conn2] warning: Tue Jul 6 20:31:25 deleting data before ensuring no more cursors TODO m30001| [conn2] Tue Jul 6 20:31:25 moveChunk deleted: 0 m30001| [conn2] Tue Jul 6 20:31:25 dist_lock unlock: { _id: "test.foo4", state: 0, when: new Date(1278462683740), who: "duane.local:1278462683:919192088", why: "migrate-{ num: { $gte: 10.0, $lt: MaxKey } }" } m30001| [conn2] Tue Jul 6 20:31:25 query admin.$cmd ntoreturn:1 command: { moveChunk: "test.foo4", from: "localhost:30001", to: "localhost:30000", filter: { num: { $gte: 10.0, $lt: MaxKey } }, shardId: "test.foo4-num_10.0", configdb: "localhost:30000" } reslen:69 2015ms m31000| [conn1] Tue Jul 6 20:31:25 setShardVersion shard1 localhost:30001 test.foo4 { setShardVersion: "test.foo4", configdb: "localhost:30000", version: Timestamp 2000|3, serverID: ObjectId('4c33caceb32e69465955881e'), shard: "shard1", shardHost: "localhost:30001" } 0x606a70 m31000| [conn1] Tue Jul 6 20:31:25 setShardVersion success! m31000| [conn1] Tue Jul 6 20:31:25 retrying insert because of StaleConfigException: { _id: ObjectId('4c33cadde712337b5a791e62'), num: 5.0 } m31000| [conn1] Tue Jul 6 20:31:25 setShardVersion shard0 localhost:30000 test.foo4 { setShardVersion: "test.foo4", configdb: "localhost:30000", version: Timestamp 2000|2, serverID: ObjectId('4c33caceb32e69465955881e'), shard: "shard0", shardHost: "localhost:30000" } 0x6052e0 m31000| [conn1] Tue Jul 6 20:31:25 setShardVersion failed! m31000| { need_authoritative: true, ns: "test.foo4", errmsg: "first time for this ns", ok: 0.0 } m31000| [conn1] Tue Jul 6 20:31:25 reloading shard info for: test.foo4 m31000| [conn1] Tue Jul 6 20:31:25 setShardVersion shard0 localhost:30000 test.foo4 { setShardVersion: "test.foo4", configdb: "localhost:30000", version: Timestamp 2000|2, serverID: ObjectId('4c33caceb32e69465955881e'), authoritative: true, shard: "shard0", shardHost: "localhost:30000" } 0x6052e0 m31000| [conn1] Tue Jul 6 20:31:25 setShardVersion success! m31000| [conn1] Tue Jul 6 20:31:25 retrying insert because of StaleConfigException: { _id: ObjectId('4c33cadde712337b5a791e63'), num: 15.0 } m30001| [conn2] Tue Jul 6 20:31:26 building new index on { _id: 1 } for test.foo4a m30001| [conn2] Tue Jul 6 20:31:26 Buildindex test.foo4a idxNo:0 { name: "_id_", ns: "test.foo4a", key: { _id: 1 } } m30001| [conn2] Tue Jul 6 20:31:26 done for 0 records 0secs m30001| [conn2] Tue Jul 6 20:31:26 CMD: drop test.foo4a.$temp_convertToCapped m30001| [conn2] Tue Jul 6 20:31:26 CMD: drop test.foo4a m30001| [conn2] Tue Jul 6 20:31:26 building new index on { _id: 1 } for test.foo6 m30001| [conn2] Tue Jul 6 20:31:26 Buildindex test.foo6 idxNo:0 { name: "_id_", ns: "test.foo6", key: { _id: 1 } } m30001| [conn2] Tue Jul 6 20:31:26 done for 0 records 0secs m31000| [conn1] Tue Jul 6 20:31:26 .system.indexes write for: test.system.indexes m30001| [conn2] Tue Jul 6 20:31:26 building new index on { a: 1.0 } for test.foo6 m30001| [conn2] Tue Jul 6 20:31:26 Buildindex test.foo6 idxNo:1 { _id: ObjectId('4c33cadee712337b5a791e68'), ns: "test.foo6", key: { a: 1.0 }, name: "a_1" } m30001| [conn2] Tue Jul 6 20:31:26 done for 3 records 0secs [ { "name" : "_id_", "ns" : "test.foo6", "key" : { "_id" : 1 } }, { "_id" : ObjectId("4c33cadee712337b5a791e68"), "ns" : "test.foo6", "key" : { "a" : 1 }, "name" : "a_1" } ] m31000| [conn1] Tue Jul 6 20:31:26 CMD: shardcollection: { shardcollection: "test.foo6", key: { a: 1.0 } } m31000| [conn1] Tue Jul 6 20:31:26 enable sharding on: test.foo6 with shard key: { a: 1.0 } m31000| [conn1] Tue Jul 6 20:31:26 no chunks for:test.foo6 so creating first: shard ns:test.foo6 shard: shard1:localhost:30001 lastmod: 1|0 min: { a: MinKey } max: { a: MaxKey } m31000| [conn1] Tue Jul 6 20:31:26 setShardVersion shard1 localhost:30001 test.foo6 { setShardVersion: "test.foo6", configdb: "localhost:30000", version: Timestamp 1000|0, serverID: ObjectId('4c33caceb32e69465955881e'), shard: "shard1", shardHost: "localhost:30001" } 0x606a70 m31000| [conn1] Tue Jul 6 20:31:26 setShardVersion failed! m31000| { need_authoritative: true, ns: "test.foo6", errmsg: "first time for this ns", ok: 0.0 } m31000| [conn1] Tue Jul 6 20:31:26 reloading shard info for: test.foo6 m31000| [conn1] Tue Jul 6 20:31:26 setShardVersion shard1 localhost:30001 test.foo6 { setShardVersion: "test.foo6", configdb: "localhost:30000", version: Timestamp 1000|0, serverID: ObjectId('4c33caceb32e69465955881e'), authoritative: true, shard: "shard1", shardHost: "localhost:30001" } 0x606a70 m31000| [conn1] Tue Jul 6 20:31:26 setShardVersion success! m31000| [conn1] Tue Jul 6 20:31:26 splitting: test.foo6 shard: m31000| [conn1] Tue Jul 6 20:31:26 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.foo6", state: 1, when: new Date(1278462686796), who: "duane.local:1278462686:1622650073", why: "split-shard ns:test.foo6 shard: shard1:localhost:30001 lastmod: 1|0 m..." } m31000| [conn1] Tue Jul 6 20:31:26 before split on 1 points m31000| self : shard ns:test.foo6 shard: shard1:localhost:30001 lastmod: 1|0 min: { a: MinKey } max: { a: MaxKey } m31000| [conn1] Tue Jul 6 20:31:26 after split: m31000| shard ns:test.foo6 shard: shard1:localhost:30001 lastmod: 1|0 min: { a: MinKey } max: { a: 2.0 } m31000| [conn1] Tue Jul 6 20:31:26 new chunkshard ns:test.foo6 shard: shard1:localhost:30001 lastmod: 0|0 min: { a: 2.0 } max: { a: MaxKey } m31000| [conn1] Tue Jul 6 20:31:26 { _id: "duane.local-2010-6-7-0-31-2", server: "duane.local", time: new Date(1278462686798), what: "split", ns: "test.foo6", details: { before: { min: { a: MinKey }, max: { a: MaxKey } }, left: { min: { a: MinKey }, max: { a: 2.0 } }, right: { min: { a: 2.0 }, max: { a: MaxKey } } } } m31000| [conn1] Tue Jul 6 20:31:26 dist_lock unlock: { _id: "test.foo6", state: 0, when: new Date(1278462686796), who: "duane.local:1278462686:1622650073", why: "split-shard ns:test.foo6 shard: shard1:localhost:30001 lastmod: 1|0 m..." } m31000| [conn1] Tue Jul 6 20:31:26 CMD: movechunk: { movechunk: "test.foo6", find: { a: 3.0 }, to: "localhost:30000" } m31000| [conn1] Tue Jul 6 20:31:26 moving chunk ns: test.foo6 moving ( shard ns:test.foo6 shard: shard1:localhost:30001 lastmod: 2|1 min: { a: 2.0 } max: { a: MaxKey }) shard1:localhost:30001 -> shard0:localhost:30000 m30001| [conn2] Tue Jul 6 20:31:26 got movechunk: { moveChunk: "test.foo6", from: "localhost:30001", to: "localhost:30000", filter: { a: { $gte: 2.0, $lt: MaxKey } }, shardId: "test.foo6-a_2.0", configdb: "localhost:30000" } m30001| [conn2] Tue Jul 6 20:31:26 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.foo6", state: 1, when: new Date(1278462686803), who: "duane.local:1278462686:773613195", why: "migrate-{ a: { $gte: 2.0, $lt: MaxKey } }" } m30000| [conn4] Tue Jul 6 20:31:26 startCloneCollection. db:admin collection:test.foo6 from: localhost:30001 query: { a: { $gte: 2.0, $lt: MaxKey } } m30001| [initandlisten] Tue Jul 6 20:31:26 connection accepted from 127.0.0.1:54256 #9 m30001| [conn9] Tue Jul 6 20:31:26 started logCollection with cmd obj: { logCollection: "test.foo6", start: 1 } m30000| [conn4] Tue Jul 6 20:31:26 building new index on { _id: 1 } for test.foo6 m30000| [conn4] Tue Jul 6 20:31:26 Buildindex test.foo6 idxNo:0 { name: "_id_", ns: "test.foo6", key: { _id: 1 } } m30000| [conn4] Tue Jul 6 20:31:26 done for 0 records 0secs m30000| [conn4] Tue Jul 6 20:31:26 building new index on { a: 1.0 } for test.foo6 m30000| [conn4] Tue Jul 6 20:31:26 Buildindex test.foo6 idxNo:1 { _id: ObjectId('4c33cadee712337b5a791e68'), ns: "test.foo6", key: { a: 1.0 }, name: "a_1" } m30000| [conn4] Tue Jul 6 20:31:26 done for 2 records 0secs m30001| [conn9] Tue Jul 6 20:31:26 end connection 127.0.0.1:54256 m30000| [conn4] Tue Jul 6 20:31:28 finishCloneCollection. db:admin collection:test.foo6 from: localhost:30001 query: { a: { $gte: 2.0, $lt: MaxKey } } m30001| [initandlisten] Tue Jul 6 20:31:28 connection accepted from 127.0.0.1:54257 #10 m30001| [conn10] Tue Jul 6 20:31:28 started logCollection with cmd obj: { logCollection: "test.foo6", validateComplete: 1 } m30001| [conn10] Tue Jul 6 20:31:28 end connection 127.0.0.1:54257 m30001| [conn2] Tue Jul 6 20:31:28 { _id: "duane.local-2010-6-7-0-31-2", server: "duane.local", time: new Date(1278462688818), what: "moveChunk", ns: "test.foo6", details: { range: { a: { $gte: 2.0, $lt: MaxKey } }, from: "shard1", to: "shard0" } } m30001| [conn2] warning: Tue Jul 6 20:31:28 deleting data before ensuring no more cursors TODO m30001| [conn2] Tue Jul 6 20:31:28 moveChunk deleted: 2 m30001| [conn2] Tue Jul 6 20:31:28 dist_lock unlock: { _id: "test.foo6", state: 0, when: new Date(1278462686803), who: "duane.local:1278462686:773613195", why: "migrate-{ a: { $gte: 2.0, $lt: MaxKey } }" } m30001| [conn2] Tue Jul 6 20:31:28 query admin.$cmd ntoreturn:1 command: { moveChunk: "test.foo6", from: "localhost:30001", to: "localhost:30000", filter: { a: { $gte: 2.0, $lt: MaxKey } }, shardId: "test.foo6-a_2.0", configdb: "localhost:30000" } reslen:69 2016ms m30001| [conn2] Tue Jul 6 20:31:28 building new index on { _id: 1 } for test.foo8 m30001| [conn2] Tue Jul 6 20:31:28 Buildindex test.foo8 idxNo:0 { name: "_id_", ns: "test.foo8", key: { _id: 1 } } m30001| [conn2] Tue Jul 6 20:31:28 done for 0 records 0secs m31000| [conn1] Tue Jul 6 20:31:28 ~ScopedDBConnection: _conn != null m30001| [conn6] Tue Jul 6 20:31:28 end connection 127.0.0.1:54253 m31000| Tue Jul 6 20:31:28 dbexit: received signal 15 rc:0 m30001| [conn2] Tue Jul 6 20:31:28 end connection 127.0.0.1:54246 m30000| [conn2] Tue Jul 6 20:31:28 end connection 127.0.0.1:54243 m30000| [conn6] Tue Jul 6 20:31:28 end connection 127.0.0.1:54252 m30000| [conn5] Tue Jul 6 20:31:28 end connection 127.0.0.1:54251 shell: stopped mongo program on port 31000 m30000| Tue Jul 6 20:31:29 got kill or ctrl c signal 15 (Terminated), will terminate after current cmd ends m30000| [interruptThread] Tue Jul 6 20:31:29 now exiting m30000| Tue Jul 6 20:31:29 dbexit: m30000| [interruptThread] Tue Jul 6 20:31:29 shutdown: going to close listening sockets... m30000| [interruptThread] Tue Jul 6 20:31:29 going to close listening socket: 11 m30000| [interruptThread] Tue Jul 6 20:31:29 going to close listening socket: 12 m30000| [interruptThread] Tue Jul 6 20:31:29 shutdown: going to flush oplog... m30000| [interruptThread] Tue Jul 6 20:31:29 shutdown: going to close sockets... m30000| [interruptThread] Tue Jul 6 20:31:29 shutdown: waiting for fs preallocator... m30000| [interruptThread] Tue Jul 6 20:31:29 shutdown: closing all files... m30000| [conn4] Tue Jul 6 20:31:29 MessagingPort recv() errno:9 Bad file descriptor 127.0.0.1:54248 m30000| [conn4] Tue Jul 6 20:31:29 end connection 127.0.0.1:54248 m30000| Tue Jul 6 20:31:29 closeAllFiles() finished m30000| [interruptThread] Tue Jul 6 20:31:29 shutdown: removing fs lock... m30000| Tue Jul 6 20:31:29 dbexit: really exiting now shell: stopped mongo program on port 30000 m30001| Tue Jul 6 20:31:30 got kill or ctrl c signal 15 (Terminated), will terminate after current cmd ends m30001| [interruptThread] Tue Jul 6 20:31:30 now exiting m30001| Tue Jul 6 20:31:30 dbexit: m30001| [interruptThread] Tue Jul 6 20:31:30 shutdown: going to close listening sockets... m30001| [interruptThread] Tue Jul 6 20:31:30 going to close listening socket: 14 m30001| [interruptThread] Tue Jul 6 20:31:30 going to close listening socket: 15 m30001| [interruptThread] Tue Jul 6 20:31:30 shutdown: going to flush oplog... m30001| [interruptThread] Tue Jul 6 20:31:30 shutdown: going to close sockets... m30001| [interruptThread] Tue Jul 6 20:31:30 shutdown: waiting for fs preallocator... m30001| [interruptThread] Tue Jul 6 20:31:30 shutdown: closing all files... m30001| [conn1] Tue Jul 6 20:31:30 MessagingPort recv() errno:9 Bad file descriptor 127.0.0.1:54241 m30001| [conn1] Tue Jul 6 20:31:30 end connection 127.0.0.1:54241 m30001| Tue Jul 6 20:31:30 closeAllFiles() finished m30001| [interruptThread] Tue Jul 6 20:31:30 shutdown: removing fs lock... m30001| Tue Jul 6 20:31:30 dbexit: really exiting now shell: stopped mongo program on port 30001 *** features1 completed successfully *** [initandlisten] Tue Jul 6 20:31:31 connection accepted from 127.0.0.1:54258 #12 [conn12] Tue Jul 6 20:31:32 end connection 127.0.0.1:54258 [initandlisten] Tue Jul 6 20:31:32 connection accepted from 127.0.0.1:54259 #13 Tue Jul 6 20:31:32 ****ok. response.data:1 time:0.185ms len: 5 data: i am fine - dbMsg deprecated [conn13] Tue Jul 6 20:31:33 end connection 127.0.0.1:54259 MongoDB shell version: 1.5.5-pre- shell: started program /Users/10gen/work/buildslaves/mongo/OS_X_104_32bit/mongo/mongod --port 30000 --dbpath /data/db/features20 --noprealloc --smallfiles --oplogSize 2 --nohttpinterface m30000| Tue Jul 6 20:31:36 MongoDB starting : pid=29482 port=30000 dbpath=/data/db/features20 32-bit m30000| m30000| ** NOTE: This is a development version (1.5.5-pre-) of MongoDB. m30000| ** Not recommended for production. m30000| m30000| ** NOTE: when using MongoDB 32 bit, you are limited to about 2 gigabytes of data m30000| ** see http://blog.mongodb.org/post/137788967/32-bit-limitations m30000| m30000| Tue Jul 6 20:31:36 db version v1.5.5-pre-, pdfile version 4.5 m30000| Tue Jul 6 20:31:36 git version: 47170341084f47c9398f1002e0585cd10db9c7a2 m30000| Tue Jul 6 20:31:36 sys info: Darwin duane.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 BOOST_LIB_VERSION=1_39 m30000| [initandlisten] Tue Jul 6 20:31:36 waiting for connections on port 30000 m30000| [initandlisten] Tue Jul 6 20:31:36 connection accepted from 127.0.0.1:54263 #1 shell: started program /Users/10gen/work/buildslaves/mongo/OS_X_104_32bit/mongo/mongod --port 30001 --dbpath /data/db/features21 --noprealloc --smallfiles --oplogSize 2 --nohttpinterface m30001| Tue Jul 6 20:31:36 MongoDB starting : pid=29483 port=30001 dbpath=/data/db/features21 32-bit m30001| m30001| ** NOTE: This is a development version (1.5.5-pre-) of MongoDB. m30001| ** Not recommended for production. m30001| m30001| ** NOTE: when using MongoDB 32 bit, you are limited to about 2 gigabytes of data m30001| ** see http://blog.mongodb.org/post/137788967/32-bit-limitations m30001| m30001| Tue Jul 6 20:31:36 db version v1.5.5-pre-, pdfile version 4.5 m30001| Tue Jul 6 20:31:36 git version: 47170341084f47c9398f1002e0585cd10db9c7a2 m30001| Tue Jul 6 20:31:36 sys info: Darwin duane.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 BOOST_LIB_VERSION=1_39 m30001| [initandlisten] Tue Jul 6 20:31:37 waiting for connections on port 30001 m30001| [initandlisten] Tue Jul 6 20:31:37 connection accepted from 127.0.0.1:54267 #1 shell: started program /Users/10gen/work/buildslaves/mongo/OS_X_104_32bit/mongo/mongos --port 31000 -v --configdb localhost:30000 m30000| Tue Jul 6 20:31:37 allocating new datafile /data/db/features20/config.ns, filling with zeroes... m31000| Tue Jul 6 20:31:37 /Users/10gen/work/buildslaves/mongo/OS_X_104_32bit/mongo/mongos db version v1.5.5-pre-, pdfile version 4.5 starting (--help for usage) m31000| Tue Jul 6 20:31:37 git version: 47170341084f47c9398f1002e0585cd10db9c7a2 m31000| Tue Jul 6 20:31:37 sys info: Darwin duane.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 BOOST_LIB_VERSION=1_39 m31000| Tue Jul 6 20:31:37 config string : localhost:30000 m30000| [initandlisten] Tue Jul 6 20:31:37 connection accepted from 127.0.0.1:54269 #2 m30000| Tue Jul 6 20:31:37 done allocating datafile /data/db/features20/config.ns, size: 16MB, took 0.039 secs m30000| Tue Jul 6 20:31:37 allocating new datafile /data/db/features20/config.0, filling with zeroes... m30000| Tue Jul 6 20:31:37 done allocating datafile /data/db/features20/config.0, size: 16MB, took 0.027 secs m30000| [conn1] Tue Jul 6 20:31:37 building new index on { _id: 1 } for config.settings m30000| [conn1] Tue Jul 6 20:31:37 Buildindex config.settings idxNo:0 { name: "_id_", ns: "config.settings", key: { _id: 1 } } m30000| [conn1] Tue Jul 6 20:31:37 done for 0 records 0.001secs m30000| [conn2] Tue Jul 6 20:31:37 building new index on { _id: 1 } for config.version m30000| [conn2] Tue Jul 6 20:31:37 Buildindex config.version idxNo:0 { name: "_id_", ns: "config.version", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:31:37 done for 0 records 0secs m31000| Tue Jul 6 20:31:37 MaxChunkSize: value: 50.0 m30000| [conn2] Tue Jul 6 20:31:37 building new index on { _id: 1 } for config.chunks m30000| [conn2] Tue Jul 6 20:31:37 Buildindex config.chunks idxNo:0 { name: "_id_", ns: "config.chunks", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:31:37 done for 0 records 0secs m31000| [Balancer] Tue Jul 6 20:31:37 balancer myid: duane.local:31000 m30000| [conn2] Tue Jul 6 20:31:37 info: creating collection config.chunks on add index m30000| building new index on { ns: 1, min: 1 } for config.chunks m30000| [conn2] Tue Jul 6 20:31:37 Buildindex config.chunks idxNo:1 { ns: "config.chunks", key: { ns: 1, min: 1 }, name: "ns_1_min_1", unique: true } m30000| [conn2] Tue Jul 6 20:31:37 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:31:37 building new index on { ns: 1, shard: 1, min: 1 } for config.chunks m30000| [conn2] Tue Jul 6 20:31:37 Buildindex config.chunks idxNo:2 { ns: "config.chunks", key: { ns: 1, shard: 1, min: 1 }, name: "ns_1_shard_1_min_1", unique: true } m30000| [conn2] Tue Jul 6 20:31:37 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:31:37 building new index on { ns: 1, lastmod: 1 } for config.chunks m30000| [conn2] Tue Jul 6 20:31:37 Buildindex config.chunks idxNo:3 { ns: "config.chunks", key: { ns: 1, lastmod: 1 }, name: "ns_1_lastmod_1", unique: true } m31000| Tue Jul 6 20:31:37 waiting for connections on port 31000 m31000| Tue Jul 6 20:31:37 fd limit hard:9223372036854775807 soft:256 max conn: 204 m30000| [conn2] Tue Jul 6 20:31:37 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:31:37 building new index on { _id: 1 } for config.shards m30000| [conn2] Tue Jul 6 20:31:37 Buildindex config.shards idxNo:0 { name: "_id_", ns: "config.shards", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:31:37 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:31:37 info: creating collection config.shards on add index m30000| building new index on { host: 1 } for config.shards m30000| [conn2] Tue Jul 6 20:31:37 Buildindex config.shards idxNo:1 { ns: "config.shards", key: { host: 1 }, name: "host_1", unique: true } m30000| [conn2] Tue Jul 6 20:31:37 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:31:37 building new index on { _id: 1 } for config.mongos m30000| [conn2] Tue Jul 6 20:31:37 Buildindex config.mongos idxNo:0 { name: "_id_", ns: "config.mongos", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:31:37 done for 0 records 0secs m31000| Tue Jul 6 20:31:37 connection accepted from 127.0.0.1:54270 #1 m31000| [conn1] Tue Jul 6 20:31:37 couldn't find database [admin] in config db m31000| [conn1] Tue Jul 6 20:31:37 put [admin] on: config:localhost:30000 m30000| [conn2] Tue Jul 6 20:31:37 building new index on { _id: 1 } for config.databases m30000| [conn2] Tue Jul 6 20:31:37 Buildindex config.databases idxNo:0 { name: "_id_", ns: "config.databases", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:31:37 done for 0 records 0secs m30000| [initandlisten] Tue Jul 6 20:31:37 connection accepted from 127.0.0.1:54271 #3 m31000| [conn1] Tue Jul 6 20:31:37 going to add shard: { _id: "shard0", host: "localhost:30000" } m30001| [initandlisten] Tue Jul 6 20:31:37 connection accepted from 127.0.0.1:54272 #2 m31000| [conn1] Tue Jul 6 20:31:37 going to add shard: { _id: "shard1", host: "localhost:30001" } m31000| [conn1] Tue Jul 6 20:31:37 couldn't find database [test] in config db m31000| [conn1] Tue Jul 6 20:31:37 picking shard: shard: shard1:localhost:30001 mapped: 0 writeLock: 0 m31000| [conn1] Tue Jul 6 20:31:37 put [test] on: shard1:localhost:30001 m31000| [conn1] Tue Jul 6 20:31:37 enabling sharding on: test m31000| creating WriteBackListener for: localhost:30001 m31000| [conn1] Tue Jul 6 20:31:37 .system.indexes write for: test.system.indexes m30001| [initandlisten] Tue Jul 6 20:31:37 connection accepted from 127.0.0.1:54273 #3 m30001| Tue Jul 6 20:31:37 allocating new datafile /data/db/features21/test.ns, filling with zeroes... m30001| Tue Jul 6 20:31:37 done allocating datafile /data/db/features21/test.ns, size: 16MB, took 0.034 secs m30001| Tue Jul 6 20:31:37 allocating new datafile /data/db/features21/test.0, filling with zeroes... m30001| Tue Jul 6 20:31:37 done allocating datafile /data/db/features21/test.0, size: 16MB, took 0.027 secs m30001| [conn2] Tue Jul 6 20:31:37 building new index on { _id: 1 } for test.foo m30001| [conn2] Tue Jul 6 20:31:37 Buildindex test.foo idxNo:0 { name: "_id_", ns: "test.foo", key: { _id: 1 } } m30001| [conn2] Tue Jul 6 20:31:37 done for 0 records 0.001secs m30001| [conn2] Tue Jul 6 20:31:37 building new index on { x: 1.0 } for test.foo m30001| [conn2] Tue Jul 6 20:31:37 Buildindex test.foo idxNo:1 { _id: ObjectId('4c33cae9494810457014ef0b'), ns: "test.foo", key: { x: 1.0 }, name: "x_1" } m30001| [conn2] Tue Jul 6 20:31:37 done for 3 records 0secs m30001| [initandlisten] Tue Jul 6 20:31:37 connection accepted from 127.0.0.1:54274 #4 m31000| [conn1] Tue Jul 6 20:31:37 CMD: shardcollection: { shardcollection: "test.foo", key: { x: 1.0 } } m31000| [conn1] Tue Jul 6 20:31:37 enable sharding on: test.foo with shard key: { x: 1.0 } m31000| [conn1] Tue Jul 6 20:31:37 no chunks for:test.foo so creating first: shard ns:test.foo shard: shard1:localhost:30001 lastmod: 1|0 min: { x: MinKey } max: { x: MaxKey } m31000| [conn1] Tue Jul 6 20:31:37 splitting: test.foo shard: m30000| [conn2] Tue Jul 6 20:31:37 building new index on { _id: 1 } for config.locks m30000| [conn2] Tue Jul 6 20:31:37 Buildindex config.locks idxNo:0 { name: "_id_", ns: "config.locks", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:31:37 done for 0 records 0secs m31000| [conn1] Tue Jul 6 20:31:37 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.foo", state: 1, when: new Date(1278462697606), who: "duane.local:1278462697:16807", why: "split-shard ns:test.foo shard: shard1:localhost:30001 lastmod: 1|0 mi..." } m31000| [conn1] Tue Jul 6 20:31:37 before split on 1 points m31000| self : shard ns:test.foo shard: shard1:localhost:30001 lastmod: 1|0 min: { x: MinKey } max: { x: MaxKey } m31000| [conn1] Tue Jul 6 20:31:37 after split: m31000| shard ns:test.foo shard: shard1:localhost:30001 lastmod: 1|0 min: { x: MinKey } max: { x: 2.0 } m31000| [conn1] Tue Jul 6 20:31:37 new chunkshard ns:test.foo shard: shard1:localhost:30001 lastmod: 0|0 min: { x: 2.0 } max: { x: MaxKey } m31000| [conn1] Tue Jul 6 20:31:37 { _id: "duane.local-2010-6-7-0-31-0", server: "duane.local", time: new Date(1278462697611), what: "split", ns: "test.foo", details: { before: { min: { x: MinKey }, max: { x: MaxKey } }, left: { min: { x: MinKey }, max: { x: 2.0 } }, right: { min: { x: 2.0 }, max: { x: MaxKey } } } } m31000| [conn1] Tue Jul 6 20:31:37 dist_lock unlock: { _id: "test.foo", state: 0, when: new Date(1278462697606), who: "duane.local:1278462697:16807", why: "split-shard ns:test.foo shard: shard1:localhost:30001 lastmod: 1|0 mi..." } m31000| creating WriteBackListener for: localhost:30000 m31000| [conn1] Tue Jul 6 20:31:37 CMD: movechunk: { movechunk: "test.foo", find: { x: 3.0 }, to: "localhost:30000" } m31000| [conn1] Tue Jul 6 20:31:37 moving chunk ns: test.foo moving ( shard ns:test.foo shard: shard1:localhost:30001 lastmod: 2|1 min: { x: 2.0 } max: { x: MaxKey }) shard1:localhost:30001 -> shard0:localhost:30000 m30000| [initandlisten] Tue Jul 6 20:31:37 connection accepted from 127.0.0.1:54275 #4 m30001| [conn2] Tue Jul 6 20:31:37 got movechunk: { moveChunk: "test.foo", from: "localhost:30001", to: "localhost:30000", filter: { x: { $gte: 2.0, $lt: MaxKey } }, shardId: "test.foo-x_2.0", configdb: "localhost:30000" } m30001| [conn2] Tue Jul 6 20:31:37 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.foo", state: 1, when: new Date(1278462697618), who: "duane.local:1278462697:1205555379", why: "migrate-{ x: { $gte: 2.0, $lt: MaxKey } }" } m30000| [conn4] Tue Jul 6 20:31:37 startCloneCollection. db:admin collection:test.foo from: localhost:30001 query: { x: { $gte: 2.0, $lt: MaxKey } } m30001| [initandlisten] Tue Jul 6 20:31:37 connection accepted from 127.0.0.1:54276 #5 m30001| Tue Jul 6 20:31:37 allocating new datafile /data/db/features21/local.ns, filling with zeroes... m30001| Tue Jul 6 20:31:37 done allocating datafile /data/db/features21/local.ns, size: 16MB, took 0.033 secs m30001| Tue Jul 6 20:31:37 allocating new datafile /data/db/features21/local.0, filling with zeroes... m30001| Tue Jul 6 20:31:37 done allocating datafile /data/db/features21/local.0, size: 16MB, took 0.026 secs m30001| Tue Jul 6 20:31:37 allocating new datafile /data/db/features21/local.1, filling with zeroes... m30000| [initandlisten] Tue Jul 6 20:31:47 connection accepted from 127.0.0.1:54277 #5 m30001| Tue Jul 6 20:31:47 done allocating datafile /data/db/features21/local.1, size: 512MB, took 10.01 secs m30001| [conn5] Tue Jul 6 20:31:47 started logCollection with cmd obj: { logCollection: "test.foo", start: 1 } m30001| [conn5] Tue Jul 6 20:31:47 query test.$cmd ntoreturn:1 command: { logCollection: "test.foo", start: 1 } reslen:53 10090ms m30001| [conn4] Tue Jul 6 20:31:47 query admin.$cmd ntoreturn:1 command: { features: 1 } reslen:85 341ms m30000| Tue Jul 6 20:31:47 allocating new datafile /data/db/features20/test.ns, filling with zeroes... m30000| Tue Jul 6 20:31:47 done allocating datafile /data/db/features20/test.ns, size: 16MB, took 0.027 secs m30000| Tue Jul 6 20:31:47 allocating new datafile /data/db/features20/test.0, filling with zeroes... m30000| Tue Jul 6 20:31:47 done allocating datafile /data/db/features20/test.0, size: 16MB, took 0.027 secs m30000| [conn4] Tue Jul 6 20:31:47 building new index on { _id: 1 } for test.foo m30000| [conn4] Tue Jul 6 20:31:47 Buildindex test.foo idxNo:0 { name: "_id_", ns: "test.foo", key: { _id: 1 } } m30000| [conn4] Tue Jul 6 20:31:47 done for 0 records 0.001secs m30000| [conn4] Tue Jul 6 20:31:47 building new index on { x: 1.0 } for test.foo m30000| [conn4] Tue Jul 6 20:31:47 Buildindex test.foo idxNo:1 { _id: ObjectId('4c33cae9494810457014ef0b'), ns: "test.foo", key: { x: 1.0 }, name: "x_1" } m31000| [Balancer] Tue Jul 6 20:31:47 balancer: after update: { _id: "balancer", who: "duane.local:31000", x: ObjectId('4c33caf311c7f1186cb521f3') } m31000| [Balancer] Tue Jul 6 20:31:47 balancer: start balancing round m30000| [conn4] Tue Jul 6 20:31:47 done for 2 records 0secs m30000| [conn4] Tue Jul 6 20:31:47 query admin.$cmd ntoreturn:1 command: { startCloneCollection: "test.foo", from: "localhost:30001", query: { x: { $gte: 2.0, $lt: MaxKey } } } reslen:183 10183ms m31000| [Balancer] Tue Jul 6 20:31:47 min: shard0 0 m31000| [Balancer] Tue Jul 6 20:31:47 max: shard1 2 m31000| [Balancer] Tue Jul 6 20:31:47 draining: 0(0) m31000| [Balancer] Tue Jul 6 20:31:47 balancer: no need to move any chunk m30001| [conn5] Tue Jul 6 20:31:47 end connection 127.0.0.1:54276 m30000| [conn4] Tue Jul 6 20:31:49 finishCloneCollection. db:admin collection:test.foo from: localhost:30001 query: { x: { $gte: 2.0, $lt: MaxKey } } m30001| [initandlisten] Tue Jul 6 20:31:49 connection accepted from 127.0.0.1:54278 #6 m30001| [conn6] Tue Jul 6 20:31:49 started logCollection with cmd obj: { logCollection: "test.foo", validateComplete: 1 } m30001| [conn6] Tue Jul 6 20:31:49 end connection 127.0.0.1:54278 m30001| [conn2] Tue Jul 6 20:31:49 { _id: "duane.local-2010-6-7-0-31-0", server: "duane.local", time: new Date(1278462709809), what: "moveChunk", ns: "test.foo", details: { range: { x: { $gte: 2.0, $lt: MaxKey } }, from: "shard1", to: "shard0" } } m30001| [conn2] warning: Tue Jul 6 20:31:49 deleting data before ensuring no more cursors TODO m30001| [conn2] Tue Jul 6 20:31:49 moveChunk deleted: 2 m30001| [conn2] Tue Jul 6 20:31:49 dist_lock unlock: { _id: "test.foo", state: 0, when: new Date(1278462697618), who: "duane.local:1278462697:1205555379", why: "migrate-{ x: { $gte: 2.0, $lt: MaxKey } }" } m30001| [conn2] Tue Jul 6 20:31:49 query admin.$cmd ntoreturn:1 command: { moveChunk: "test.foo", from: "localhost:30001", to: "localhost:30000", filter: { x: { $gte: 2.0, $lt: MaxKey } }, shardId: "test.foo-x_2.0", configdb: "localhost:30000" } reslen:69 12194ms m31000| [conn1] Tue Jul 6 20:31:49 setShardVersion shard1 localhost:30001 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 2000|3, serverID: ObjectId('4c33cae911c7f1186cb521f2'), shard: "shard1", shardHost: "localhost:30001" } 0x607730 m31000| [conn1] Tue Jul 6 20:31:49 setShardVersion success! m31000| [conn1] Tue Jul 6 20:31:49 setShardVersion shard0 localhost:30000 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 2000|2, serverID: ObjectId('4c33cae911c7f1186cb521f2'), shard: "shard0", shardHost: "localhost:30000" } 0x608640 m31000| [conn1] Tue Jul 6 20:31:49 setShardVersion failed! m31000| { need_authoritative: true, errmsg: "first setShardVersion", ok: 0.0 } m31000| [conn1] Tue Jul 6 20:31:49 reloading shard info for: test.foo m31000| [conn1] Tue Jul 6 20:31:49 setShardVersion shard0 localhost:30000 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 2000|2, serverID: ObjectId('4c33cae911c7f1186cb521f2'), authoritative: true, shard: "shard0", shardHost: "localhost:30000" } 0x608640 m31000| [conn1] Tue Jul 6 20:31:49 setShardVersion success! m31000| [conn1] Tue Jul 6 20:31:49 setShardVersion shard1 localhost:30001 test.foo { setShardVersion: "test.foo", configdb: "localhost:30000", version: Timestamp 2000|3, serverID: ObjectId('4c33cae911c7f1186cb521f2'), shard: "shard1", shardHost: "localhost:30001" } 0x607730 m31000| [conn1] Tue Jul 6 20:31:49 setShardVersion success! m30001| [conn4] Tue Jul 6 20:31:49 building new index on { _id: 1 } for test.foo2 m30001| [conn4] Tue Jul 6 20:31:49 Buildindex test.foo2 idxNo:0 { name: "_id_", ns: "test.foo2", key: { _id: 1 } } m30001| [conn4] Tue Jul 6 20:31:57 external sort used : 0 files in 7 secs m30001| [conn4] Tue Jul 6 20:31:57 done for 0 records 7.277secs m30001| [conn4] Tue Jul 6 20:31:57 update test.foo2 query: { _id: ObjectId('4c33caf5494810457014ef10') } 7277ms [ { "name" : "_id_", "ns" : "test.foo2", "key" : { "_id" : 1 } } ] m31000| [conn1] Tue Jul 6 20:31:57 CMD: shardcollection: { shardcollection: "test.foo2", key: { _id: 1.0 } } m31000| [conn1] Tue Jul 6 20:31:57 enable sharding on: test.foo2 with shard key: { _id: 1.0 } m31000| [conn1] Tue Jul 6 20:31:57 no chunks for:test.foo2 so creating first: shard ns:test.foo2 shard: shard1:localhost:30001 lastmod: 1|0 min: { _id: MinKey } max: { _id: MaxKey } m31000| [conn1] Tue Jul 6 20:31:57 setShardVersion shard1 localhost:30001 test.foo2 { setShardVersion: "test.foo2", configdb: "localhost:30000", version: Timestamp 1000|0, serverID: ObjectId('4c33cae911c7f1186cb521f2'), shard: "shard1", shardHost: "localhost:30001" } 0x607730 m31000| [conn1] Tue Jul 6 20:31:57 setShardVersion failed! m31000| { need_authoritative: true, ns: "test.foo2", errmsg: "first time for this ns", ok: 0.0 } m31000| [conn1] Tue Jul 6 20:31:57 reloading shard info for: test.foo2 m31000| [conn1] Tue Jul 6 20:31:57 setShardVersion shard1 localhost:30001 test.foo2 { setShardVersion: "test.foo2", configdb: "localhost:30000", version: Timestamp 1000|0, serverID: ObjectId('4c33cae911c7f1186cb521f2'), authoritative: true, shard: "shard1", shardHost: "localhost:30001" } 0x607730 m31000| [conn1] Tue Jul 6 20:31:57 setShardVersion success! m30001| [conn4] Tue Jul 6 20:31:57 building new index on { _id: 1 } for test.mr m30001| [conn4] Tue Jul 6 20:31:57 Buildindex test.mr idxNo:0 { name: "_id_", ns: "test.mr", key: { _id: 1 } } m31000| [conn1] Tue Jul 6 20:31:57 .system.indexes write for: test.system.indexes m30000| [initandlisten] Tue Jul 6 20:31:57 connection accepted from 127.0.0.1:54279 #6 m30001| [conn4] Tue Jul 6 20:32:00 done for 0 records 3.509secs m30001| [conn4] Tue Jul 6 20:32:00 insert test.mr 3510ms m30001| [conn4] Tue Jul 6 20:32:00 building new index on { x: 1.0 } for test.mr m30001| [conn4] Tue Jul 6 20:32:00 Buildindex test.mr idxNo:1 { _id: ObjectId('4c33cafd494810457014ef18'), ns: "test.mr", key: { x: 1.0 }, name: "x_1" } m30001| [conn4] Tue Jul 6 20:32:00 done for 4 records 0secs m30001| [conn2] Tue Jul 6 20:32:00 query admin.$cmd ntoreturn:1 command: { features: 1 } reslen:85 2823ms m31000| [Balancer] Tue Jul 6 20:32:00 balancer: start balancing round m31000| [Balancer] Tue Jul 6 20:32:00 min: shard0 0 m31000| [Balancer] Tue Jul 6 20:32:00 max: shard1 1 m31000| [Balancer] Tue Jul 6 20:32:00 draining: 0(0) m31000| [Balancer] Tue Jul 6 20:32:00 min: shard0 1 m31000| [Balancer] Tue Jul 6 20:32:00 max: shard0 1 m31000| [Balancer] Tue Jul 6 20:32:00 draining: 0(0) m31000| [Balancer] Tue Jul 6 20:32:00 balancer: no need to move any chunk m30001| [conn4] Tue Jul 6 20:32:00 CMD: drop test.tmp.mr.mapreduce_1278462720_1 m30001| [conn4] Tue Jul 6 20:32:00 CMD: drop test.tmp.mr.mapreduce_1278462720_1_inc m30001| [conn4] Tue Jul 6 20:32:00 building new index on { 0: 1 } for test.tmp.mr.mapreduce_1278462720_1_inc m30001| [conn4] Tue Jul 6 20:32:00 Buildindex test.tmp.mr.mapreduce_1278462720_1_inc idxNo:0 { ns: "test.tmp.mr.mapreduce_1278462720_1_inc", key: { 0: 1 }, name: "0_1" } m30001| [conn4] Tue Jul 6 20:32:00 done for 3 records 0secs m30001| [conn4] Tue Jul 6 20:32:00 building new index on { _id: 1 } for test.tmp.mr.mapreduce_1278462720_1 m30001| [conn4] Tue Jul 6 20:32:00 Buildindex test.tmp.mr.mapreduce_1278462720_1 idxNo:0 { name: "_id_", ns: "test.tmp.mr.mapreduce_1278462720_1", key: { _id: 1 } } m30001| [conn4] Tue Jul 6 20:32:00 done for 0 records 0secs m30001| [conn4] Tue Jul 6 20:32:00 CMD: drop test.tmp.mr.mapreduce_1278462720_1_inc { "result" : "tmp.mr.mapreduce_1278462720_1", "timeMillis" : 33, "counts" : { "input" : 4, "emit" : 8, "output" : 3 }, "ok" : 1, } m31000| [conn1] Tue Jul 6 20:32:00 DROP: test.tmp.mr.mapreduce_1278462720_1 m30001| [conn4] Tue Jul 6 20:32:00 CMD: drop test.tmp.mr.mapreduce_1278462720_1 m31000| [conn1] Tue Jul 6 20:32:00 CMD: shardcollection: { shardcollection: "test.mr", key: { x: 1.0 } } m31000| [conn1] Tue Jul 6 20:32:00 enable sharding on: test.mr with shard key: { x: 1.0 } m31000| [conn1] Tue Jul 6 20:32:00 no chunks for:test.mr so creating first: shard ns:test.mr shard: shard1:localhost:30001 lastmod: 1|0 min: { x: MinKey } max: { x: MaxKey } m31000| [conn1] Tue Jul 6 20:32:00 splitting: test.mr shard: m31000| [conn1] Tue Jul 6 20:32:00 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.mr", state: 1, when: new Date(1278462720676), who: "duane.local:1278462720:282475249", why: "split-shard ns:test.mr shard: shard1:localhost:30001 lastmod: 1|0 min..." } m31000| [conn1] Tue Jul 6 20:32:00 before split on 1 points m31000| self : shard ns:test.mr shard: shard1:localhost:30001 lastmod: 1|0 min: { x: MinKey } max: { x: MaxKey } m31000| [conn1] Tue Jul 6 20:32:00 after split: m31000| shard ns:test.mr shard: shard1:localhost:30001 lastmod: 1|0 min: { x: MinKey } max: { x: 2.0 } m31000| [conn1] Tue Jul 6 20:32:00 new chunkshard ns:test.mr shard: shard1:localhost:30001 lastmod: 0|0 min: { x: 2.0 } max: { x: MaxKey } m31000| [conn1] Tue Jul 6 20:32:00 { _id: "duane.local-2010-6-7-0-32-1", server: "duane.local", time: new Date(1278462720678), what: "split", ns: "test.mr", details: { before: { min: { x: MinKey }, max: { x: MaxKey } }, left: { min: { x: MinKey }, max: { x: 2.0 } }, right: { min: { x: 2.0 }, max: { x: MaxKey } } } } m31000| [conn1] Tue Jul 6 20:32:00 dist_lock unlock: { _id: "test.mr", state: 0, when: new Date(1278462720676), who: "duane.local:1278462720:282475249", why: "split-shard ns:test.mr shard: shard1:localhost:30001 lastmod: 1|0 min..." } m31000| [conn1] Tue Jul 6 20:32:00 CMD: movechunk: { movechunk: "test.mr", find: { x: 3.0 }, to: "localhost:30000" } m31000| [conn1] Tue Jul 6 20:32:00 moving chunk ns: test.mr moving ( shard ns:test.mr shard: shard1:localhost:30001 lastmod: 2|1 min: { x: 2.0 } max: { x: MaxKey }) shard1:localhost:30001 -> shard0:localhost:30000 m30001| [conn4] Tue Jul 6 20:32:00 got movechunk: { moveChunk: "test.mr", from: "localhost:30001", to: "localhost:30000", filter: { x: { $gte: 2.0, $lt: MaxKey } }, shardId: "test.mr-x_2.0", configdb: "localhost:30000" } m30001| [conn4] Tue Jul 6 20:32:00 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.mr", state: 1, when: new Date(1278462720680), who: "duane.local:1278462720:2115050302", why: "migrate-{ x: { $gte: 2.0, $lt: MaxKey } }" } m30000| [conn4] Tue Jul 6 20:32:00 startCloneCollection. db:admin collection:test.mr from: localhost:30001 query: { x: { $gte: 2.0, $lt: MaxKey } } m30001| [initandlisten] Tue Jul 6 20:32:00 connection accepted from 127.0.0.1:54280 #7 m30001| [conn7] Tue Jul 6 20:32:00 started logCollection with cmd obj: { logCollection: "test.mr", start: 1 } m30000| [conn4] Tue Jul 6 20:32:00 building new index on { _id: 1 } for test.mr m30000| [conn4] Tue Jul 6 20:32:00 Buildindex test.mr idxNo:0 { name: "_id_", ns: "test.mr", key: { _id: 1 } } m30000| [conn4] Tue Jul 6 20:32:00 done for 0 records 0secs m30000| [conn4] Tue Jul 6 20:32:00 building new index on { x: 1.0 } for test.mr m30000| [conn4] Tue Jul 6 20:32:00 Buildindex test.mr idxNo:1 { _id: ObjectId('4c33cafd494810457014ef18'), ns: "test.mr", key: { x: 1.0 }, name: "x_1" } m30000| [conn4] Tue Jul 6 20:32:00 done for 3 records 0secs m30001| [conn7] Tue Jul 6 20:32:00 end connection 127.0.0.1:54280 m30000| [conn4] Tue Jul 6 20:32:02 finishCloneCollection. db:admin collection:test.mr from: localhost:30001 query: { x: { $gte: 2.0, $lt: MaxKey } } m30001| [initandlisten] Tue Jul 6 20:32:02 connection accepted from 127.0.0.1:54281 #8 m30001| [conn8] Tue Jul 6 20:32:02 started logCollection with cmd obj: { logCollection: "test.mr", validateComplete: 1 } m30001| [conn8] Tue Jul 6 20:32:02 end connection 127.0.0.1:54281 m30001| [conn4] Tue Jul 6 20:32:02 { _id: "duane.local-2010-6-7-0-32-1", server: "duane.local", time: new Date(1278462722694), what: "moveChunk", ns: "test.mr", details: { range: { x: { $gte: 2.0, $lt: MaxKey } }, from: "shard1", to: "shard0" } } m30001| [conn4] warning: Tue Jul 6 20:32:02 deleting data before ensuring no more cursors TODO m30001| [conn4] Tue Jul 6 20:32:02 moveChunk deleted: 3 m30001| [conn4] Tue Jul 6 20:32:02 dist_lock unlock: { _id: "test.mr", state: 0, when: new Date(1278462720680), who: "duane.local:1278462720:2115050302", why: "migrate-{ x: { $gte: 2.0, $lt: MaxKey } }" } m30001| [conn4] Tue Jul 6 20:32:02 query admin.$cmd ntoreturn:1 command: { moveChunk: "test.mr", from: "localhost:30001", to: "localhost:30000", filter: { x: { $gte: 2.0, $lt: MaxKey } }, shardId: "test.mr-x_2.0", configdb: "localhost:30000" } reslen:69 2015ms m30000| [conn2] Tue Jul 6 20:32:02 CMD: drop test.tmp.mr.mapreduce_1278462722_1 m30000| [conn2] Tue Jul 6 20:32:02 CMD: drop test.tmp.mr.mapreduce_1278462722_1_inc m30001| [conn2] Tue Jul 6 20:32:02 CMD: drop test.tmp.mr.mapreduce_1278462722_2 m30001| [conn2] Tue Jul 6 20:32:02 CMD: drop test.tmp.mr.mapreduce_1278462722_2_inc m30001| [conn2] Tue Jul 6 20:32:02 building new index on { 0: 1 } for test.tmp.mr.mapreduce_1278462722_2_inc m30001| [conn2] Tue Jul 6 20:32:02 Buildindex test.tmp.mr.mapreduce_1278462722_2_inc idxNo:0 { ns: "test.tmp.mr.mapreduce_1278462722_2_inc", key: { 0: 1 }, name: "0_1" } m30000| [conn2] Tue Jul 6 20:32:02 building new index on { 0: 1 } for test.tmp.mr.mapreduce_1278462722_1_inc m30000| [conn2] Tue Jul 6 20:32:02 Buildindex test.tmp.mr.mapreduce_1278462722_1_inc idxNo:0 { ns: "test.tmp.mr.mapreduce_1278462722_1_inc", key: { 0: 1 }, name: "0_1" } m30001| [conn2] Tue Jul 6 20:32:04 done for 2 records 1.436secs m30001| [conn2] Tue Jul 6 20:32:04 insert test.system.indexes 1436ms m30001| [conn2] Tue Jul 6 20:32:04 building new index on { _id: 1 } for test.tmp.mr.mapreduce_1278462722_2 m30001| [conn2] Tue Jul 6 20:32:04 Buildindex test.tmp.mr.mapreduce_1278462722_2 idxNo:0 { name: "_id_", ns: "test.tmp.mr.mapreduce_1278462722_2", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:32:04 done for 3 records 1.435secs m30000| [conn2] Tue Jul 6 20:32:04 insert test.system.indexes 1435ms m30000| [conn2] Tue Jul 6 20:32:04 building new index on { _id: 1 } for test.tmp.mr.mapreduce_1278462722_1 m30000| [conn2] Tue Jul 6 20:32:04 Buildindex test.tmp.mr.mapreduce_1278462722_1 idxNo:0 { name: "_id_", ns: "test.tmp.mr.mapreduce_1278462722_1", key: { _id: 1 } } m30001| [conn2] Tue Jul 6 20:32:04 done for 0 records 0secs m30001| [conn2] Tue Jul 6 20:32:04 CMD: drop test.tmp.mr.mapreduce_1278462722_2_inc m30001| [conn2] Tue Jul 6 20:32:04 CMD: drop test.tmp.mrs.mr_1278462722_1 m30001| [conn2] Tue Jul 6 20:32:04 query test.$cmd ntoreturn:1 command: { mapreduce: "mr", map: function () { m30001| this.tags.forEach(function (z) {emit(z, {count:1});}); m30001| }, reduce: function (key, values) { m30001| var total = 0; m30001| for (var i = 0; i < va..., out: "tmp.mrs.mr_1278462722_1" } reslen:151 1470ms m30000| [conn2] Tue Jul 6 20:32:04 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:32:04 CMD: drop test.tmp.mr.mapreduce_1278462722_1_inc m30000| [conn2] Tue Jul 6 20:32:04 CMD: drop test.tmp.mrs.mr_1278462722_1 m30000| [conn2] Tue Jul 6 20:32:04 query test.$cmd ntoreturn:1 command: { mapreduce: "mr", map: function () { m30000| this.tags.forEach(function (z) {emit(z, {count:1});}); m30000| }, reduce: function (key, values) { m30000| var total = 0; m30000| for (var i = 0; i < va..., out: "tmp.mrs.mr_1278462722_1" } reslen:151 1470ms m31000| [conn1] Tue Jul 6 20:32:04 setShardVersion shard1 localhost:30001 test.mr { setShardVersion: "test.mr", configdb: "localhost:30000", version: Timestamp 2000|3, serverID: ObjectId('4c33cae911c7f1186cb521f2'), shard: "shard1", shardHost: "localhost:30001" } 0x606a70 m31000| [conn1] Tue Jul 6 20:32:04 setShardVersion success! m30001| [initandlisten] Tue Jul 6 20:32:05 connection accepted from 127.0.0.1:54282 #9 m30001| [conn2] Tue Jul 6 20:32:05 building new index on { _id: 1 } for test.tmp.mr.mapreduce_1278462724_3 m30001| [conn2] Tue Jul 6 20:32:05 Buildindex test.tmp.mr.mapreduce_1278462724_3 idxNo:0 { name: "_id_", ns: "test.tmp.mr.mapreduce_1278462724_3", key: { _id: 1 } } m30001| [conn2] Tue Jul 6 20:32:05 done for 0 records 0.018secs m30001| [conn2] Tue Jul 6 20:32:05 mapreducefinishcommand test.tmp.mr.mapreduce_1278462724_3 3 m30000| [initandlisten] Tue Jul 6 20:32:05 connection accepted from 127.0.0.1:54283 #7 m30000| [conn7] Tue Jul 6 20:32:05 CMD: drop test.tmp.mrs.mr_1278462722_1 m30001| [initandlisten] Tue Jul 6 20:32:05 connection accepted from 127.0.0.1:54284 #10 m30001| [conn10] Tue Jul 6 20:32:05 CMD: drop test.tmp.mrs.mr_1278462722_1 m30001| [conn2] Tue Jul 6 20:32:05 query test.$cmd ntoreturn:1 command: { mapreduce.shardedfinish: { mapreduce: "mr", map: function () { m30001| this.tags.forEach(function (z) {emit(z, {count:1});}); m30001| }, reduce: function (key, values) { m30001| var total = 0; m30001| for (var i = 0; i < va... }, shardedOutputCollection: "tmp.mrs.mr_1278462722_1", shards: { localhost:30001: { result: "tmp.mrs.mr_1278462722_1", timeMillis: 1470, counts: { input: 1, emit: 2, output: 2 }, ok: 1.0 }, localhost:30000: { result: "tmp.mrs.mr_1278462722_1", timeMillis: 1470, counts: { input: 3, emit: 6, output: 3 }, ok: 1.0 } } } reslen:281 1087ms { "result" : "tmp.mr.mapreduce_1278462724_3", "shardCounts" : { "localhost:30001" : { "input" : 1, "emit" : 2, "output" : 2 }, "localhost:30000" : { "input" : 3, "emit" : 6, "output" : 3 } }, "counts" : { "emit" : NumberLong( 8 ), "input" : NumberLong( 4 ), "output" : NumberLong( 5 ) }, "ok" : 1, "timeMillis" : 2559, "timing" : { "shards" : 1471, "final" : 1088 }, } m31000| [conn1] Tue Jul 6 20:32:05 DROP: test.tmp.mr.mapreduce_1278462724_3 m30001| [conn2] Tue Jul 6 20:32:05 CMD: drop test.tmp.mr.mapreduce_1278462724_3 m30001| [conn2] Tue Jul 6 20:32:05 building new index on { _id: 1 } for test.countaa m30001| [conn2] Tue Jul 6 20:32:05 Buildindex test.countaa idxNo:0 { name: "_id_", ns: "test.countaa", key: { _id: 1 } } m30001| [conn2] Tue Jul 6 20:32:05 done for 0 records 0secs m31000| Tue Jul 6 20:32:05 dbexit: received signal 15 rc:0 m30001| [conn4] Tue Jul 6 20:32:05 end connection 127.0.0.1:54274 m30001| [conn2] Tue Jul 6 20:32:05 end connection 127.0.0.1:54272 m30000| [conn2] Tue Jul 6 20:32:05 end connection 127.0.0.1:54269 m30000| [conn6] Tue Jul 6 20:32:05 end connection 127.0.0.1:54279 m30000| [conn5] Tue Jul 6 20:32:05 end connection 127.0.0.1:54277 shell: stopped mongo program on port 31000 m30000| Tue Jul 6 20:32:06 got kill or ctrl c signal 15 (Terminated), will terminate after current cmd ends m30000| [interruptThread] Tue Jul 6 20:32:06 now exiting m30000| Tue Jul 6 20:32:06 dbexit: m30000| [interruptThread] Tue Jul 6 20:32:06 shutdown: going to close listening sockets... m30000| [interruptThread] Tue Jul 6 20:32:06 going to close listening socket: 11 m30000| [interruptThread] Tue Jul 6 20:32:06 going to close listening socket: 12 m30000| [interruptThread] Tue Jul 6 20:32:06 shutdown: going to flush oplog... m30000| [interruptThread] Tue Jul 6 20:32:06 shutdown: going to close sockets... m30000| [interruptThread] Tue Jul 6 20:32:06 shutdown: waiting for fs preallocator... m30000| [interruptThread] Tue Jul 6 20:32:06 shutdown: closing all files... m30000| [conn4] Tue Jul 6 20:32:06 MessagingPort recv() errno:9 Bad file descriptor 127.0.0.1:54275 m30000| [conn4] Tue Jul 6 20:32:06 end connection 127.0.0.1:54275 m30000| Tue Jul 6 20:32:06 closeAllFiles() finished m30000| [interruptThread] Tue Jul 6 20:32:06 shutdown: removing fs lock... m30000| Tue Jul 6 20:32:06 dbexit: really exiting now shell: stopped mongo program on port 30000 m30001| Tue Jul 6 20:32:07 got kill or ctrl c signal 15 (Terminated), will terminate after current cmd ends m30001| [interruptThread] Tue Jul 6 20:32:07 now exiting m30001| Tue Jul 6 20:32:07 dbexit: m30001| [interruptThread] Tue Jul 6 20:32:07 shutdown: going to close listening sockets... m30001| [interruptThread] Tue Jul 6 20:32:07 going to close listening socket: 14 m30001| [interruptThread] Tue Jul 6 20:32:07 going to close listening socket: 15 m30001| [interruptThread] Tue Jul 6 20:32:07 shutdown: going to flush oplog... m30001| [interruptThread] Tue Jul 6 20:32:07 shutdown: going to close sockets... m30001| [interruptThread] Tue Jul 6 20:32:07 shutdown: waiting for fs preallocator... m30001| [interruptThread] Tue Jul 6 20:32:07 shutdown: closing all files... m30001| [conn1] Tue Jul 6 20:32:07 MessagingPort recv() errno:9 Bad file descriptor 127.0.0.1:54267 m30001| [conn1] Tue Jul 6 20:32:07 end connection 127.0.0.1:54267 m30001| [conn9] Tue Jul 6 20:32:07 MessagingPort recv() errno:9 Bad file descriptor 127.0.0.1:54282 m30001| [conn9] Tue Jul 6 20:32:07 end connection 127.0.0.1:54282 m30001| [conn10] Tue Jul 6 20:32:07 MessagingPort recv() errno:9 Bad file descriptor 127.0.0.1:54284 m30001| [conn10] Tue Jul 6 20:32:07 end connection 127.0.0.1:54284 m30001| Tue Jul 6 20:32:07 closeAllFiles() finished m30001| [interruptThread] Tue Jul 6 20:32:07 shutdown: removing fs lock... m30001| Tue Jul 6 20:32:07 dbexit: really exiting now shell: stopped mongo program on port 30001 *** features2 completed successfully *** [initandlisten] Tue Jul 6 20:32:13 connection accepted from 127.0.0.1:54285 #14 [conn14] Tue Jul 6 20:32:14 end connection 127.0.0.1:54285 [initandlisten] Tue Jul 6 20:32:14 connection accepted from 127.0.0.1:54286 #15 Tue Jul 6 20:32:14 ****ok. response.data:1 time:0.193ms len: 5 data: i am fine - dbMsg deprecated [conn15] Tue Jul 6 20:32:15 end connection 127.0.0.1:54286 MongoDB shell version: 1.5.5-pre- shell: started program /Users/10gen/work/buildslaves/mongo/OS_X_104_32bit/mongo/mongod --port 30000 --dbpath /data/db/find_and_modify_sharded0 --noprealloc --smallfiles --oplogSize 2 --nohttpinterface m30000| Tue Jul 6 20:32:15 MongoDB starting : pid=29488 port=30000 dbpath=/data/db/find_and_modify_sharded0 32-bit m30000| m30000| ** NOTE: This is a development version (1.5.5-pre-) of MongoDB. m30000| ** Not recommended for production. m30000| m30000| ** NOTE: when using MongoDB 32 bit, you are limited to about 2 gigabytes of data m30000| ** see http://blog.mongodb.org/post/137788967/32-bit-limitations m30000| m30000| Tue Jul 6 20:32:15 db version v1.5.5-pre-, pdfile version 4.5 m30000| Tue Jul 6 20:32:15 git version: 47170341084f47c9398f1002e0585cd10db9c7a2 m30000| Tue Jul 6 20:32:15 sys info: Darwin duane.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 BOOST_LIB_VERSION=1_39 m30000| [initandlisten] Tue Jul 6 20:32:15 waiting for connections on port 30000 m30000| [initandlisten] Tue Jul 6 20:32:15 connection accepted from 127.0.0.1:54288 #1 shell: started program /Users/10gen/work/buildslaves/mongo/OS_X_104_32bit/mongo/mongod --port 30001 --dbpath /data/db/find_and_modify_sharded1 --noprealloc --smallfiles --oplogSize 2 --nohttpinterface m30001| Tue Jul 6 20:32:15 MongoDB starting : pid=29489 port=30001 dbpath=/data/db/find_and_modify_sharded1 32-bit m30001| m30001| ** NOTE: This is a development version (1.5.5-pre-) of MongoDB. m30001| ** Not recommended for production. m30001| m30001| ** NOTE: when using MongoDB 32 bit, you are limited to about 2 gigabytes of data m30001| ** see http://blog.mongodb.org/post/137788967/32-bit-limitations m30001| m30001| Tue Jul 6 20:32:15 db version v1.5.5-pre-, pdfile version 4.5 m30001| Tue Jul 6 20:32:15 git version: 47170341084f47c9398f1002e0585cd10db9c7a2 m30001| Tue Jul 6 20:32:15 sys info: Darwin duane.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 BOOST_LIB_VERSION=1_39 m30001| [initandlisten] Tue Jul 6 20:32:15 waiting for connections on port 30001 m30001| [initandlisten] Tue Jul 6 20:32:16 connection accepted from 127.0.0.1:54290 #1 shell: started program /Users/10gen/work/buildslaves/mongo/OS_X_104_32bit/mongo/mongos --port 31000 --configdb localhost:30000 m30000| Tue Jul 6 20:32:16 allocating new datafile /data/db/find_and_modify_sharded0/config.ns, filling with zeroes... m30000| Tue Jul 6 20:32:16 done allocating datafile /data/db/find_and_modify_sharded0/config.ns, size: 16MB, took 0.032 secs m31000| Tue Jul 6 20:32:16 /Users/10gen/work/buildslaves/mongo/OS_X_104_32bit/mongo/mongos db version v1.5.5-pre-, pdfile version 4.5 starting (--help for usage) m31000| Tue Jul 6 20:32:16 git version: 47170341084f47c9398f1002e0585cd10db9c7a2 m31000| Tue Jul 6 20:32:16 sys info: Darwin duane.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 BOOST_LIB_VERSION=1_39 m30000| [initandlisten] Tue Jul 6 20:32:16 connection accepted from 127.0.0.1:54292 #2 m30000| Tue Jul 6 20:32:16 allocating new datafile /data/db/find_and_modify_sharded0/config.0, filling with zeroes... m30000| Tue Jul 6 20:32:16 done allocating datafile /data/db/find_and_modify_sharded0/config.0, size: 16MB, took 0.028 secs m30000| [conn1] Tue Jul 6 20:32:16 building new index on { _id: 1 } for config.settings m30000| [conn1] Tue Jul 6 20:32:16 Buildindex config.settings idxNo:0 { name: "_id_", ns: "config.settings", key: { _id: 1 } } m30000| [conn1] Tue Jul 6 20:32:16 done for 0 records 0.001secs m30000| [conn2] Tue Jul 6 20:32:16 building new index on { _id: 1 } for config.version m30000| [conn2] Tue Jul 6 20:32:16 Buildindex config.version idxNo:0 { name: "_id_", ns: "config.version", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:32:16 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:32:16 building new index on { _id: 1 } for config.chunks m30000| [conn2] Tue Jul 6 20:32:16 Buildindex config.chunks idxNo:0 { name: "_id_", ns: "config.chunks", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:32:16 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:32:16 info: creating collection config.chunks on add index m30000| building new index on { ns: 1, min: 1 } for config.chunks m30000| [conn2] Tue Jul 6 20:32:16 Buildindex config.chunks idxNo:1 { ns: "config.chunks", key: { ns: 1, min: 1 }, name: "ns_1_min_1", unique: true } m30000| [conn2] Tue Jul 6 20:32:16 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:32:16 building new index on { ns: 1, shard: 1, min: 1 } for config.chunks m30000| [conn2] Tue Jul 6 20:32:16 Buildindex config.chunks idxNo:2 { ns: "config.chunks", key: { ns: 1, shard: 1, min: 1 }, name: "ns_1_shard_1_min_1", unique: true } m30000| [conn2] Tue Jul 6 20:32:16 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:32:16 building new index on { ns: 1, lastmod: 1 } for config.chunks m30000| [conn2] Tue Jul 6 20:32:16 Buildindex config.chunks idxNo:3 { ns: "config.chunks", key: { ns: 1, lastmod: 1 }, name: "ns_1_lastmod_1", unique: true } m30000| [conn2] Tue Jul 6 20:32:16 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:32:16 building new index on { _id: 1 } for config.shards m30000| [conn2] Tue Jul 6 20:32:16 Buildindex config.shards idxNo:0 { name: "_id_", ns: "config.shards", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:32:16 done for 0 records 0.001secs m30000| [conn2] Tue Jul 6 20:32:16 info: creating collection config.shards on add index m30000| building new index on { host: 1 } for config.shards m30000| [conn2] Tue Jul 6 20:32:16 Buildindex config.shards idxNo:1 { ns: "config.shards", key: { host: 1 }, name: "host_1", unique: true } m31000| Tue Jul 6 20:32:16 waiting for connections on port 31000 m30000| [conn2] Tue Jul 6 20:32:16 done for 0 records 0secs m30000| [conn2] Tue Jul 6 20:32:16 building new index on { _id: 1 } for config.mongos m30000| [conn2] Tue Jul 6 20:32:16 Buildindex config.mongos idxNo:0 { name: "_id_", ns: "config.mongos", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:32:16 done for 0 records 0secs m31000| Tue Jul 6 20:32:16 connection accepted from 127.0.0.1:54293 #1 m31000| [conn1] Tue Jul 6 20:32:16 couldn't find database [admin] in config db m31000| [conn1] Tue Jul 6 20:32:16 put [admin] on: config:localhost:30000 m30000| [conn2] Tue Jul 6 20:32:16 building new index on { _id: 1 } for config.databases m30000| [conn2] Tue Jul 6 20:32:16 Buildindex config.databases idxNo:0 { name: "_id_", ns: "config.databases", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:32:16 done for 0 records 0secs m30000| [initandlisten] Tue Jul 6 20:32:16 connection accepted from 127.0.0.1:54294 #3 m31000| [conn1] Tue Jul 6 20:32:16 going to add shard: { _id: "shard0", host: "localhost:30000" } m30001| [initandlisten] Tue Jul 6 20:32:16 connection accepted from 127.0.0.1:54295 #2 m31000| [conn1] Tue Jul 6 20:32:16 going to add shard: { _id: "shard1", host: "localhost:30001" } m31000| [conn1] Tue Jul 6 20:32:16 couldn't find database [test] in config db m31000| [conn1] Tue Jul 6 20:32:16 put [test] on: shard1:localhost:30001 m31000| [conn1] Tue Jul 6 20:32:16 enabling sharding on: test m31000| creating WriteBackListener for: localhost:30000 m31000| [conn1] Tue Jul 6 20:32:16 CMD: shardcollection: { shardcollection: "test.stuff", key: { _id: 1.0 } } m31000| [conn1] Tue Jul 6 20:32:16 enable sharding on: test.stuff with shard key: { _id: 1.0 } m30000| [initandlisten] Tue Jul 6 20:32:16 connection accepted from 127.0.0.1:54296 #4 m31000| [conn1] Tue Jul 6 20:32:16 no chunks for:test.stuff so creating first: shard ns:test.stuff shard: shard1:localhost:30001 lastmod: 1|0 min: { _id: MinKey } max: { _id: MaxKey } m30001| Tue Jul 6 20:32:16 allocating new datafile /data/db/find_and_modify_sharded1/test.ns, filling with zeroes... m31000| creating WriteBackListener for: localhost:30001 m30001| [initandlisten] Tue Jul 6 20:32:16 connection accepted from 127.0.0.1:54297 #3 m30001| Tue Jul 6 20:32:16 done allocating datafile /data/db/find_and_modify_sharded1/test.ns, size: 16MB, took 0.04 secs m30001| Tue Jul 6 20:32:16 allocating new datafile /data/db/find_and_modify_sharded1/test.0, filling with zeroes... m30001| Tue Jul 6 20:32:16 done allocating datafile /data/db/find_and_modify_sharded1/test.0, size: 16MB, took 0.03 secs m30001| [conn2] Tue Jul 6 20:32:16 building new index on { _id: 1 } for test.stuff m30001| [conn2] Tue Jul 6 20:32:16 Buildindex test.stuff idxNo:0 { name: "_id_", ns: "test.stuff", key: { _id: 1 } } m30001| [conn2] Tue Jul 6 20:32:16 done for 0 records 0.002secs m31000| [conn1] Tue Jul 6 20:32:16 reloading shard info for: test.stuff m31000| [conn1] Tue Jul 6 20:32:16 splitting: test.stuff shard: m30000| [conn2] Tue Jul 6 20:32:16 building new index on { _id: 1 } for config.locks m30000| [conn2] Tue Jul 6 20:32:16 Buildindex config.locks idxNo:0 { name: "_id_", ns: "config.locks", key: { _id: 1 } } m30000| [conn2] Tue Jul 6 20:32:16 done for 0 records 0secs m31000| [conn1] Tue Jul 6 20:32:16 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.stuff", state: 1, when: new Date(1278462736402), who: "duane.local:1278462736:16807", why: "split-shard ns:test.stuff shard: shard1:localhost:30001 lastmod: 1|0 ..." } m31000| [conn1] Tue Jul 6 20:32:16 { _id: "duane.local-2010-6-7-0-32-0", server: "duane.local", time: new Date(1278462736406), what: "split", ns: "test.stuff", details: { before: { min: { _id: MinKey }, max: { _id: MaxKey } }, left: { min: { _id: MinKey }, max: { _id: 0.0 } }, right: { min: { _id: 0.0 }, max: { _id: MaxKey } } } } m31000| [conn1] Tue Jul 6 20:32:16 dist_lock unlock: { _id: "test.stuff", state: 0, when: new Date(1278462736402), who: "duane.local:1278462736:16807", why: "split-shard ns:test.stuff shard: shard1:localhost:30001 lastmod: 1|0 ..." } m31000| [conn1] Tue Jul 6 20:32:16 splitting: test.stuff shard: m31000| [conn1] Tue Jul 6 20:32:16 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.stuff", state: 1, when: new Date(1278462736407), who: "duane.local:1278462736:282475249", why: "split-shard ns:test.stuff shard: shard1:localhost:30001 lastmod: 2|1 ..." } m31000| [conn1] Tue Jul 6 20:32:16 { _id: "duane.local-2010-6-7-0-32-1", server: "duane.local", time: new Date(1278462736409), what: "split", ns: "test.stuff", details: { before: { min: { _id: 0.0 }, max: { _id: MaxKey } }, left: { min: { _id: 0.0 }, max: { _id: 2.0 } }, right: { min: { _id: 2.0 }, max: { _id: MaxKey } } } } m31000| [conn1] Tue Jul 6 20:32:16 dist_lock unlock: { _id: "test.stuff", state: 0, when: new Date(1278462736407), who: "duane.local:1278462736:282475249", why: "split-shard ns:test.stuff shard: shard1:localhost:30001 lastmod: 2|1 ..." } m31000| [conn1] Tue Jul 6 20:32:16 splitting: test.stuff shard: m31000| [conn1] Tue Jul 6 20:32:16 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.stuff", state: 1, when: new Date(1278462736410), who: "duane.local:1278462736:1622650073", why: "split-shard ns:test.stuff shard: shard1:localhost:30001 lastmod: 3|2 ..." } m31000| [conn1] Tue Jul 6 20:32:16 { _id: "duane.local-2010-6-7-0-32-2", server: "duane.local", time: new Date(1278462736412), what: "split", ns: "test.stuff", details: { before: { min: { _id: 2.0 }, max: { _id: MaxKey } }, left: { min: { _id: 2.0 }, max: { _id: 4.0 } }, right: { min: { _id: 4.0 }, max: { _id: MaxKey } } } } m31000| [conn1] Tue Jul 6 20:32:16 dist_lock unlock: { _id: "test.stuff", state: 0, when: new Date(1278462736410), who: "duane.local:1278462736:1622650073", why: "split-shard ns:test.stuff shard: shard1:localhost:30001 lastmod: 3|2 ..." } m31000| [conn1] Tue Jul 6 20:32:16 splitting: test.stuff shard: m31000| [conn1] Tue Jul 6 20:32:16 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.stuff", state: 1, when: new Date(1278462736414), who: "duane.local:1278462736:984943658", why: "split-shard ns:test.stuff shard: shard1:localhost:30001 lastmod: 4|3 ..." } m31000| [conn1] Tue Jul 6 20:32:16 { _id: "duane.local-2010-6-7-0-32-3", server: "duane.local", time: new Date(1278462736417), what: "split", ns: "test.stuff", details: { before: { min: { _id: 4.0 }, max: { _id: MaxKey } }, left: { min: { _id: 4.0 }, max: { _id: 6.0 } }, right: { min: { _id: 6.0 }, max: { _id: MaxKey } } } } m31000| [conn1] Tue Jul 6 20:32:16 dist_lock unlock: { _id: "test.stuff", state: 0, when: new Date(1278462736414), who: "duane.local:1278462736:984943658", why: "split-shard ns:test.stuff shard: shard1:localhost:30001 lastmod: 4|3 ..." } m31000| [conn1] Tue Jul 6 20:32:16 splitting: test.stuff shard: m31000| [conn1] Tue Jul 6 20:32:16 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.stuff", state: 1, when: new Date(1278462736418), who: "duane.local:1278462736:1144108930", why: "split-shard ns:test.stuff shard: shard1:localhost:30001 lastmod: 5|4 ..." } m31000| [conn1] Tue Jul 6 20:32:16 { _id: "duane.local-2010-6-7-0-32-4", server: "duane.local", time: new Date(1278462736420), what: "split", ns: "test.stuff", details: { before: { min: { _id: 6.0 }, max: { _id: MaxKey } }, left: { min: { _id: 6.0 }, max: { _id: 8.0 } }, right: { min: { _id: 8.0 }, max: { _id: MaxKey } } } } m31000| [conn1] Tue Jul 6 20:32:16 dist_lock unlock: { _id: "test.stuff", state: 0, when: new Date(1278462736418), who: "duane.local:1278462736:1144108930", why: "split-shard ns:test.stuff shard: shard1:localhost:30001 lastmod: 5|4 ..." } m31000| [conn1] Tue Jul 6 20:32:16 splitting: test.stuff shard: m31000| [conn1] Tue Jul 6 20:32:16 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.stuff", state: 1, when: new Date(1278462736421), who: "duane.local:1278462736:470211272", why: "split-shard ns:test.stuff shard: shard1:localhost:30001 lastmod: 6|5 ..." } m31000| [conn1] Tue Jul 6 20:32:16 { _id: "duane.local-2010-6-7-0-32-5", server: "duane.local", time: new Date(1278462736424), what: "split", ns: "test.stuff", details: { before: { min: { _id: 8.0 }, max: { _id: MaxKey } }, left: { min: { _id: 8.0 }, max: { _id: 10.0 } }, right: { min: { _id: 10.0 }, max: { _id: MaxKey } } } } m31000| [conn1] Tue Jul 6 20:32:16 dist_lock unlock: { _id: "test.stuff", state: 0, when: new Date(1278462736421), who: "duane.local:1278462736:470211272", why: "split-shard ns:test.stuff shard: shard1:localhost:30001 lastmod: 6|5 ..." } m31000| [conn1] Tue Jul 6 20:32:16 splitting: test.stuff shard: m31000| [conn1] Tue Jul 6 20:32:16 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.stuff", state: 1, when: new Date(1278462736425), who: "duane.local:1278462736:101027544", why: "split-shard ns:test.stuff shard: shard1:localhost:30001 lastmod: 7|6 ..." } m31000| [conn1] Tue Jul 6 20:32:16 { _id: "duane.local-2010-6-7-0-32-6", server: "duane.local", time: new Date(1278462736428), what: "split", ns: "test.stuff", details: { before: { min: { _id: 10.0 }, max: { _id: MaxKey } }, left: { min: { _id: 10.0 }, max: { _id: 12.0 } }, right: { min: { _id: 12.0 }, max: { _id: MaxKey } } } } m31000| [conn1] Tue Jul 6 20:32:16 dist_lock unlock: { _id: "test.stuff", state: 0, when: new Date(1278462736425), who: "duane.local:1278462736:101027544", why: "split-shard ns:test.stuff shard: shard1:localhost:30001 lastmod: 7|6 ..." } m31000| [conn1] Tue Jul 6 20:32:16 splitting: test.stuff shard: m31000| [conn1] Tue Jul 6 20:32:16 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.stuff", state: 1, when: new Date(1278462736429), who: "duane.local:1278462736:1457850878", why: "split-shard ns:test.stuff shard: shard1:localhost:30001 lastmod: 8|7 ..." } m31000| [conn1] Tue Jul 6 20:32:16 { _id: "duane.local-2010-6-7-0-32-7", server: "duane.local", time: new Date(1278462736432), what: "split", ns: "test.stuff", details: { before: { min: { _id: 12.0 }, max: { _id: MaxKey } }, left: { min: { _id: 12.0 }, max: { _id: 14.0 } }, right: { min: { _id: 14.0 }, max: { _id: MaxKey } } } } m31000| [conn1] Tue Jul 6 20:32:16 dist_lock unlock: { _id: "test.stuff", state: 0, when: new Date(1278462736429), who: "duane.local:1278462736:1457850878", why: "split-shard ns:test.stuff shard: shard1:localhost:30001 lastmod: 8|7 ..." } m31000| [conn1] Tue Jul 6 20:32:16 splitting: test.stuff shard: m31000| [conn1] Tue Jul 6 20:32:16 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.stuff", state: 1, when: new Date(1278462736433), who: "duane.local:1278462736:1458777923", why: "split-shard ns:test.stuff shard: shard1:localhost:30001 lastmod: 9|8 ..." } m31000| [conn1] Tue Jul 6 20:32:16 { _id: "duane.local-2010-6-7-0-32-8", server: "duane.local", time: new Date(1278462736437), what: "split", ns: "test.stuff", details: { before: { min: { _id: 14.0 }, max: { _id: MaxKey } }, left: { min: { _id: 14.0 }, max: { _id: 16.0 } }, right: { min: { _id: 16.0 }, max: { _id: MaxKey } } } } m31000| [conn1] Tue Jul 6 20:32:16 dist_lock unlock: { _id: "test.stuff", state: 0, when: new Date(1278462736433), who: "duane.local:1278462736:1458777923", why: "split-shard ns:test.stuff shard: shard1:localhost:30001 lastmod: 9|8 ..." } m31000| [conn1] Tue Jul 6 20:32:16 splitting: test.stuff shard: m31000| [conn1] Tue Jul 6 20:32:16 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.stuff", state: 1, when: new Date(1278462736438), who: "duane.local:1278462736:2007237709", why: "split-shard ns:test.stuff shard: shard1:localhost:30001 lastmod: 10|9..." } m31000| [conn1] Tue Jul 6 20:32:16 { _id: "duane.local-2010-6-7-0-32-9", server: "duane.local", time: new Date(1278462736441), what: "split", ns: "test.stuff", details: { before: { min: { _id: 16.0 }, max: { _id: MaxKey } }, left: { min: { _id: 16.0 }, max: { _id: 18.0 } }, right: { min: { _id: 18.0 }, max: { _id: MaxKey } } } } m31000| [conn1] Tue Jul 6 20:32:16 dist_lock unlock: { _id: "test.stuff", state: 0, when: new Date(1278462736438), who: "duane.local:1278462736:2007237709", why: "split-shard ns:test.stuff shard: shard1:localhost:30001 lastmod: 10|9..." } m31000| [conn1] Tue Jul 6 20:32:16 CMD: movechunk: { movechunk: "test.stuff", find: { _id: 0.0 }, to: "localhost:30000" } m31000| [conn1] Tue Jul 6 20:32:16 moving chunk ns: test.stuff moving ( shard ns:test.stuff shard: shard1:localhost:30001 lastmod: 11|1 min: { _id: 0.0 } max: { _id: 2.0 }) shard1:localhost:30001 -> shard0:localhost:30000 m30000| [initandlisten] Tue Jul 6 20:32:16 connection accepted from 127.0.0.1:54298 #5 m30001| [conn2] Tue Jul 6 20:32:16 info: creating collection test.stuff on add index m30001| got movechunk: { moveChunk: "test.stuff", from: "localhost:30001", to: "localhost:30000", filter: { _id: { $gte: 0.0, $lt: 2.0 } }, shardId: "test.stuff-_id_0.0", configdb: "localhost:30000" } m30001| [conn2] Tue Jul 6 20:32:16 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.stuff", state: 1, when: new Date(1278462736446), who: "duane.local:1278462736:1094597823", why: "migrate-{ _id: { $gte: 0.0, $lt: 2.0 } }" } m30000| [conn5] Tue Jul 6 20:32:16 startCloneCollection. db:admin collection:test.stuff from: localhost:30001 query: { _id: { $gte: 0.0, $lt: 2.0 } } m30001| [initandlisten] Tue Jul 6 20:32:16 connection accepted from 127.0.0.1:54299 #4 m30001| Tue Jul 6 20:32:16 allocating new datafile /data/db/find_and_modify_sharded1/local.ns, filling with zeroes... m30001| Tue Jul 6 20:32:16 done allocating datafile /data/db/find_and_modify_sharded1/local.ns, size: 16MB, took 0.035 secs m30001| Tue Jul 6 20:32:16 allocating new datafile /data/db/find_and_modify_sharded1/local.0, filling with zeroes... m30001| Tue Jul 6 20:32:16 done allocating datafile /data/db/find_and_modify_sharded1/local.0, size: 16MB, took 0.029 secs m30001| Tue Jul 6 20:32:16 allocating new datafile /data/db/find_and_modify_sharded1/local.1, filling with zeroes... m30001| Tue Jul 6 20:32:24 done allocating datafile /data/db/find_and_modify_sharded1/local.1, size: 512MB, took 7.482 secs m30001| [conn4] Tue Jul 6 20:32:24 started logCollection with cmd obj: { logCollection: "test.stuff", start: 1 } m30001| [conn4] Tue Jul 6 20:32:24 query test.$cmd ntoreturn:1 command: { logCollection: "test.stuff", start: 1 } reslen:53 7578ms m30000| Tue Jul 6 20:32:24 allocating new datafile /data/db/find_and_modify_sharded0/test.ns, filling with zeroes... m30000| Tue Jul 6 20:32:24 done allocating datafile /data/db/find_and_modify_sharded0/test.ns, size: 16MB, took 0.032 secs m30000| Tue Jul 6 20:32:24 allocating new datafile /data/db/find_and_modify_sharded0/test.0, filling with zeroes... m30000| Tue Jul 6 20:32:24 done allocating datafile /data/db/find_and_modify_sharded0/test.0, size: 16MB, took 0.034 secs m30000| [conn5] Tue Jul 6 20:32:24 building new index on { _id: 1 } for test.stuff m30000| [conn5] Tue Jul 6 20:32:24 Buildindex test.stuff idxNo:0 { name: "_id_", ns: "test.stuff", key: { _id: 1 } } m30000| [conn5] Tue Jul 6 20:32:24 done for 0 records 0secs m30000| [conn5] Tue Jul 6 20:32:24 query admin.$cmd ntoreturn:1 command: { startCloneCollection: "test.stuff", from: "localhost:30001", query: { _id: { $gte: 0.0, $lt: 2.0 } } } reslen:195 7687ms m30001| [conn4] Tue Jul 6 20:32:24 end connection 127.0.0.1:54299 m30000| [conn5] Tue Jul 6 20:32:26 finishCloneCollection. db:admin collection:test.stuff from: localhost:30001 query: { _id: { $gte: 0.0, $lt: 2.0 } } m30001| [initandlisten] Tue Jul 6 20:32:26 connection accepted from 127.0.0.1:54300 #5 m30001| [conn5] Tue Jul 6 20:32:26 started logCollection with cmd obj: { logCollection: "test.stuff", validateComplete: 1 } m30001| [conn5] Tue Jul 6 20:32:26 end connection 127.0.0.1:54300 m30001| [conn2] Tue Jul 6 20:32:26 { _id: "duane.local-2010-6-7-0-32-0", server: "duane.local", time: new Date(1278462746142), what: "moveChunk", ns: "test.stuff", details: { range: { _id: { $gte: 0.0, $lt: 2.0 } }, from: "shard1", to: "shard0" } } m30001| [conn2] warning: Tue Jul 6 20:32:26 deleting data before ensuring no more cursors TODO m30001| [conn2] Tue Jul 6 20:32:26 moveChunk deleted: 2 m30001| [conn2] Tue Jul 6 20:32:26 dist_lock unlock: { _id: "test.stuff", state: 0, when: new Date(1278462736446), who: "duane.local:1278462736:1094597823", why: "migrate-{ _id: { $gte: 0.0, $lt: 2.0 } }" } m30001| [conn2] Tue Jul 6 20:32:26 query admin.$cmd ntoreturn:1 command: { moveChunk: "test.stuff", from: "localhost:30001", to: "localhost:30000", filter: { _id: { $gte: 0.0, $lt: 2.0 } }, shardId: "test.stuff-_id_0.0", configdb: "localhost:30000" } reslen:69 9700ms m31000| [conn1] Tue Jul 6 20:32:26 CMD: movechunk: { movechunk: "test.stuff", find: { _id: 4.0 }, to: "localhost:30000" } m31000| [conn1] Tue Jul 6 20:32:26 moving chunk ns: test.stuff moving ( shard ns:test.stuff shard: shard1:localhost:30001 lastmod: 11|3 min: { _id: 4.0 } max: { _id: 6.0 }) shard1:localhost:30001 -> shard0:localhost:30000 m30001| [conn2] Tue Jul 6 20:32:26 got movechunk: { moveChunk: "test.stuff", from: "localhost:30001", to: "localhost:30000", filter: { _id: { $gte: 4.0, $lt: 6.0 } }, shardId: "test.stuff-_id_4.0", configdb: "localhost:30000" } m30001| [conn2] Tue Jul 6 20:32:26 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.stuff", state: 1, when: new Date(1278462746145), who: "duane.local:1278462746:1550261899", why: "migrate-{ _id: { $gte: 4.0, $lt: 6.0 } }" } m30000| [conn5] Tue Jul 6 20:32:26 startCloneCollection. db:admin collection:test.stuff from: localhost:30001 query: { _id: { $gte: 4.0, $lt: 6.0 } } m30001| [initandlisten] Tue Jul 6 20:32:26 connection accepted from 127.0.0.1:54301 #6 m30001| [conn6] Tue Jul 6 20:32:26 started logCollection with cmd obj: { logCollection: "test.stuff", start: 1 } m30001| [conn6] Tue Jul 6 20:32:26 end connection 127.0.0.1:54301 m30001| [initandlisten] Tue Jul 6 20:32:26 connection accepted from 127.0.0.1:54302 #7 m30000| [conn2] Tue Jul 6 20:32:29 update config.settings query: { _id: "balancer", x: { $exists: false } } 2967ms m30000| [conn5] Tue Jul 6 20:32:29 finishCloneCollection. db:admin collection:test.stuff from: localhost:30001 query: { _id: { $gte: 4.0, $lt: 6.0 } } m31000| [Balancer] Tue Jul 6 20:32:29 balancer: after update: { _id: "balancer", who: "duane.local:31000", x: ObjectId('4c33cb1a0fbeac395339e6b6') } m30001| [initandlisten] Tue Jul 6 20:32:29 connection accepted from 127.0.0.1:54303 #8 m31000| [Balancer] Tue Jul 6 20:32:29 balancer: chose [shard1] to [shard0] { _id: "test.stuff-_id_MinKey", lastmod: Timestamp 11000|0, ns: "test.stuff", min: { _id: MinKey }, max: { _id: 0.0 }, shard: "shard1" } m30001| [conn8] Tue Jul 6 20:32:29 started logCollection with cmd obj: { logCollection: "test.stuff", validateComplete: 1 } m31000| [Balancer] Tue Jul 6 20:32:29 moving chunk ns: test.stuff moving ( shard ns:test.stuff shard: shard1:localhost:30001 lastmod: 11|0 min: { _id: MinKey } max: { _id: 0.0 }) shard1:localhost:30001 -> shard0:localhost:30000 m30001| [conn7] Tue Jul 6 20:32:29 got movechunk: { moveChunk: "test.stuff", from: "localhost:30001", to: "localhost:30000", filter: { _id: { $gte: MinKey, $lt: 0.0 } }, shardId: "test.stuff-_id_MinKey", configdb: "localhost:30000" } m30000| [conn5] Tue Jul 6 20:32:29 query admin.$cmd ntoreturn:1 command: { finishCloneCollection: { fromhost: "localhost:30001", collection: "test.stuff", query: { _id: { $gte: 4.0, $lt: 6.0 } }, cursorId: new Date(0) } } reslen:53 985ms m30001| [conn8] Tue Jul 6 20:32:29 end connection 127.0.0.1:54303 m30000| [initandlisten] Tue Jul 6 20:32:29 connection accepted from 127.0.0.1:54304 #6 m30001| [conn2] Tue Jul 6 20:32:29 { _id: "duane.local-2010-6-7-0-32-1", server: "duane.local", time: new Date(1278462749140), what: "moveChunk", ns: "test.stuff", details: { range: { _id: { $gte: 4.0, $lt: 6.0 } }, from: "shard1", to: "shard0" } } m30001| [conn2] warning: Tue Jul 6 20:32:29 deleting data before ensuring no more cursors TODO m30001| [conn2] Tue Jul 6 20:32:29 moveChunk deleted: 2 m30001| [conn2] Tue Jul 6 20:32:29 dist_lock unlock: { _id: "test.stuff", state: 0, when: new Date(1278462746145), who: "duane.local:1278462746:1550261899", why: "migrate-{ _id: { $gte: 4.0, $lt: 6.0 } }" } m30001| [conn2] Tue Jul 6 20:32:29 query admin.$cmd ntoreturn:1 command: { moveChunk: "test.stuff", from: "localhost:30001", to: "localhost:30000", filter: { _id: { $gte: 4.0, $lt: 6.0 } }, shardId: "test.stuff-_id_4.0", configdb: "localhost:30000" } reslen:69 2996ms m30001| [conn7] Tue Jul 6 20:32:29 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: true, n: 1, ok: 1.0 } now: { _id: "test.stuff", state: 1, when: new Date(1278462749142), who: "duane.local:1278462749:1461532400", why: "migrate-{ _id: { $gte: MinKey, $lt: 0.0 } }" } m31000| [conn1] Tue Jul 6 20:32:29 CMD: movechunk: { movechunk: "test.stuff", find: { _id: 8.0 }, to: "localhost:30000" } m31000| [conn1] Tue Jul 6 20:32:29 moving chunk ns: test.stuff moving ( shard ns:test.stuff shard: shard1:localhost:30001 lastmod: 11|5 min: { _id: 8.0 } max: { _id: 10.0 }) shard1:localhost:30001 -> shard0:localhost:30000 m30001| [conn2] Tue Jul 6 20:32:29 got movechunk: { moveChunk: "test.stuff", from: "localhost:30001", to: "localhost:30000", filter: { _id: { $gte: 8.0, $lt: 10.0 } }, shardId: "test.stuff-_id_8.0", configdb: "localhost:30000" } m30000| [conn6] Tue Jul 6 20:32:29 startCloneCollection. db:admin collection:test.stuff from: localhost:30001 query: { _id: { $gte: MinKey, $lt: 0.0 } } m30001| [initandlisten] Tue Jul 6 20:32:29 connection accepted from 127.0.0.1:54305 #9 m30001| [conn2] Tue Jul 6 20:32:29 dist_lock lock getLastErrorDetailed: { err: null, updatedExisting: false, n: 0, ok: 1.0 } now: { _id: "test.stuff", state: 1, when: new Date(1278462749142), who: "duane.local:1278462749:1461532400", why: "migrate-{ _id: { $gte: MinKey, $lt: 0.0 } }" } m30001| [conn9] Tue Jul 6 20:32:29 started logCollection with cmd obj: { logCollection: "test.stuff", start: 1 } Tue Jul 6 20:32:29 uncaught exception: command { "movechunk" : "test.stuff", "find" : { "_id" : 8 }, "to" : "localhost:30000" } failed: { "ok" : 0, "errmsg" : "someone else has the lock { who: { _id: \"test.stuff\", state: 1, when: new Date(1278462749142), who: \"duane.local:1278462749:1461532400\", why: \"migrate-{ _id: { $gte: MinKey, $lt: 0.0 } }\" }, errmsg: \"someone else has the lock\", ok: 0.0 }" } failed to load: ./jstests/sharding/findandmodify1.js m30001| [conn9] Tue Jul 6 20:32:29 end connection 127.0.0.1:54305 m30000| Tue Jul 6 20:32:29 got kill or ctrl c signal 15 (Terminated), will terminate after current cmd ends m30000| [interruptThread] Tue Jul 6 20:32:29 now exiting m30000| Tue Jul 6 20:32:29 dbexit: m30000| [interruptThread] Tue Jul 6 20:32:29 shutdown: going to close listening sockets... m30000| [interruptThread] Tue Jul 6 20:32:29 going to close listening socket: 11 m30000| [interruptThread] Tue Jul 6 20:32:29 going to close listening socket: 12 m30000| [interruptThread] Tue Jul 6 20:32:29 shutdown: going to flush oplog... m30000| [interruptThread] Tue Jul 6 20:32:29 shutdown: going to close sockets... m30000| [interruptThread] Tue Jul 6 20:32:29 shutdown: waiting for fs preallocator... m30000| [interruptThread] Tue Jul 6 20:32:29 shutdown: closing all files... m30000| [conn2] Tue Jul 6 20:32:29 MessagingPort recv() errno:9 Bad file descriptor 127.0.0.1:54292 m30000| [conn1] Tue Jul 6 20:32:29 MessagingPort recv() errno:9 Bad file descriptor 127.0.0.1:54288 m30000| [conn5] Tue Jul 6 20:32:29 MessagingPort recv() errno:9 Bad file descriptor 127.0.0.1:54298 m30000| [conn6] Tue Jul 6 20:32:29 MessagingPort recv() errno:9 Bad file descriptor 127.0.0.1:54304 m30000| [conn4] Tue Jul 6 20:32:29 MessagingPort recv() errno:9 Bad file descriptor 127.0.0.1:54296 m30000| [conn2] Tue Jul 6 20:32:29 end connection 127.0.0.1:54292 m30000| [conn1] Tue Jul 6 20:32:29 end connection 127.0.0.1:54288 m30000| [conn5] Tue Jul 6 20:32:29 end connection 127.0.0.1:54298 m30000| [conn6] Tue Jul 6 20:32:29 end connection 127.0.0.1:54304 m30000| [conn4] Tue Jul 6 20:32:29 end connection 127.0.0.1:54296 m31000| [WriteBackListener] Tue Jul 6 20:32:29 WriteBackListener exception : St9exception m30000| Tue Jul 6 20:32:30 closeAllFiles() finished m30000| [interruptThread] Tue Jul 6 20:32:30 shutdown: removing fs lock... m30000| Tue Jul 6 20:32:30 dbexit: really exiting now m30001| Tue Jul 6 20:32:31 got kill or ctrl c signal 15 (Terminated), will terminate after current cmd ends m30001| [interruptThread] Tue Jul 6 20:32:31 now exiting m30001| Tue Jul 6 20:32:31 dbexit: m30001| [interruptThread] Tue Jul 6 20:32:31 shutdown: going to close listening sockets... m30001| [interruptThread] Tue Jul 6 20:32:31 going to close listening socket: 14 m30001| [interruptThread] Tue Jul 6 20:32:31 going to close listening socket: 15 m30001| [interruptThread] Tue Jul 6 20:32:31 shutdown: going to flush oplog... m30001| [interruptThread] Tue Jul 6 20:32:31 shutdown: going to close sockets... m30001| [interruptThread] Tue Jul 6 20:32:31 shutdown: waiting for fs preallocator... m30001| [interruptThread] Tue Jul 6 20:32:31 shutdown: closing all files... m30001| [conn2] Tue Jul 6 20:32:31 MessagingPort recv() errno:9 Bad file descriptor 127.0.0.1:54295 m30001| [conn2] Tue Jul 6 20:32:31 end connection 127.0.0.1:54295 m31000| [WriteBackListener] Tue Jul 6 20:32:31 WriteBackListener exception : St9exception m30001| Tue Jul 6 20:32:31 closeAllFiles() finished m30001| [interruptThread] Tue Jul 6 20:32:31 shutdown: removing fs lock... m30001| Tue Jul 6 20:32:31 dbexit: really exiting now m31000| [Balancer] Tue Jul 6 20:32:31 ~ScopedDBConnection: _conn != null m31000| [Balancer] Tue Jul 6 20:32:31 caught exception while doing balance: DBClientBase::findOne: transport error m31000| [WriteBackListener] Tue Jul 6 20:32:31 uncaught exception in BackgroundJob m31000| [Balancer] Tue Jul 6 20:32:31 uncaught exception in BackgroundJob m31000| Tue Jul 6 20:32:32 dbexit: received signal 15 rc:0 Tue Jul 6 20:32:35 got kill or ctrl c signal 15 (Terminated), will terminate after current cmd ends [interruptThread] Tue Jul 6 20:32:35 now exiting Tue Jul 6 20:32:35 dbexit: [interruptThread] Tue Jul 6 20:32:35 shutdown: going to close listening sockets... [interruptThread] Tue Jul 6 20:32:35 going to close listening socket: 6 [interruptThread] Tue Jul 6 20:32:35 going to close listening socket: 8 [interruptThread] Tue Jul 6 20:32:35 going to close listening socket: 9 [interruptThread] Tue Jul 6 20:32:35 going to close listening socket: 10 [interruptThread] Tue Jul 6 20:32:35 shutdown: going to flush oplog... [interruptThread] Tue Jul 6 20:32:35 shutdown: going to close sockets... [interruptThread] Tue Jul 6 20:32:35 shutdown: waiting for fs preallocator... [interruptThread] Tue Jul 6 20:32:35 shutdown: closing all files... Tue Jul 6 20:32:35 closeAllFiles() finished [interruptThread] Tue Jul 6 20:32:35 shutdown: removing fs lock... Tue Jul 6 20:32:35 dbexit: really exiting now running ./mongod --port 32000 --dbpath /data/db/sconsTests/ ******************************************* Test : auto1.js ... 55468.708992ms ******************************************* Test : auto2.js ... 66826.2598515ms ******************************************* Test : count1.js ... 15816.5659904ms ******************************************* Test : diffservers1.js ... 24173.4468937ms ******************************************* Test : error1.js ... 16839.08391ms ******************************************* Test : features1.js ... 22482.2530746ms ******************************************* Test : features2.js ... 34326.0200024ms ******************************************* Test : findandmodify1.js ... 17643.4841156ms test ./jstests/sharding/findandmodify1.js exited with status 253 7 tests succeeded 18 tests didn't get run The following tests failed (with exit code): ./jstests/sharding/findandmodify1.js 253 scons: *** [smokeSharding] Error 1 scons: building terminated because of errors.