MongoDB shell version v3.4.10 connecting to: mongodb://127.0.0.1:27017 MongoDB server version: 3.2.11 WARNING: shell and server versions do not match Resetting db path '/data/db/test0' 2018-01-24T19:12:47.905-0800 I - [thread1] shell: started program (sh72354): /usr/local/opt/mongodb@3.4/bin/mongod --dbpath /data/db/test0 --shardsvr --port 20000 --setParameter enableTestCommands=1 --setParameter logComponentVerbosity={tracking:1} 2018-01-24T19:12:47.905-0800 W NETWORK [thread1] Failed to connect to 127.0.0.1:20000, in(checking socket for error after poll), reason: Connection refused d20000| 2018-01-24T19:12:47.982-0800 I CONTROL [initandlisten] MongoDB starting : pid=72354 port=20000 dbpath=/data/db/test0 64-bit host=st-bartle1 d20000| 2018-01-24T19:12:47.983-0800 I CONTROL [initandlisten] db version v3.4.10 d20000| 2018-01-24T19:12:47.983-0800 I CONTROL [initandlisten] git version: 078f28920cb24de0dd479b5ea6c66c644f6326e9 d20000| 2018-01-24T19:12:47.983-0800 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2n 7 Dec 2017 d20000| 2018-01-24T19:12:47.983-0800 I CONTROL [initandlisten] allocator: system d20000| 2018-01-24T19:12:47.983-0800 I CONTROL [initandlisten] modules: none d20000| 2018-01-24T19:12:47.983-0800 I CONTROL [initandlisten] build environment: d20000| 2018-01-24T19:12:47.983-0800 I CONTROL [initandlisten] distarch: x86_64 d20000| 2018-01-24T19:12:47.983-0800 I CONTROL [initandlisten] target_arch: x86_64 d20000| 2018-01-24T19:12:47.983-0800 I CONTROL [initandlisten] options: { net: { port: 20000 }, setParameter: { enableTestCommands: "1", logComponentVerbosity: "{tracking:1}" }, sharding: { clusterRole: "shardsvr" }, storage: { dbPath: "/data/db/test0" } } d20000| 2018-01-24T19:12:47.984-0800 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=7680M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0), d20000| 2018-01-24T19:12:48.084-0800 I CONTROL [initandlisten] d20000| 2018-01-24T19:12:48.084-0800 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database. d20000| 2018-01-24T19:12:48.084-0800 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted. d20000| 2018-01-24T19:12:48.084-0800 I CONTROL [initandlisten] d20000| 2018-01-24T19:12:48.085-0800 W SHARDING [initandlisten] Started with --shardsvr, but no shardIdentity document was found on disk in admin.system.version. This most likely means this server has not yet been added to a sharded cluster. d20000| 2018-01-24T19:12:48.108-0800 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory '/data/db/test0/diagnostic.data' d20000| 2018-01-24T19:12:48.109-0800 I NETWORK [thread1] waiting for connections on port 20000 d20000| 2018-01-24T19:12:48.209-0800 I NETWORK [thread1] connection accepted from 127.0.0.1:61440 #1 (1 connection now open) d20000| 2018-01-24T19:12:48.210-0800 I NETWORK [conn1] received client metadata from 127.0.0.1:61440 conn1: { application: { name: "MongoDB Shell" }, driver: { name: "MongoDB Internal Client", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } Resetting db path '/data/db/test1' 2018-01-24T19:12:48.224-0800 I - [thread1] shell: started program (sh72355): /usr/local/opt/mongodb@3.4/bin/mongod --dbpath /data/db/test1 --shardsvr --port 20001 --setParameter enableTestCommands=1 --setParameter logComponentVerbosity={tracking:1} 2018-01-24T19:12:48.225-0800 W NETWORK [thread1] Failed to connect to 127.0.0.1:20001, in(checking socket for error after poll), reason: Connection refused d20001| 2018-01-24T19:12:48.285-0800 I CONTROL [initandlisten] MongoDB starting : pid=72355 port=20001 dbpath=/data/db/test1 64-bit host=st-bartle1 d20001| 2018-01-24T19:12:48.286-0800 I CONTROL [initandlisten] db version v3.4.10 d20001| 2018-01-24T19:12:48.286-0800 I CONTROL [initandlisten] git version: 078f28920cb24de0dd479b5ea6c66c644f6326e9 d20001| 2018-01-24T19:12:48.286-0800 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2n 7 Dec 2017 d20001| 2018-01-24T19:12:48.286-0800 I CONTROL [initandlisten] allocator: system d20001| 2018-01-24T19:12:48.286-0800 I CONTROL [initandlisten] modules: none d20001| 2018-01-24T19:12:48.286-0800 I CONTROL [initandlisten] build environment: d20001| 2018-01-24T19:12:48.286-0800 I CONTROL [initandlisten] distarch: x86_64 d20001| 2018-01-24T19:12:48.286-0800 I CONTROL [initandlisten] target_arch: x86_64 d20001| 2018-01-24T19:12:48.286-0800 I CONTROL [initandlisten] options: { net: { port: 20001 }, setParameter: { enableTestCommands: "1", logComponentVerbosity: "{tracking:1}" }, sharding: { clusterRole: "shardsvr" }, storage: { dbPath: "/data/db/test1" } } d20001| 2018-01-24T19:12:48.287-0800 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=7680M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0), d20001| 2018-01-24T19:12:48.362-0800 I CONTROL [initandlisten] d20001| 2018-01-24T19:12:48.362-0800 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database. d20001| 2018-01-24T19:12:48.362-0800 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted. d20001| 2018-01-24T19:12:48.362-0800 I CONTROL [initandlisten] d20001| 2018-01-24T19:12:48.363-0800 W SHARDING [initandlisten] Started with --shardsvr, but no shardIdentity document was found on disk in admin.system.version. This most likely means this server has not yet been added to a sharded cluster. d20001| 2018-01-24T19:12:48.383-0800 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory '/data/db/test1/diagnostic.data' d20001| 2018-01-24T19:12:48.384-0800 I NETWORK [thread1] waiting for connections on port 20001 d20001| 2018-01-24T19:12:48.428-0800 I NETWORK [thread1] connection accepted from 127.0.0.1:61443 #1 (1 connection now open) d20001| 2018-01-24T19:12:48.429-0800 I NETWORK [conn1] received client metadata from 127.0.0.1:61443 conn1: { application: { name: "MongoDB Shell" }, driver: { name: "MongoDB Internal Client", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } Starting new replica set test-configRS ReplSetTest starting set ReplSetTest n is : 0 { "useHostName" : true, "oplogSize" : 40, "keyFile" : undefined, "port" : 20002, "noprealloc" : "", "smallfiles" : "", "replSet" : "test-configRS", "dbpath" : "$set-$node", "pathOpts" : { "testName" : "test", "node" : 0, "set" : "test-configRS" }, "journal" : "", "configsvr" : "", "noJournalPrealloc" : undefined, "storageEngine" : "wiredTiger", "restart" : undefined, "setParameter" : { "writePeriodicNoops" : false, "numInitialSyncAttempts" : 1, "numInitialSyncConnectAttempts" : 60 } } ReplSetTest Starting.... Resetting db path '/data/db/test-configRS-0' 2018-01-24T19:12:48.452-0800 I - [thread1] shell: started program (sh72356): /usr/local/opt/mongodb@3.4/bin/mongod --oplogSize 40 --port 20002 --noprealloc --smallfiles --replSet test-configRS --dbpath /data/db/test-configRS-0 --journal --configsvr --storageEngine wiredTiger --setParameter writePeriodicNoops=false --setParameter numInitialSyncAttempts=1 --setParameter numInitialSyncConnectAttempts=60 --setParameter enableTestCommands=1 --setParameter logComponentVerbosity={tracking:1} 2018-01-24T19:12:48.453-0800 W NETWORK [thread1] Failed to connect to 127.0.0.1:20002, in(checking socket for error after poll), reason: Connection refused c20002| note: noprealloc may hurt performance in many applications c20002| 2018-01-24T19:12:48.515-0800 I CONTROL [initandlisten] MongoDB starting : pid=72356 port=20002 dbpath=/data/db/test-configRS-0 64-bit host=st-bartle1 c20002| 2018-01-24T19:12:48.516-0800 I CONTROL [initandlisten] db version v3.4.10 c20002| 2018-01-24T19:12:48.516-0800 I CONTROL [initandlisten] git version: 078f28920cb24de0dd479b5ea6c66c644f6326e9 c20002| 2018-01-24T19:12:48.516-0800 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2n 7 Dec 2017 c20002| 2018-01-24T19:12:48.516-0800 I CONTROL [initandlisten] allocator: system c20002| 2018-01-24T19:12:48.516-0800 I CONTROL [initandlisten] modules: none c20002| 2018-01-24T19:12:48.516-0800 I CONTROL [initandlisten] build environment: c20002| 2018-01-24T19:12:48.516-0800 I CONTROL [initandlisten] distarch: x86_64 c20002| 2018-01-24T19:12:48.516-0800 I CONTROL [initandlisten] target_arch: x86_64 c20002| 2018-01-24T19:12:48.516-0800 I CONTROL [initandlisten] options: { net: { port: 20002 }, replication: { oplogSizeMB: 40, replSet: "test-configRS" }, setParameter: { enableTestCommands: "1", logComponentVerbosity: "{tracking:1}", numInitialSyncAttempts: "1", numInitialSyncConnectAttempts: "60", writePeriodicNoops: "false" }, sharding: { clusterRole: "configsvr" }, storage: { dbPath: "/data/db/test-configRS-0", engine: "wiredTiger", journal: { enabled: true }, mmapv1: { preallocDataFiles: false, smallFiles: true } } } c20002| 2018-01-24T19:12:48.517-0800 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=7680M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0), c20002| 2018-01-24T19:12:48.606-0800 W STORAGE [initandlisten] Detected configuration for non-active storage engine mmapv1 when current storage engine is wiredTiger c20002| 2018-01-24T19:12:48.606-0800 I CONTROL [initandlisten] c20002| 2018-01-24T19:12:48.606-0800 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database. c20002| 2018-01-24T19:12:48.606-0800 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted. c20002| 2018-01-24T19:12:48.606-0800 I CONTROL [initandlisten] c20002| 2018-01-24T19:12:48.631-0800 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory '/data/db/test-configRS-0/diagnostic.data' c20002| 2018-01-24T19:12:48.639-0800 I SHARDING [thread1] creating distributed lock ping thread for process ConfigServer (sleeping for 30000ms) c20002| 2018-01-24T19:12:48.639-0800 I SHARDING [shard registry reload] Periodic reload of shard registry failed :: caused by :: 134 could not get updated shard list from config server due to Read concern majority reads are currently not possible.; will retry after 30s c20002| 2018-01-24T19:12:48.661-0800 I REPL [initandlisten] Did not find local voted for document at startup. c20002| 2018-01-24T19:12:48.661-0800 I REPL [initandlisten] Did not find local replica set configuration document at startup; NoMatchingDocument: Did not find replica set configuration document in local.system.replset c20002| 2018-01-24T19:12:48.662-0800 I NETWORK [thread2] waiting for connections on port 20002 c20002| 2018-01-24T19:12:48.758-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61445 #1 (1 connection now open) c20002| 2018-01-24T19:12:48.759-0800 I NETWORK [conn1] received client metadata from 127.0.0.1:61445 conn1: { application: { name: "MongoDB Shell" }, driver: { name: "MongoDB Internal Client", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } [ connection to st-bartle1:20002 ] ReplSetTest n is : 1 { "useHostName" : true, "oplogSize" : 40, "keyFile" : undefined, "port" : 20003, "noprealloc" : "", "smallfiles" : "", "replSet" : "test-configRS", "dbpath" : "$set-$node", "pathOpts" : { "testName" : "test", "node" : 1, "set" : "test-configRS" }, "journal" : "", "configsvr" : "", "noJournalPrealloc" : undefined, "storageEngine" : "wiredTiger", "restart" : undefined, "setParameter" : { "writePeriodicNoops" : false, "numInitialSyncAttempts" : 1, "numInitialSyncConnectAttempts" : 60 } } ReplSetTest Starting.... Resetting db path '/data/db/test-configRS-1' 2018-01-24T19:12:48.779-0800 I - [thread1] shell: started program (sh72357): /usr/local/opt/mongodb@3.4/bin/mongod --oplogSize 40 --port 20003 --noprealloc --smallfiles --replSet test-configRS --dbpath /data/db/test-configRS-1 --journal --configsvr --storageEngine wiredTiger --setParameter writePeriodicNoops=false --setParameter numInitialSyncAttempts=1 --setParameter numInitialSyncConnectAttempts=60 --setParameter enableTestCommands=1 --setParameter logComponentVerbosity={tracking:1} 2018-01-24T19:12:48.780-0800 W NETWORK [thread1] Failed to connect to 127.0.0.1:20003, in(checking socket for error after poll), reason: Connection refused c20003| note: noprealloc may hurt performance in many applications c20003| 2018-01-24T19:12:48.844-0800 I CONTROL [initandlisten] MongoDB starting : pid=72357 port=20003 dbpath=/data/db/test-configRS-1 64-bit host=st-bartle1 c20003| 2018-01-24T19:12:48.844-0800 I CONTROL [initandlisten] db version v3.4.10 c20003| 2018-01-24T19:12:48.844-0800 I CONTROL [initandlisten] git version: 078f28920cb24de0dd479b5ea6c66c644f6326e9 c20003| 2018-01-24T19:12:48.844-0800 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2n 7 Dec 2017 c20003| 2018-01-24T19:12:48.844-0800 I CONTROL [initandlisten] allocator: system c20003| 2018-01-24T19:12:48.844-0800 I CONTROL [initandlisten] modules: none c20003| 2018-01-24T19:12:48.844-0800 I CONTROL [initandlisten] build environment: c20003| 2018-01-24T19:12:48.844-0800 I CONTROL [initandlisten] distarch: x86_64 c20003| 2018-01-24T19:12:48.845-0800 I CONTROL [initandlisten] target_arch: x86_64 c20003| 2018-01-24T19:12:48.845-0800 I CONTROL [initandlisten] options: { net: { port: 20003 }, replication: { oplogSizeMB: 40, replSet: "test-configRS" }, setParameter: { enableTestCommands: "1", logComponentVerbosity: "{tracking:1}", numInitialSyncAttempts: "1", numInitialSyncConnectAttempts: "60", writePeriodicNoops: "false" }, sharding: { clusterRole: "configsvr" }, storage: { dbPath: "/data/db/test-configRS-1", engine: "wiredTiger", journal: { enabled: true }, mmapv1: { preallocDataFiles: false, smallFiles: true } } } c20003| 2018-01-24T19:12:48.845-0800 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=7680M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0), c20003| 2018-01-24T19:12:48.936-0800 W STORAGE [initandlisten] Detected configuration for non-active storage engine mmapv1 when current storage engine is wiredTiger c20003| 2018-01-24T19:12:48.936-0800 I CONTROL [initandlisten] c20003| 2018-01-24T19:12:48.936-0800 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database. c20003| 2018-01-24T19:12:48.936-0800 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted. c20003| 2018-01-24T19:12:48.936-0800 I CONTROL [initandlisten] c20003| 2018-01-24T19:12:48.956-0800 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory '/data/db/test-configRS-1/diagnostic.data' c20003| 2018-01-24T19:12:48.963-0800 I SHARDING [thread1] creating distributed lock ping thread for process ConfigServer (sleeping for 30000ms) c20003| 2018-01-24T19:12:48.963-0800 I SHARDING [shard registry reload] Periodic reload of shard registry failed :: caused by :: 134 could not get updated shard list from config server due to Read concern majority reads are currently not possible.; will retry after 30s c20003| 2018-01-24T19:12:48.983-0800 I REPL [initandlisten] Did not find local voted for document at startup. c20003| 2018-01-24T19:12:48.983-0800 I REPL [initandlisten] Did not find local replica set configuration document at startup; NoMatchingDocument: Did not find replica set configuration document in local.system.replset c20003| 2018-01-24T19:12:48.984-0800 I NETWORK [thread2] waiting for connections on port 20003 c20003| 2018-01-24T19:12:49.084-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61447 #1 (1 connection now open) c20003| 2018-01-24T19:12:49.085-0800 I NETWORK [conn1] received client metadata from 127.0.0.1:61447 conn1: { application: { name: "MongoDB Shell" }, driver: { name: "MongoDB Internal Client", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } [ connection to st-bartle1:20002, connection to st-bartle1:20003 ] ReplSetTest n is : 2 { "useHostName" : true, "oplogSize" : 40, "keyFile" : undefined, "port" : 20004, "noprealloc" : "", "smallfiles" : "", "replSet" : "test-configRS", "dbpath" : "$set-$node", "pathOpts" : { "testName" : "test", "node" : 2, "set" : "test-configRS" }, "journal" : "", "configsvr" : "", "noJournalPrealloc" : undefined, "storageEngine" : "wiredTiger", "restart" : undefined, "setParameter" : { "writePeriodicNoops" : false, "numInitialSyncAttempts" : 1, "numInitialSyncConnectAttempts" : 60 } } ReplSetTest Starting.... Resetting db path '/data/db/test-configRS-2' 2018-01-24T19:12:49.104-0800 I - [thread1] shell: started program (sh72358): /usr/local/opt/mongodb@3.4/bin/mongod --oplogSize 40 --port 20004 --noprealloc --smallfiles --replSet test-configRS --dbpath /data/db/test-configRS-2 --journal --configsvr --storageEngine wiredTiger --setParameter writePeriodicNoops=false --setParameter numInitialSyncAttempts=1 --setParameter numInitialSyncConnectAttempts=60 --setParameter enableTestCommands=1 --setParameter logComponentVerbosity={tracking:1} 2018-01-24T19:12:49.105-0800 W NETWORK [thread1] Failed to connect to 127.0.0.1:20004, in(checking socket for error after poll), reason: Connection refused c20004| note: noprealloc may hurt performance in many applications c20004| 2018-01-24T19:12:49.171-0800 I CONTROL [initandlisten] MongoDB starting : pid=72358 port=20004 dbpath=/data/db/test-configRS-2 64-bit host=st-bartle1 c20004| 2018-01-24T19:12:49.171-0800 I CONTROL [initandlisten] db version v3.4.10 c20004| 2018-01-24T19:12:49.171-0800 I CONTROL [initandlisten] git version: 078f28920cb24de0dd479b5ea6c66c644f6326e9 c20004| 2018-01-24T19:12:49.171-0800 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2n 7 Dec 2017 c20004| 2018-01-24T19:12:49.171-0800 I CONTROL [initandlisten] allocator: system c20004| 2018-01-24T19:12:49.171-0800 I CONTROL [initandlisten] modules: none c20004| 2018-01-24T19:12:49.171-0800 I CONTROL [initandlisten] build environment: c20004| 2018-01-24T19:12:49.171-0800 I CONTROL [initandlisten] distarch: x86_64 c20004| 2018-01-24T19:12:49.171-0800 I CONTROL [initandlisten] target_arch: x86_64 c20004| 2018-01-24T19:12:49.172-0800 I CONTROL [initandlisten] options: { net: { port: 20004 }, replication: { oplogSizeMB: 40, replSet: "test-configRS" }, setParameter: { enableTestCommands: "1", logComponentVerbosity: "{tracking:1}", numInitialSyncAttempts: "1", numInitialSyncConnectAttempts: "60", writePeriodicNoops: "false" }, sharding: { clusterRole: "configsvr" }, storage: { dbPath: "/data/db/test-configRS-2", engine: "wiredTiger", journal: { enabled: true }, mmapv1: { preallocDataFiles: false, smallFiles: true } } } c20004| 2018-01-24T19:12:49.172-0800 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=7680M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0), c20004| 2018-01-24T19:12:49.263-0800 W STORAGE [initandlisten] Detected configuration for non-active storage engine mmapv1 when current storage engine is wiredTiger c20004| 2018-01-24T19:12:49.263-0800 I CONTROL [initandlisten] c20004| 2018-01-24T19:12:49.264-0800 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database. c20004| 2018-01-24T19:12:49.264-0800 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted. c20004| 2018-01-24T19:12:49.264-0800 I CONTROL [initandlisten] c20004| 2018-01-24T19:12:49.287-0800 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory '/data/db/test-configRS-2/diagnostic.data' c20004| 2018-01-24T19:12:49.297-0800 I SHARDING [thread1] creating distributed lock ping thread for process ConfigServer (sleeping for 30000ms) c20004| 2018-01-24T19:12:49.297-0800 I SHARDING [shard registry reload] Periodic reload of shard registry failed :: caused by :: 134 could not get updated shard list from config server due to Read concern majority reads are currently not possible.; will retry after 30s c20004| 2018-01-24T19:12:49.322-0800 I REPL [initandlisten] Did not find local voted for document at startup. c20004| 2018-01-24T19:12:49.322-0800 I REPL [initandlisten] Did not find local replica set configuration document at startup; NoMatchingDocument: Did not find replica set configuration document in local.system.replset c20004| 2018-01-24T19:12:49.323-0800 I NETWORK [thread2] waiting for connections on port 20004 c20004| 2018-01-24T19:12:49.505-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61449 #1 (1 connection now open) c20004| 2018-01-24T19:12:49.506-0800 I NETWORK [conn1] received client metadata from 127.0.0.1:61449 conn1: { application: { name: "MongoDB Shell" }, driver: { name: "MongoDB Internal Client", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } [ connection to st-bartle1:20002, connection to st-bartle1:20003, connection to st-bartle1:20004 ] { "replSetInitiate" : { "_id" : "test-configRS", "members" : [ { "_id" : 0, "host" : "st-bartle1:20002" } ], "configsvr" : true } } c20002| 2018-01-24T19:12:49.509-0800 I REPL [conn1] replSetInitiate admin command received from client c20002| 2018-01-24T19:12:49.511-0800 I REPL [conn1] replSetInitiate config object with 1 members parses ok c20002| 2018-01-24T19:12:49.511-0800 I REPL [conn1] ****** c20002| 2018-01-24T19:12:49.511-0800 I REPL [conn1] creating replication oplog of size: 40MB... c20002| 2018-01-24T19:12:49.525-0800 I STORAGE [conn1] Starting WiredTigerRecordStoreThread local.oplog.rs c20002| 2018-01-24T19:12:49.526-0800 I STORAGE [conn1] The size storer reports that the oplog contains 0 records totaling to 0 bytes c20002| 2018-01-24T19:12:49.526-0800 I STORAGE [conn1] Scanning the oplog to determine where to place markers for truncation c20002| 2018-01-24T19:12:49.581-0800 I REPL [conn1] ****** c20002| 2018-01-24T19:12:49.667-0800 I INDEX [conn1] build index on: admin.system.version properties: { v: 2, key: { version: 1 }, name: "incompatible_with_version_32", ns: "admin.system.version" } c20002| 2018-01-24T19:12:49.667-0800 I INDEX [conn1] building index using bulk method; build may temporarily use up to 500 megabytes of RAM c20002| 2018-01-24T19:12:49.675-0800 I INDEX [conn1] build index done. scanned 0 total records. 0 secs c20002| 2018-01-24T19:12:49.676-0800 I COMMAND [conn1] setting featureCompatibilityVersion to 3.4 c20002| 2018-01-24T19:12:49.676-0800 I REPL [conn1] New replica set config in use: { _id: "test-configRS", version: 1, configsvr: true, protocolVersion: 1, members: [ { _id: 0, host: "st-bartle1:20002", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, tags: {}, slaveDelay: 0, votes: 1 } ], settings: { chainingAllowed: true, heartbeatIntervalMillis: 2000, heartbeatTimeoutSecs: 10, electionTimeoutMillis: 10000, catchUpTimeoutMillis: 60000, getLastErrorModes: {}, getLastErrorDefaults: { w: 1, wtimeout: 0 }, replicaSetId: ObjectId('5a694b3111d49588fffd8b69') } } c20002| 2018-01-24T19:12:49.676-0800 I REPL [conn1] This node is st-bartle1:20002 in the config c20002| 2018-01-24T19:12:49.676-0800 I REPL [conn1] transition to STARTUP2 c20002| 2018-01-24T19:12:49.676-0800 I REPL [conn1] Starting replication snapshot thread c20002| 2018-01-24T19:12:49.676-0800 I REPL [conn1] Starting replication storage threads c20002| 2018-01-24T19:12:49.677-0800 I REPL [conn1] Starting replication fetcher thread c20002| 2018-01-24T19:12:49.678-0800 I REPL [conn1] Starting replication applier thread c20002| 2018-01-24T19:12:49.678-0800 I REPL [conn1] Starting replication reporter thread c20002| 2018-01-24T19:12:49.678-0800 I REPL [rsSync] transition to RECOVERING c20002| 2018-01-24T19:12:49.678-0800 I COMMAND [conn1] command local.replset.minvalid appName: "MongoDB Shell" command: replSetInitiate { v: 2, key: { version: 1 }, ns: "admin.system.version", name: "incompatible_with_version_32" } numYields:0 reslen:82 locks:{ Global: { acquireCount: { r: 14, w: 8, W: 2 }, acquireWaitCount: { W: 1 }, timeAcquiringMicros: { W: 80 } }, Database: { acquireCount: { r: 2, w: 2, W: 6 } }, Collection: { acquireCount: { r: 2, w: 2 } }, Metadata: { acquireCount: { w: 1 } }, oplog: { acquireCount: { w: 2 } } } protocol:op_command 169ms c20002| 2018-01-24T19:12:49.679-0800 I REPL [rsSync] transition to SECONDARY c20002| 2018-01-24T19:12:49.679-0800 I REPL [rsSync] conducting a dry run election to see if we could be elected c20002| 2018-01-24T19:12:49.680-0800 I REPL [ReplicationExecutor] dry election run succeeded, running for election c20002| 2018-01-24T19:12:49.705-0800 I REPL [ReplicationExecutor] election succeeded, assuming primary role in term 1 c20002| 2018-01-24T19:12:49.705-0800 I REPL [ReplicationExecutor] transition to PRIMARY c20002| 2018-01-24T19:12:49.705-0800 I REPL [ReplicationExecutor] Entering primary catch-up mode. c20002| 2018-01-24T19:12:49.705-0800 I REPL [ReplicationExecutor] Exited primary catch-up mode. Reconfiguring replica set to add in other nodes { "replSetReconfig" : { "_id" : "test-configRS", "members" : [ { "_id" : 0, "host" : "st-bartle1:20002" }, { "_id" : 1, "host" : "st-bartle1:20003" }, { "_id" : 2, "host" : "st-bartle1:20004" } ], "configsvr" : true, "settings" : { }, "version" : 2 } } c20002| 2018-01-24T19:12:51.714-0800 I REPL [conn1] replSetReconfig admin command received from client c20003| 2018-01-24T19:12:51.717-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61452 #2 (2 connections now open) c20003| 2018-01-24T19:12:51.718-0800 I - [conn2] end connection 127.0.0.1:61452 (2 connections now open) c20004| 2018-01-24T19:12:51.720-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61453 #2 (2 connections now open) c20002| 2018-01-24T19:12:51.721-0800 I REPL [conn1] replSetReconfig config object with 3 members parses ok c20002| 2018-01-24T19:12:51.721-0800 I ASIO [NetworkInterfaceASIO-Replication-0] Connecting to st-bartle1:20003 c20002| 2018-01-24T19:12:51.722-0800 I ASIO [NetworkInterfaceASIO-Replication-0] Connecting to st-bartle1:20004 c20004| 2018-01-24T19:12:51.725-0800 I - [conn2] end connection 127.0.0.1:61453 (2 connections now open) c20002| 2018-01-24T19:12:51.727-0800 I INDEX [rsSync] build index on: config.chunks properties: { v: 2, unique: true, key: { ns: 1, min: 1 }, name: "ns_1_min_1", ns: "config.chunks" } c20002| 2018-01-24T19:12:51.727-0800 I INDEX [rsSync] building index using bulk method; build may temporarily use up to 500 megabytes of RAM c20002| 2018-01-24T19:12:51.735-0800 I INDEX [rsSync] build index done. scanned 0 total records. 0 secs c20003| 2018-01-24T19:12:51.738-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61455 #3 (2 connections now open) c20003| 2018-01-24T19:12:51.738-0800 I NETWORK [conn3] received client metadata from 127.0.0.1:61455 conn3: { driver: { name: "NetworkInterfaceASIO-Replication", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } c20002| 2018-01-24T19:12:51.739-0800 I ASIO [NetworkInterfaceASIO-Replication-0] Successfully connected to st-bartle1:20003, took 18ms (1 connections now open to st-bartle1:20003) c20003| 2018-01-24T19:12:51.740-0800 I ASIO [NetworkInterfaceASIO-Replication-0] Connecting to st-bartle1:20002 c20004| 2018-01-24T19:12:51.742-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61457 #3 (2 connections now open) c20004| 2018-01-24T19:12:51.742-0800 I NETWORK [conn3] received client metadata from 127.0.0.1:61457 conn3: { driver: { name: "NetworkInterfaceASIO-Replication", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } c20002| 2018-01-24T19:12:51.743-0800 I ASIO [NetworkInterfaceASIO-Replication-0] Successfully connected to st-bartle1:20004, took 22ms (1 connections now open to st-bartle1:20004) c20002| 2018-01-24T19:12:51.745-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61459 #2 (2 connections now open) c20002| 2018-01-24T19:12:51.745-0800 I NETWORK [conn2] received client metadata from 127.0.0.1:61459 conn2: { driver: { name: "NetworkInterfaceASIO-Replication", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } c20003| 2018-01-24T19:12:51.746-0800 I ASIO [NetworkInterfaceASIO-Replication-0] Successfully connected to st-bartle1:20002, took 6ms (1 connections now open to st-bartle1:20002) c20002| 2018-01-24T19:12:51.746-0800 I INDEX [rsSync] build index on: config.chunks properties: { v: 2, unique: true, key: { ns: 1, shard: 1, min: 1 }, name: "ns_1_shard_1_min_1", ns: "config.chunks" } c20002| 2018-01-24T19:12:51.746-0800 I INDEX [rsSync] building index using bulk method; build may temporarily use up to 500 megabytes of RAM c20002| 2018-01-24T19:12:51.747-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61460 #3 (3 connections now open) c20002| 2018-01-24T19:12:51.748-0800 I - [conn3] end connection 127.0.0.1:61460 (3 connections now open) c20002| 2018-01-24T19:12:51.752-0800 I INDEX [rsSync] build index done. scanned 0 total records. 0 secs c20002| 2018-01-24T19:12:51.761-0800 I INDEX [rsSync] build index on: config.chunks properties: { v: 2, unique: true, key: { ns: 1, lastmod: 1 }, name: "ns_1_lastmod_1", ns: "config.chunks" } c20002| 2018-01-24T19:12:51.761-0800 I INDEX [rsSync] building index using bulk method; build may temporarily use up to 500 megabytes of RAM c20002| 2018-01-24T19:12:51.765-0800 I INDEX [rsSync] build index done. scanned 0 total records. 0 secs c20002| 2018-01-24T19:12:51.803-0800 I INDEX [rsSync] build index on: config.migrations properties: { v: 2, unique: true, key: { ns: 1, min: 1 }, name: "ns_1_min_1", ns: "config.migrations" } c20002| 2018-01-24T19:12:51.803-0800 I INDEX [rsSync] building index using bulk method; build may temporarily use up to 500 megabytes of RAM c20002| 2018-01-24T19:12:51.809-0800 I INDEX [rsSync] build index done. scanned 0 total records. 0 secs c20002| 2018-01-24T19:12:51.844-0800 I INDEX [rsSync] build index on: config.shards properties: { v: 2, unique: true, key: { host: 1 }, name: "host_1", ns: "config.shards" } c20002| 2018-01-24T19:12:51.844-0800 I INDEX [rsSync] building index using bulk method; build may temporarily use up to 500 megabytes of RAM c20002| 2018-01-24T19:12:51.851-0800 I INDEX [rsSync] build index done. scanned 0 total records. 0 secs c20002| 2018-01-24T19:12:51.880-0800 I INDEX [rsSync] build index on: config.locks properties: { v: 2, key: { ts: 1 }, name: "ts_1", ns: "config.locks" } c20002| 2018-01-24T19:12:51.880-0800 I INDEX [rsSync] building index using bulk method; build may temporarily use up to 500 megabytes of RAM c20002| 2018-01-24T19:12:51.885-0800 I INDEX [rsSync] build index done. scanned 0 total records. 0 secs c20002| 2018-01-24T19:12:51.893-0800 I INDEX [rsSync] build index on: config.locks properties: { v: 2, key: { state: 1, process: 1 }, name: "state_1_process_1", ns: "config.locks" } c20002| 2018-01-24T19:12:51.893-0800 I INDEX [rsSync] building index using bulk method; build may temporarily use up to 500 megabytes of RAM c20002| 2018-01-24T19:12:51.899-0800 I INDEX [rsSync] build index done. scanned 0 total records. 0 secs c20002| 2018-01-24T19:12:51.926-0800 I INDEX [rsSync] build index on: config.lockpings properties: { v: 2, key: { ping: 1 }, name: "ping_1", ns: "config.lockpings" } c20002| 2018-01-24T19:12:51.926-0800 I INDEX [rsSync] building index using bulk method; build may temporarily use up to 500 megabytes of RAM c20002| 2018-01-24T19:12:51.930-0800 I INDEX [rsSync] build index done. scanned 0 total records. 0 secs c20002| 2018-01-24T19:12:51.963-0800 I INDEX [rsSync] build index on: config.tags properties: { v: 2, unique: true, key: { ns: 1, min: 1 }, name: "ns_1_min_1", ns: "config.tags" } c20002| 2018-01-24T19:12:51.963-0800 I INDEX [rsSync] building index using bulk method; build may temporarily use up to 500 megabytes of RAM c20002| 2018-01-24T19:12:51.969-0800 I INDEX [rsSync] build index done. scanned 0 total records. 0 secs c20002| 2018-01-24T19:12:51.981-0800 I INDEX [rsSync] build index on: config.tags properties: { v: 2, key: { ns: 1, tag: 1 }, name: "ns_1_tag_1", ns: "config.tags" } c20002| 2018-01-24T19:12:51.981-0800 I INDEX [rsSync] building index using bulk method; build may temporarily use up to 500 megabytes of RAM c20002| 2018-01-24T19:12:51.986-0800 I INDEX [rsSync] build index done. scanned 0 total records. 0 secs c20002| 2018-01-24T19:12:52.011-0800 I SHARDING [rsSync] distributed lock 'balancer' acquired for 'CSRS Balancer', ts : 5a694b3011d49588fffd8b64 c20002| 2018-01-24T19:12:52.011-0800 I SHARDING [Balancer] CSRS balancer is starting c20002| 2018-01-24T19:12:52.011-0800 I REPL [rsSync] transition to primary complete; database writes are now permitted c20002| 2018-01-24T19:12:52.012-0800 I REPL [ReplicationExecutor] New replica set config in use: { _id: "test-configRS", version: 2, configsvr: true, protocolVersion: 1, members: [ { _id: 0, host: "st-bartle1:20002", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, tags: {}, slaveDelay: 0, votes: 1 }, { _id: 1, host: "st-bartle1:20003", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, tags: {}, slaveDelay: 0, votes: 1 }, { _id: 2, host: "st-bartle1:20004", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, tags: {}, slaveDelay: 0, votes: 1 } ], settings: { chainingAllowed: true, heartbeatIntervalMillis: 2000, heartbeatTimeoutSecs: 10, electionTimeoutMillis: 10000, catchUpTimeoutMillis: 60000, getLastErrorModes: {}, getLastErrorDefaults: { w: 1, wtimeout: 0 }, replicaSetId: ObjectId('5a694b3111d49588fffd8b69') } } c20002| 2018-01-24T19:12:52.012-0800 I REPL [ReplicationExecutor] This node is st-bartle1:20002 in the config c20002| 2018-01-24T19:12:52.012-0800 I COMMAND [conn1] command local.system.replset appName: "MongoDB Shell" command: replSetReconfig { replSetReconfig: { _id: "test-configRS", members: [ { _id: 0.0, host: "st-bartle1:20002" }, { _id: 1.0, host: "st-bartle1:20003" }, { _id: 2.0, host: "st-bartle1:20004" } ], configsvr: true, settings: {}, version: 2.0 } } numYields:0 reslen:102 locks:{ Global: { acquireCount: { r: 3, w: 2, W: 1 }, acquireWaitCount: { w: 1 }, timeAcquiringMicros: { w: 268834 } }, Database: { acquireCount: { w: 1, W: 1 } }, Metadata: { acquireCount: { w: 1 } }, oplog: { acquireCount: { w: 1 } } } protocol:op_command 297ms c20004| 2018-01-24T19:12:52.012-0800 I ASIO [NetworkInterfaceASIO-Replication-0] Connecting to st-bartle1:20002 c20002| 2018-01-24T19:12:52.013-0800 I REPL [ReplicationExecutor] Member st-bartle1:20003 is now in state STARTUP c20002| 2018-01-24T19:12:52.013-0800 I REPL [ReplicationExecutor] Member st-bartle1:20004 is now in state STARTUP c20002| 2018-01-24T19:12:52.015-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61462 #4 (3 connections now open) c20002| 2018-01-24T19:12:52.016-0800 I NETWORK [conn4] received client metadata from 127.0.0.1:61462 conn4: { driver: { name: "NetworkInterfaceASIO-Replication", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } c20004| 2018-01-24T19:12:52.016-0800 I ASIO [NetworkInterfaceASIO-Replication-0] Successfully connected to st-bartle1:20002, took 4ms (1 connections now open to st-bartle1:20002) c20002| 2018-01-24T19:12:52.017-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61463 #5 (4 connections now open) c20002| 2018-01-24T19:12:52.018-0800 I - [conn5] end connection 127.0.0.1:61463 (4 connections now open) c20003| 2018-01-24T19:12:52.018-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61464 #4 (3 connections now open) c20003| 2018-01-24T19:12:52.019-0800 I - [conn4] end connection 127.0.0.1:61464 (3 connections now open) c20004| 2018-01-24T19:12:52.038-0800 I REPL [replExecDBWorker-0] Starting replication snapshot thread c20004| 2018-01-24T19:12:52.038-0800 I REPL [replExecDBWorker-0] Starting replication storage threads c20004| 2018-01-24T19:12:52.081-0800 I REPL [replication-0] Starting initial sync (attempt 1 of 1) c20004| 2018-01-24T19:12:52.081-0800 I REPL [ReplicationExecutor] New replica set config in use: { _id: "test-configRS", version: 2, configsvr: true, protocolVersion: 1, members: [ { _id: 0, host: "st-bartle1:20002", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, tags: {}, slaveDelay: 0, votes: 1 }, { _id: 1, host: "st-bartle1:20003", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, tags: {}, slaveDelay: 0, votes: 1 }, { _id: 2, host: "st-bartle1:20004", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, tags: {}, slaveDelay: 0, votes: 1 } ], settings: { chainingAllowed: true, heartbeatIntervalMillis: 2000, heartbeatTimeoutSecs: 10, electionTimeoutMillis: 10000, catchUpTimeoutMillis: 60000, getLastErrorModes: {}, getLastErrorDefaults: { w: 1, wtimeout: 0 }, replicaSetId: ObjectId('5a694b3111d49588fffd8b69') } } c20004| 2018-01-24T19:12:52.081-0800 I REPL [ReplicationExecutor] This node is st-bartle1:20004 in the config c20004| 2018-01-24T19:12:52.081-0800 I REPL [ReplicationExecutor] transition to STARTUP2 c20004| 2018-01-24T19:12:52.081-0800 I ASIO [NetworkInterfaceASIO-Replication-0] Connecting to st-bartle1:20003 c20004| 2018-01-24T19:12:52.081-0800 I REPL [ReplicationExecutor] Member st-bartle1:20002 is now in state PRIMARY c20003| 2018-01-24T19:12:52.083-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61466 #5 (3 connections now open) c20003| 2018-01-24T19:12:52.083-0800 I NETWORK [conn5] received client metadata from 127.0.0.1:61466 conn5: { driver: { name: "NetworkInterfaceASIO-Replication", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } c20004| 2018-01-24T19:12:52.083-0800 I ASIO [NetworkInterfaceASIO-Replication-0] Successfully connected to st-bartle1:20003, took 2ms (1 connections now open to st-bartle1:20003) c20003| 2018-01-24T19:12:52.084-0800 I ASIO [NetworkInterfaceASIO-Replication-0] Connecting to st-bartle1:20004 c20004| 2018-01-24T19:12:52.084-0800 I REPL [ReplicationExecutor] Member st-bartle1:20003 is now in state STARTUP c20004| 2018-01-24T19:12:52.085-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61468 #4 (3 connections now open) c20004| 2018-01-24T19:12:52.086-0800 I NETWORK [conn4] received client metadata from 127.0.0.1:61468 conn4: { driver: { name: "NetworkInterfaceASIO-Replication", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } c20003| 2018-01-24T19:12:52.086-0800 I ASIO [NetworkInterfaceASIO-Replication-0] Successfully connected to st-bartle1:20004, took 2ms (1 connections now open to st-bartle1:20004) c20002| 2018-01-24T19:12:52.087-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61469 #6 (4 connections now open) c20002| 2018-01-24T19:12:52.088-0800 I - [conn6] end connection 127.0.0.1:61469 (4 connections now open) c20004| 2018-01-24T19:12:52.089-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61470 #5 (4 connections now open) c20004| 2018-01-24T19:12:52.090-0800 I - [conn5] end connection 127.0.0.1:61470 (4 connections now open) c20003| 2018-01-24T19:12:52.123-0800 I REPL [replExecDBWorker-0] Starting replication snapshot thread c20003| 2018-01-24T19:12:52.123-0800 I REPL [replExecDBWorker-0] Starting replication storage threads c20003| 2018-01-24T19:12:52.179-0800 I REPL [replication-0] Starting initial sync (attempt 1 of 1) c20003| 2018-01-24T19:12:52.179-0800 I REPL [ReplicationExecutor] New replica set config in use: { _id: "test-configRS", version: 2, configsvr: true, protocolVersion: 1, members: [ { _id: 0, host: "st-bartle1:20002", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, tags: {}, slaveDelay: 0, votes: 1 }, { _id: 1, host: "st-bartle1:20003", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, tags: {}, slaveDelay: 0, votes: 1 }, { _id: 2, host: "st-bartle1:20004", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, tags: {}, slaveDelay: 0, votes: 1 } ], settings: { chainingAllowed: true, heartbeatIntervalMillis: 2000, heartbeatTimeoutSecs: 10, electionTimeoutMillis: 10000, catchUpTimeoutMillis: 60000, getLastErrorModes: {}, getLastErrorDefaults: { w: 1, wtimeout: 0 }, replicaSetId: ObjectId('5a694b3111d49588fffd8b69') } } c20003| 2018-01-24T19:12:52.180-0800 I REPL [ReplicationExecutor] This node is st-bartle1:20003 in the config c20003| 2018-01-24T19:12:52.180-0800 I REPL [ReplicationExecutor] transition to STARTUP2 c20003| 2018-01-24T19:12:52.180-0800 I REPL [ReplicationExecutor] Member st-bartle1:20002 is now in state PRIMARY c20003| 2018-01-24T19:12:52.180-0800 I REPL [ReplicationExecutor] Member st-bartle1:20004 is now in state STARTUP2 c20003| 2018-01-24T19:12:52.204-0800 I REPL [replication-0] sync source candidate: st-bartle1:20002 c20003| 2018-01-24T19:12:52.204-0800 I STORAGE [replication-0] dropAllDatabasesExceptLocal 1 c20003| 2018-01-24T19:12:52.204-0800 I REPL [replication-0] ****** c20003| 2018-01-24T19:12:52.204-0800 I REPL [replication-0] creating replication oplog of size: 40MB... c20003| 2018-01-24T19:12:52.216-0800 I STORAGE [replication-0] Starting WiredTigerRecordStoreThread local.oplog.rs c20003| 2018-01-24T19:12:52.216-0800 I STORAGE [replication-0] The size storer reports that the oplog contains 0 records totaling to 0 bytes c20003| 2018-01-24T19:12:52.216-0800 I STORAGE [replication-0] Scanning the oplog to determine where to place markers for truncation c20003| 2018-01-24T19:12:52.293-0800 I REPL [replication-0] ****** c20003| 2018-01-24T19:12:52.293-0800 I ASIO [NetworkInterfaceASIO-RS-0] Connecting to st-bartle1:20002 c20002| 2018-01-24T19:12:52.295-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61474 #7 (4 connections now open) c20002| 2018-01-24T19:12:52.295-0800 I NETWORK [conn7] received client metadata from 127.0.0.1:61474 conn7: { driver: { name: "NetworkInterfaceASIO-RS", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } c20003| 2018-01-24T19:12:52.296-0800 I ASIO [NetworkInterfaceASIO-RS-0] Successfully connected to st-bartle1:20002, took 3ms (1 connections now open to st-bartle1:20002) c20003| 2018-01-24T19:12:52.296-0800 I ASIO [NetworkInterfaceASIO-RS-0] Connecting to st-bartle1:20002 c20002| 2018-01-24T19:12:52.298-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61476 #8 (5 connections now open) c20002| 2018-01-24T19:12:52.298-0800 I NETWORK [conn8] received client metadata from 127.0.0.1:61476 conn8: { driver: { name: "NetworkInterfaceASIO-RS", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } c20003| 2018-01-24T19:12:52.298-0800 I ASIO [NetworkInterfaceASIO-RS-0] Successfully connected to st-bartle1:20002, took 2ms (2 connections now open to st-bartle1:20002) c20003| 2018-01-24T19:12:52.299-0800 I REPL [replication-1] CollectionCloner::start called, on ns:admin.system.version c20003| 2018-01-24T19:12:52.324-0800 I INDEX [InitialSyncInserters-admin.system.version0] build index on: admin.system.version properties: { v: 2, key: { version: 1 }, name: "incompatible_with_version_32", ns: "admin.system.version" } c20003| 2018-01-24T19:12:52.325-0800 I INDEX [InitialSyncInserters-admin.system.version0] building index using bulk method; build may temporarily use up to 500 megabytes of RAM c20003| 2018-01-24T19:12:52.336-0800 I INDEX [InitialSyncInserters-admin.system.version0] build index on: admin.system.version properties: { v: 1, key: { _id: 1 }, name: "_id_", ns: "admin.system.version" } c20003| 2018-01-24T19:12:52.336-0800 I INDEX [InitialSyncInserters-admin.system.version0] building index using bulk method; build may temporarily use up to 500 megabytes of RAM c20003| 2018-01-24T19:12:52.337-0800 I COMMAND [InitialSyncInserters-admin.system.version0] setting featureCompatibilityVersion to 3.4 c20003| 2018-01-24T19:12:52.356-0800 I REPL [replication-1] CollectionCloner::start called, on ns:config.shards c20003| 2018-01-24T19:12:52.378-0800 I INDEX [InitialSyncInserters-config.shards0] build index on: config.shards properties: { v: 2, unique: true, key: { host: 1 }, name: "host_1", ns: "config.shards" } c20003| 2018-01-24T19:12:52.378-0800 I INDEX [InitialSyncInserters-config.shards0] building index using bulk method; build may temporarily use up to 500 megabytes of RAM c20003| 2018-01-24T19:12:52.387-0800 I INDEX [InitialSyncInserters-config.shards0] build index on: config.shards properties: { v: 2, key: { _id: 1 }, name: "_id_", ns: "config.shards" } c20003| 2018-01-24T19:12:52.387-0800 I INDEX [InitialSyncInserters-config.shards0] building index using bulk method; build may temporarily use up to 500 megabytes of RAM c20003| 2018-01-24T19:12:52.388-0800 W REPL [repl writer worker 3] _insertDocumentsCallback, but no documents to insert for ns:config.shards c20003| 2018-01-24T19:12:52.397-0800 I REPL [repl writer worker 3] CollectionCloner::start called, on ns:config.chunks c20003| 2018-01-24T19:12:52.416-0800 I INDEX [InitialSyncInserters-config.chunks0] build index on: config.chunks properties: { v: 2, unique: true, key: { ns: 1, min: 1 }, name: "ns_1_min_1", ns: "config.chunks" } c20003| 2018-01-24T19:12:52.416-0800 I INDEX [InitialSyncInserters-config.chunks0] building index using bulk method; build may temporarily use up to 166 megabytes of RAM c20003| 2018-01-24T19:12:52.425-0800 I INDEX [InitialSyncInserters-config.chunks0] build index on: config.chunks properties: { v: 2, unique: true, key: { ns: 1, shard: 1, min: 1 }, name: "ns_1_shard_1_min_1", ns: "config.chunks" } c20003| 2018-01-24T19:12:52.425-0800 I INDEX [InitialSyncInserters-config.chunks0] building index using bulk method; build may temporarily use up to 166 megabytes of RAM c20003| 2018-01-24T19:12:52.435-0800 I INDEX [InitialSyncInserters-config.chunks0] build index on: config.chunks properties: { v: 2, unique: true, key: { ns: 1, lastmod: 1 }, name: "ns_1_lastmod_1", ns: "config.chunks" } c20003| 2018-01-24T19:12:52.435-0800 I INDEX [InitialSyncInserters-config.chunks0] building index using bulk method; build may temporarily use up to 166 megabytes of RAM c20003| 2018-01-24T19:12:52.446-0800 I INDEX [InitialSyncInserters-config.chunks0] build index on: config.chunks properties: { v: 2, key: { _id: 1 }, name: "_id_", ns: "config.chunks" } c20003| 2018-01-24T19:12:52.446-0800 I INDEX [InitialSyncInserters-config.chunks0] building index using bulk method; build may temporarily use up to 500 megabytes of RAM c20003| 2018-01-24T19:12:52.447-0800 W REPL [repl writer worker 5] _insertDocumentsCallback, but no documents to insert for ns:config.chunks c20003| 2018-01-24T19:12:52.469-0800 I REPL [repl writer worker 5] CollectionCloner::start called, on ns:config.version c20003| 2018-01-24T19:12:52.492-0800 I INDEX [InitialSyncInserters-config.version0] build index on: config.version properties: { v: 2, key: { _id: 1 }, name: "_id_", ns: "config.version" } c20003| 2018-01-24T19:12:52.492-0800 I INDEX [InitialSyncInserters-config.version0] building index using bulk method; build may temporarily use up to 500 megabytes of RAM c20003| 2018-01-24T19:12:52.499-0800 I REPL [repl writer worker 7] CollectionCloner::start called, on ns:config.locks c20003| 2018-01-24T19:12:52.521-0800 I INDEX [InitialSyncInserters-config.locks0] build index on: config.locks properties: { v: 2, key: { ts: 1 }, name: "ts_1", ns: "config.locks" } c20003| 2018-01-24T19:12:52.521-0800 I INDEX [InitialSyncInserters-config.locks0] building index using bulk method; build may temporarily use up to 250 megabytes of RAM c20003| 2018-01-24T19:12:52.534-0800 I INDEX [InitialSyncInserters-config.locks0] build index on: config.locks properties: { v: 2, key: { state: 1, process: 1 }, name: "state_1_process_1", ns: "config.locks" } c20003| 2018-01-24T19:12:52.535-0800 I INDEX [InitialSyncInserters-config.locks0] building index using bulk method; build may temporarily use up to 250 megabytes of RAM c20003| 2018-01-24T19:12:52.544-0800 I INDEX [InitialSyncInserters-config.locks0] build index on: config.locks properties: { v: 2, key: { _id: 1 }, name: "_id_", ns: "config.locks" } c20003| 2018-01-24T19:12:52.544-0800 I INDEX [InitialSyncInserters-config.locks0] building index using bulk method; build may temporarily use up to 500 megabytes of RAM c20003| 2018-01-24T19:12:52.560-0800 I REPL [repl writer worker 9] CollectionCloner::start called, on ns:config.tags c20003| 2018-01-24T19:12:52.578-0800 I INDEX [InitialSyncInserters-config.tags0] build index on: config.tags properties: { v: 2, unique: true, key: { ns: 1, min: 1 }, name: "ns_1_min_1", ns: "config.tags" } c20003| 2018-01-24T19:12:52.578-0800 I INDEX [InitialSyncInserters-config.tags0] building index using bulk method; build may temporarily use up to 250 megabytes of RAM c20003| 2018-01-24T19:12:52.587-0800 I INDEX [InitialSyncInserters-config.tags0] build index on: config.tags properties: { v: 2, key: { ns: 1, tag: 1 }, name: "ns_1_tag_1", ns: "config.tags" } c20003| 2018-01-24T19:12:52.587-0800 I INDEX [InitialSyncInserters-config.tags0] building index using bulk method; build may temporarily use up to 250 megabytes of RAM c20003| 2018-01-24T19:12:52.596-0800 I INDEX [InitialSyncInserters-config.tags0] build index on: config.tags properties: { v: 2, key: { _id: 1 }, name: "_id_", ns: "config.tags" } c20003| 2018-01-24T19:12:52.596-0800 I INDEX [InitialSyncInserters-config.tags0] building index using bulk method; build may temporarily use up to 500 megabytes of RAM c20003| 2018-01-24T19:12:52.597-0800 W REPL [repl writer worker 11] _insertDocumentsCallback, but no documents to insert for ns:config.tags c20003| 2018-01-24T19:12:52.613-0800 I REPL [repl writer worker 11] CollectionCloner::start called, on ns:config.migrations c20003| 2018-01-24T19:12:52.642-0800 I INDEX [InitialSyncInserters-config.migrations0] build index on: config.migrations properties: { v: 2, unique: true, key: { ns: 1, min: 1 }, name: "ns_1_min_1", ns: "config.migrations" } c20003| 2018-01-24T19:12:52.642-0800 I INDEX [InitialSyncInserters-config.migrations0] building index using bulk method; build may temporarily use up to 500 megabytes of RAM c20003| 2018-01-24T19:12:52.653-0800 I INDEX [InitialSyncInserters-config.migrations0] build index on: config.migrations properties: { v: 2, key: { _id: 1 }, name: "_id_", ns: "config.migrations" } c20003| 2018-01-24T19:12:52.653-0800 I INDEX [InitialSyncInserters-config.migrations0] building index using bulk method; build may temporarily use up to 500 megabytes of RAM c20003| 2018-01-24T19:12:52.654-0800 W REPL [repl writer worker 12] _insertDocumentsCallback, but no documents to insert for ns:config.migrations c20003| 2018-01-24T19:12:52.665-0800 I REPL [repl writer worker 12] CollectionCloner::start called, on ns:config.lockpings c20003| 2018-01-24T19:12:52.692-0800 I INDEX [InitialSyncInserters-config.lockpings0] build index on: config.lockpings properties: { v: 2, key: { ping: 1 }, name: "ping_1", ns: "config.lockpings" } c20003| 2018-01-24T19:12:52.693-0800 I INDEX [InitialSyncInserters-config.lockpings0] building index using bulk method; build may temporarily use up to 500 megabytes of RAM c20003| 2018-01-24T19:12:52.704-0800 I INDEX [InitialSyncInserters-config.lockpings0] build index on: config.lockpings properties: { v: 2, key: { _id: 1 }, name: "_id_", ns: "config.lockpings" } c20003| 2018-01-24T19:12:52.704-0800 I INDEX [InitialSyncInserters-config.lockpings0] building index using bulk method; build may temporarily use up to 500 megabytes of RAM c20003| 2018-01-24T19:12:52.705-0800 W REPL [repl writer worker 15] _insertDocumentsCallback, but no documents to insert for ns:config.lockpings c20003| 2018-01-24T19:12:52.717-0800 I REPL [replication-1] No need to apply operations. (currently at { : Timestamp 1516849972000|4 }) c20003| 2018-01-24T19:12:52.717-0800 I ASIO [NetworkInterfaceASIO-RS-0] Ending connection to host st-bartle1:20002 due to bad connection status; 1 connections to that host remain open c20003| 2018-01-24T19:12:52.717-0800 I REPL [replication-1] Finished fetching oplog during initial sync: CallbackCanceled: Callback canceled. Last fetched optime and hash: { ts: Timestamp 1516849972000|4, t: 1 }[-4475081268376113757] c20003| 2018-01-24T19:12:52.718-0800 I REPL [replication-1] Initial sync attempt finishing up. c20003| 2018-01-24T19:12:52.718-0800 I REPL [replication-1] Initial Sync Attempt Statistics: { failedInitialSyncAttempts: 0, maxFailedInitialSyncAttempts: 1, initialSyncStart: new Date(1516849972179), initialSyncAttempts: [], fetchedMissingDocs: 0, appliedOps: 0, initialSyncOplogStart: Timestamp 1516849972000|4, initialSyncOplogEnd: Timestamp 1516849972000|4, databases: { databasesCloned: 2, admin: { collections: 1, clonedCollections: 1, start: new Date(1516849972297), end: new Date(1516849972355), elapsedMillis: 58, admin.system.version: { documentsToCopy: 1, documentsCopied: 1, indexes: 2, fetchedBatches: 1, start: new Date(1516849972299), end: new Date(1516849972355), elapsedMillis: 56 } }, config: { collections: 7, clonedCollections: 7, start: new Date(1516849972355), end: new Date(1516849972716), elapsedMillis: 361, config.shards: { documentsToCopy: 0, documentsCopied: 0, indexes: 2, fetchedBatches: 0, start: new Date(1516849972356), end: new Date(1516849972397), elapsedMillis: 41 }, config.chunks: { documentsToCopy: 0, documentsCopied: 0, indexes: 4, fetchedBatches: 0, start: new Date(1516849972397), end: new Date(1516849972469), elapsedMillis: 72 }, config.version: { documentsToCopy: 1, documentsCopied: 1, indexes: 1, fetchedBatches: 1, start: new Date(1516849972469), end: new Date(1516849972499), elapsedMillis: 30 }, config.locks: { documentsToCopy: 1, documentsCopied: 1, indexes: 3, fetchedBatches: 1, start: new Date(1516849972499), end: new Date(1516849972560), elapsedMillis: 61 }, config.tags: { documentsToCopy: 0, documentsCopied: 0, indexes: 3, fetchedBatches: 0, start: new Date(1516849972560), end: new Date(1516849972613), elapsedMillis: 53 }, config.migrations: { documentsToCopy: 0, documentsCopied: 0, indexes: 2, fetchedBatches: 0, start: new Date(1516849972613), end: new Date(1516849972665), elapsedMillis: 52 }, config.lockpings: { documentsToCopy: 0, documentsCopied: 0, indexes: 2, fetchedBatches: 0, start: new Date(1516849972665), end: new Date(1516849972716), elapsedMillis: 51 } } } } c20003| 2018-01-24T19:12:52.730-0800 I REPL [replication-0] initial sync done; took 0s. c20003| 2018-01-24T19:12:52.730-0800 I REPL [replication-0] Starting replication fetcher thread c20003| 2018-01-24T19:12:52.730-0800 I REPL [replication-0] Starting replication applier thread c20003| 2018-01-24T19:12:52.730-0800 I REPL [replication-0] Starting replication reporter thread c20003| 2018-01-24T19:12:52.730-0800 I REPL [rsSync] transition to RECOVERING c20003| 2018-01-24T19:12:52.730-0800 I REPL [rsBackgroundSync] could not find member to sync from c20003| 2018-01-24T19:12:52.731-0800 I REPL [rsSync] transition to SECONDARY c20002| 2018-01-24T19:12:54.018-0800 I REPL [ReplicationExecutor] Member st-bartle1:20003 is now in state SECONDARY c20002| 2018-01-24T19:12:54.018-0800 I REPL [ReplicationExecutor] Member st-bartle1:20004 is now in state STARTUP2 c20002| 2018-01-24T19:12:54.018-0800 I COMMAND [Balancer] command config.locks command: findAndModify { findAndModify: "locks", query: { _id: "balancer", state: 0 }, update: { $set: { ts: ObjectId('5a694b3011d49588fffd8b64'), state: 2, who: "ConfigServer:Balancer", process: "ConfigServer", when: new Date(1516849972011), why: "CSRS Balancer" } }, upsert: true, new: true, writeConcern: { w: "majority", wtimeout: 15000 } } planSummary: IXSCAN { _id: 1 } update: { $set: { ts: ObjectId('5a694b3011d49588fffd8b64'), state: 2, who: "ConfigServer:Balancer", process: "ConfigServer", when: new Date(1516849972011), why: "CSRS Balancer" } } exception: E11000 duplicate key error collection: config.locks index: _id_ dup key: { : "balancer" } code:11000 numYields:0 reslen:256 locks:{ Global: { acquireCount: { r: 1, w: 1 } }, Database: { acquireCount: { w: 1 } }, Collection: { acquireCount: { w: 1 } } } protocol:op_query 2006ms c20002| 2018-01-24T19:12:54.018-0800 I - [conn7] end connection 127.0.0.1:61474 (5 connections now open) c20004| 2018-01-24T19:12:57.085-0800 I REPL [ReplicationExecutor] Member st-bartle1:20003 is now in state SECONDARY c20004| 2018-01-24T19:12:57.151-0800 I REPL [replication-1] sync source candidate: st-bartle1:20003 c20004| 2018-01-24T19:12:57.151-0800 I STORAGE [replication-1] dropAllDatabasesExceptLocal 1 c20004| 2018-01-24T19:12:57.151-0800 I REPL [replication-1] ****** c20004| 2018-01-24T19:12:57.151-0800 I REPL [replication-1] creating replication oplog of size: 40MB... c20004| 2018-01-24T19:12:57.162-0800 I STORAGE [replication-1] Starting WiredTigerRecordStoreThread local.oplog.rs c20004| 2018-01-24T19:12:57.162-0800 I STORAGE [replication-1] The size storer reports that the oplog contains 0 records totaling to 0 bytes c20004| 2018-01-24T19:12:57.162-0800 I STORAGE [replication-1] Scanning the oplog to determine where to place markers for truncation c20004| 2018-01-24T19:12:57.233-0800 I REPL [replication-1] ****** c20004| 2018-01-24T19:12:57.233-0800 I ASIO [NetworkInterfaceASIO-RS-0] Connecting to st-bartle1:20003 c20003| 2018-01-24T19:12:57.235-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61483 #6 (4 connections now open) c20003| 2018-01-24T19:12:57.235-0800 I NETWORK [conn6] received client metadata from 127.0.0.1:61483 conn6: { driver: { name: "NetworkInterfaceASIO-RS", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } c20004| 2018-01-24T19:12:57.235-0800 I ASIO [NetworkInterfaceASIO-RS-0] Successfully connected to st-bartle1:20003, took 2ms (1 connections now open to st-bartle1:20003) c20004| 2018-01-24T19:12:57.235-0800 I ASIO [NetworkInterfaceASIO-RS-0] Connecting to st-bartle1:20003 c20003| 2018-01-24T19:12:57.237-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61485 #7 (5 connections now open) c20003| 2018-01-24T19:12:57.237-0800 I NETWORK [conn7] received client metadata from 127.0.0.1:61485 conn7: { driver: { name: "NetworkInterfaceASIO-RS", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } c20004| 2018-01-24T19:12:57.237-0800 I ASIO [NetworkInterfaceASIO-RS-0] Successfully connected to st-bartle1:20003, took 2ms (2 connections now open to st-bartle1:20003) c20004| 2018-01-24T19:12:57.238-0800 I REPL [replication-0] CollectionCloner::start called, on ns:admin.system.version c20004| 2018-01-24T19:12:57.253-0800 I INDEX [InitialSyncInserters-admin.system.version0] build index on: admin.system.version properties: { v: 2, key: { version: 1 }, name: "incompatible_with_version_32", ns: "admin.system.version" } c20004| 2018-01-24T19:12:57.253-0800 I INDEX [InitialSyncInserters-admin.system.version0] building index using bulk method; build may temporarily use up to 500 megabytes of RAM c20004| 2018-01-24T19:12:57.261-0800 I INDEX [InitialSyncInserters-admin.system.version0] build index on: admin.system.version properties: { v: 1, key: { _id: 1 }, name: "_id_", ns: "admin.system.version" } c20004| 2018-01-24T19:12:57.261-0800 I INDEX [InitialSyncInserters-admin.system.version0] building index using bulk method; build may temporarily use up to 500 megabytes of RAM c20004| 2018-01-24T19:12:57.261-0800 I COMMAND [InitialSyncInserters-admin.system.version0] setting featureCompatibilityVersion to 3.4 c20004| 2018-01-24T19:12:57.274-0800 I REPL [replication-0] CollectionCloner::start called, on ns:config.shards c20004| 2018-01-24T19:12:57.291-0800 I INDEX [InitialSyncInserters-config.shards0] build index on: config.shards properties: { v: 2, unique: true, key: { host: 1 }, name: "host_1", ns: "config.shards" } c20004| 2018-01-24T19:12:57.291-0800 I INDEX [InitialSyncInserters-config.shards0] building index using bulk method; build may temporarily use up to 500 megabytes of RAM c20004| 2018-01-24T19:12:57.300-0800 I INDEX [InitialSyncInserters-config.shards0] build index on: config.shards properties: { v: 2, key: { _id: 1 }, name: "_id_", ns: "config.shards" } c20004| 2018-01-24T19:12:57.300-0800 I INDEX [InitialSyncInserters-config.shards0] building index using bulk method; build may temporarily use up to 500 megabytes of RAM c20004| 2018-01-24T19:12:57.301-0800 W REPL [repl writer worker 3] _insertDocumentsCallback, but no documents to insert for ns:config.shards c20004| 2018-01-24T19:12:57.310-0800 I REPL [repl writer worker 3] CollectionCloner::start called, on ns:config.chunks c20004| 2018-01-24T19:12:57.331-0800 I INDEX [InitialSyncInserters-config.chunks0] build index on: config.chunks properties: { v: 2, unique: true, key: { ns: 1, min: 1 }, name: "ns_1_min_1", ns: "config.chunks" } c20004| 2018-01-24T19:12:57.331-0800 I INDEX [InitialSyncInserters-config.chunks0] building index using bulk method; build may temporarily use up to 166 megabytes of RAM c20004| 2018-01-24T19:12:57.342-0800 I INDEX [InitialSyncInserters-config.chunks0] build index on: config.chunks properties: { v: 2, unique: true, key: { ns: 1, shard: 1, min: 1 }, name: "ns_1_shard_1_min_1", ns: "config.chunks" } c20004| 2018-01-24T19:12:57.342-0800 I INDEX [InitialSyncInserters-config.chunks0] building index using bulk method; build may temporarily use up to 166 megabytes of RAM c20004| 2018-01-24T19:12:57.352-0800 I INDEX [InitialSyncInserters-config.chunks0] build index on: config.chunks properties: { v: 2, unique: true, key: { ns: 1, lastmod: 1 }, name: "ns_1_lastmod_1", ns: "config.chunks" } c20004| 2018-01-24T19:12:57.352-0800 I INDEX [InitialSyncInserters-config.chunks0] building index using bulk method; build may temporarily use up to 166 megabytes of RAM c20004| 2018-01-24T19:12:57.363-0800 I INDEX [InitialSyncInserters-config.chunks0] build index on: config.chunks properties: { v: 2, key: { _id: 1 }, name: "_id_", ns: "config.chunks" } c20004| 2018-01-24T19:12:57.363-0800 I INDEX [InitialSyncInserters-config.chunks0] building index using bulk method; build may temporarily use up to 500 megabytes of RAM c20004| 2018-01-24T19:12:57.363-0800 W REPL [repl writer worker 5] _insertDocumentsCallback, but no documents to insert for ns:config.chunks c20004| 2018-01-24T19:12:57.386-0800 I REPL [repl writer worker 5] CollectionCloner::start called, on ns:config.version c20004| 2018-01-24T19:12:57.401-0800 I INDEX [InitialSyncInserters-config.version0] build index on: config.version properties: { v: 2, key: { _id: 1 }, name: "_id_", ns: "config.version" } c20004| 2018-01-24T19:12:57.401-0800 I INDEX [InitialSyncInserters-config.version0] building index using bulk method; build may temporarily use up to 500 megabytes of RAM c20004| 2018-01-24T19:12:57.406-0800 I REPL [repl writer worker 7] CollectionCloner::start called, on ns:config.locks c20004| 2018-01-24T19:12:57.422-0800 I INDEX [InitialSyncInserters-config.locks0] build index on: config.locks properties: { v: 2, key: { ts: 1 }, name: "ts_1", ns: "config.locks" } c20004| 2018-01-24T19:12:57.422-0800 I INDEX [InitialSyncInserters-config.locks0] building index using bulk method; build may temporarily use up to 250 megabytes of RAM c20004| 2018-01-24T19:12:57.430-0800 I INDEX [InitialSyncInserters-config.locks0] build index on: config.locks properties: { v: 2, key: { state: 1, process: 1 }, name: "state_1_process_1", ns: "config.locks" } c20004| 2018-01-24T19:12:57.430-0800 I INDEX [InitialSyncInserters-config.locks0] building index using bulk method; build may temporarily use up to 250 megabytes of RAM c20004| 2018-01-24T19:12:57.438-0800 I INDEX [InitialSyncInserters-config.locks0] build index on: config.locks properties: { v: 2, key: { _id: 1 }, name: "_id_", ns: "config.locks" } c20004| 2018-01-24T19:12:57.439-0800 I INDEX [InitialSyncInserters-config.locks0] building index using bulk method; build may temporarily use up to 500 megabytes of RAM c20004| 2018-01-24T19:12:57.454-0800 I REPL [repl writer worker 9] CollectionCloner::start called, on ns:config.tags c20004| 2018-01-24T19:12:57.474-0800 I INDEX [InitialSyncInserters-config.tags0] build index on: config.tags properties: { v: 2, unique: true, key: { ns: 1, min: 1 }, name: "ns_1_min_1", ns: "config.tags" } c20004| 2018-01-24T19:12:57.474-0800 I INDEX [InitialSyncInserters-config.tags0] building index using bulk method; build may temporarily use up to 250 megabytes of RAM c20004| 2018-01-24T19:12:57.487-0800 I INDEX [InitialSyncInserters-config.tags0] build index on: config.tags properties: { v: 2, key: { ns: 1, tag: 1 }, name: "ns_1_tag_1", ns: "config.tags" } c20004| 2018-01-24T19:12:57.487-0800 I INDEX [InitialSyncInserters-config.tags0] building index using bulk method; build may temporarily use up to 250 megabytes of RAM c20004| 2018-01-24T19:12:57.496-0800 I INDEX [InitialSyncInserters-config.tags0] build index on: config.tags properties: { v: 2, key: { _id: 1 }, name: "_id_", ns: "config.tags" } c20004| 2018-01-24T19:12:57.496-0800 I INDEX [InitialSyncInserters-config.tags0] building index using bulk method; build may temporarily use up to 500 megabytes of RAM c20004| 2018-01-24T19:12:57.497-0800 W REPL [repl writer worker 11] _insertDocumentsCallback, but no documents to insert for ns:config.tags c20004| 2018-01-24T19:12:57.511-0800 I REPL [repl writer worker 11] CollectionCloner::start called, on ns:config.migrations c20004| 2018-01-24T19:12:57.528-0800 I INDEX [InitialSyncInserters-config.migrations0] build index on: config.migrations properties: { v: 2, unique: true, key: { ns: 1, min: 1 }, name: "ns_1_min_1", ns: "config.migrations" } c20004| 2018-01-24T19:12:57.528-0800 I INDEX [InitialSyncInserters-config.migrations0] building index using bulk method; build may temporarily use up to 500 megabytes of RAM c20004| 2018-01-24T19:12:57.536-0800 I INDEX [InitialSyncInserters-config.migrations0] build index on: config.migrations properties: { v: 2, key: { _id: 1 }, name: "_id_", ns: "config.migrations" } c20004| 2018-01-24T19:12:57.536-0800 I INDEX [InitialSyncInserters-config.migrations0] building index using bulk method; build may temporarily use up to 500 megabytes of RAM c20004| 2018-01-24T19:12:57.536-0800 W REPL [repl writer worker 13] _insertDocumentsCallback, but no documents to insert for ns:config.migrations c20004| 2018-01-24T19:12:57.544-0800 I REPL [repl writer worker 13] CollectionCloner::start called, on ns:config.lockpings c20004| 2018-01-24T19:12:57.560-0800 I INDEX [InitialSyncInserters-config.lockpings0] build index on: config.lockpings properties: { v: 2, key: { ping: 1 }, name: "ping_1", ns: "config.lockpings" } c20004| 2018-01-24T19:12:57.561-0800 I INDEX [InitialSyncInserters-config.lockpings0] building index using bulk method; build may temporarily use up to 500 megabytes of RAM c20004| 2018-01-24T19:12:57.569-0800 I INDEX [InitialSyncInserters-config.lockpings0] build index on: config.lockpings properties: { v: 2, key: { _id: 1 }, name: "_id_", ns: "config.lockpings" } c20004| 2018-01-24T19:12:57.569-0800 I INDEX [InitialSyncInserters-config.lockpings0] building index using bulk method; build may temporarily use up to 500 megabytes of RAM c20004| 2018-01-24T19:12:57.569-0800 W REPL [repl writer worker 15] _insertDocumentsCallback, but no documents to insert for ns:config.lockpings c20004| 2018-01-24T19:12:57.581-0800 I REPL [replication-0] No need to apply operations. (currently at { : Timestamp 1516849972000|4 }) c20004| 2018-01-24T19:12:57.582-0800 I ASIO [NetworkInterfaceASIO-RS-0] Ending connection to host st-bartle1:20003 due to bad connection status; 1 connections to that host remain open c20004| 2018-01-24T19:12:57.582-0800 I REPL [replication-0] Finished fetching oplog during initial sync: CallbackCanceled: Callback canceled. Last fetched optime and hash: { ts: Timestamp 1516849972000|4, t: 1 }[-4475081268376113757] c20004| 2018-01-24T19:12:57.582-0800 I REPL [replication-0] Initial sync attempt finishing up. c20004| 2018-01-24T19:12:57.582-0800 I REPL [replication-0] Initial Sync Attempt Statistics: { failedInitialSyncAttempts: 0, maxFailedInitialSyncAttempts: 1, initialSyncStart: new Date(1516849972081), initialSyncAttempts: [], fetchedMissingDocs: 0, appliedOps: 0, initialSyncOplogStart: Timestamp 1516849972000|4, initialSyncOplogEnd: Timestamp 1516849972000|4, databases: { databasesCloned: 2, admin: { collections: 1, clonedCollections: 1, start: new Date(1516849977236), end: new Date(1516849977274), elapsedMillis: 38, admin.system.version: { documentsToCopy: 1, documentsCopied: 1, indexes: 2, fetchedBatches: 1, start: new Date(1516849977238), end: new Date(1516849977274), elapsedMillis: 36 } }, config: { collections: 7, clonedCollections: 7, start: new Date(1516849977274), end: new Date(1516849977580), elapsedMillis: 306, config.shards: { documentsToCopy: 0, documentsCopied: 0, indexes: 2, fetchedBatches: 0, start: new Date(1516849977274), end: new Date(1516849977310), elapsedMillis: 36 }, config.chunks: { documentsToCopy: 0, documentsCopied: 0, indexes: 4, fetchedBatches: 0, start: new Date(1516849977310), end: new Date(1516849977386), elapsedMillis: 76 }, config.version: { documentsToCopy: 1, documentsCopied: 1, indexes: 1, fetchedBatches: 1, start: new Date(1516849977386), end: new Date(1516849977407), elapsedMillis: 21 }, config.locks: { documentsToCopy: 1, documentsCopied: 1, indexes: 3, fetchedBatches: 1, start: new Date(1516849977407), end: new Date(1516849977454), elapsedMillis: 47 }, config.tags: { documentsToCopy: 0, documentsCopied: 0, indexes: 3, fetchedBatches: 0, start: new Date(1516849977454), end: new Date(1516849977511), elapsedMillis: 57 }, config.migrations: { documentsToCopy: 0, documentsCopied: 0, indexes: 2, fetchedBatches: 0, start: new Date(1516849977511), end: new Date(1516849977544), elapsedMillis: 33 }, config.lockpings: { documentsToCopy: 0, documentsCopied: 0, indexes: 2, fetchedBatches: 0, start: new Date(1516849977544), end: new Date(1516849977580), elapsedMillis: 36 } } } } c20004| 2018-01-24T19:12:57.602-0800 I REPL [replication-0] initial sync done; took 5s. c20004| 2018-01-24T19:12:57.602-0800 I REPL [replication-0] Starting replication fetcher thread c20004| 2018-01-24T19:12:57.602-0800 I REPL [replication-0] Starting replication applier thread c20004| 2018-01-24T19:12:57.602-0800 I REPL [replication-0] Starting replication reporter thread c20004| 2018-01-24T19:12:57.602-0800 I REPL [rsSync] transition to RECOVERING c20004| 2018-01-24T19:12:57.602-0800 I REPL [rsBackgroundSync] sync source candidate: st-bartle1:20002 c20004| 2018-01-24T19:12:57.602-0800 I ASIO [NetworkInterfaceASIO-RS-0] Connecting to st-bartle1:20002 c20004| 2018-01-24T19:12:57.603-0800 I REPL [rsSync] transition to SECONDARY c20002| 2018-01-24T19:12:57.604-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61487 #9 (5 connections now open) c20002| 2018-01-24T19:12:57.605-0800 I NETWORK [conn9] received client metadata from 127.0.0.1:61487 conn9: { driver: { name: "NetworkInterfaceASIO-RS", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } c20004| 2018-01-24T19:12:57.605-0800 I ASIO [NetworkInterfaceASIO-RS-0] Successfully connected to st-bartle1:20002, took 3ms (1 connections now open to st-bartle1:20002) c20004| 2018-01-24T19:12:57.606-0800 I REPL [rsBackgroundSync] scheduling fetcher to read remote oplog on st-bartle1:20002 starting at filter: { ts: { $gte: Timestamp 1516849972000|4 } } c20004| 2018-01-24T19:12:57.606-0800 I ASIO [NetworkInterfaceASIO-RS-0] Connecting to st-bartle1:20002 c20002| 2018-01-24T19:12:57.607-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61489 #10 (6 connections now open) c20002| 2018-01-24T19:12:57.608-0800 I NETWORK [conn10] received client metadata from 127.0.0.1:61489 conn10: { driver: { name: "NetworkInterfaceASIO-RS", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } c20004| 2018-01-24T19:12:57.608-0800 I ASIO [NetworkInterfaceASIO-RS-0] Successfully connected to st-bartle1:20002, took 2ms (2 connections now open to st-bartle1:20002) c20002| 2018-01-24T19:12:57.612-0800 I COMMAND [Balancer] command config.locks command: findAndModify { findAndModify: "locks", query: { $or: [ { _id: "balancer", state: 0 }, { _id: "balancer", ts: ObjectId('5a694b3011d49588fffd8b64') } ] }, update: { $set: { ts: ObjectId('5a694b3011d49588fffd8b64'), state: 2, who: "ConfigServer:Balancer", process: "ConfigServer", when: new Date(1516849974019), why: "CSRS Balancer" } }, new: true, writeConcern: { w: "majority", wtimeout: 15000 } } planSummary: IXSCAN { _id: 1 } update: { $set: { ts: ObjectId('5a694b3011d49588fffd8b64'), state: 2, who: "ConfigServer:Balancer", process: "ConfigServer", when: new Date(1516849974019), why: "CSRS Balancer" } } keysExamined:1 docsExamined:1 nMatched:1 nModified:1 numYields:0 reslen:315 locks:{ Global: { acquireCount: { r: 9, w: 3 } }, Database: { acquireCount: { r: 2, w: 3 } }, Collection: { acquireCount: { r: 2, w: 2 } }, Metadata: { acquireCount: { w: 1 } }, oplog: { acquireCount: { w: 1 } } } protocol:op_query 3593ms c20002| 2018-01-24T19:12:57.612-0800 I SHARDING [Balancer] lock 'balancer' successfully forced c20002| 2018-01-24T19:12:57.612-0800 I SHARDING [Balancer] distributed lock 'balancer' acquired, ts : 5a694b3011d49588fffd8b64 c20002| 2018-01-24T19:12:57.613-0800 I SHARDING [Balancer] CSRS balancer thread is recovering c20002| 2018-01-24T19:12:57.613-0800 I SHARDING [Balancer] CSRS balancer thread is recovered c20003| 2018-01-24T19:12:57.734-0800 I REPL [ReplicationExecutor] Member st-bartle1:20004 is now in state SECONDARY "Config servers: test-configRS/st-bartle1:20002,st-bartle1:20003,st-bartle1:20004" c20003| 2018-01-24T19:12:57.739-0800 I REPL [rsBackgroundSync] sync source candidate: st-bartle1:20004 c20003| 2018-01-24T19:12:57.739-0800 I ASIO [NetworkInterfaceASIO-RS-0] Connecting to st-bartle1:20004 c20004| 2018-01-24T19:12:57.742-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61491 #6 (4 connections now open) c20004| 2018-01-24T19:12:57.742-0800 I NETWORK [conn6] received client metadata from 127.0.0.1:61491 conn6: { driver: { name: "NetworkInterfaceASIO-RS", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } c20003| 2018-01-24T19:12:57.743-0800 I ASIO [NetworkInterfaceASIO-RS-0] Successfully connected to st-bartle1:20004, took 4ms (1 connections now open to st-bartle1:20004) c20003| 2018-01-24T19:12:57.744-0800 I REPL [rsBackgroundSync] scheduling fetcher to read remote oplog on st-bartle1:20004 starting at filter: { ts: { $gte: Timestamp 1516849972000|4 } } c20003| 2018-01-24T19:12:57.744-0800 I ASIO [NetworkInterfaceASIO-RS-0] Connecting to st-bartle1:20004 c20004| 2018-01-24T19:12:57.747-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61493 #7 (5 connections now open) c20004| 2018-01-24T19:12:57.747-0800 I NETWORK [conn7] received client metadata from 127.0.0.1:61493 conn7: { driver: { name: "NetworkInterfaceASIO-RS", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } c20003| 2018-01-24T19:12:57.747-0800 I - [conn6] end connection 127.0.0.1:61483 (5 connections now open) c20003| 2018-01-24T19:12:57.748-0800 I ASIO [NetworkInterfaceASIO-RS-0] Successfully connected to st-bartle1:20004, took 4ms (2 connections now open to st-bartle1:20004) 2018-01-24T19:12:57.927-0800 I NETWORK [thread1] Starting new replica set monitor for test-configRS/st-bartle1:20002,st-bartle1:20003,st-bartle1:20004 c20004| 2018-01-24T19:12:57.929-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61494 #8 (6 connections now open) c20002| 2018-01-24T19:12:57.929-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61495 #11 (7 connections now open) c20004| 2018-01-24T19:12:57.929-0800 I NETWORK [conn8] received client metadata from 127.0.0.1:61494 conn8: { driver: { name: "MongoDB Internal Client", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } c20002| 2018-01-24T19:12:57.929-0800 I NETWORK [conn11] received client metadata from 127.0.0.1:61495 conn11: { driver: { name: "MongoDB Internal Client", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } 2018-01-24T19:12:57.929-0800 I NETWORK [thread1] Successfully connected to st-bartle1:20004 (1 connections now open to st-bartle1:20004 with a 5 second timeout) 2018-01-24T19:12:57.929-0800 I NETWORK [ReplicaSetMonitor-TaskExecutor-0] Successfully connected to st-bartle1:20002 (1 connections now open to st-bartle1:20002 with a 5 second timeout) c20003| 2018-01-24T19:12:57.930-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61496 #8 (5 connections now open) c20003| 2018-01-24T19:12:57.930-0800 I NETWORK [conn8] received client metadata from 127.0.0.1:61496 conn8: { driver: { name: "MongoDB Internal Client", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } 2018-01-24T19:12:57.931-0800 I NETWORK [thread1] Successfully connected to st-bartle1:20003 (1 connections now open to st-bartle1:20003 with a 5 second timeout) ShardingTest test : { "config" : "test-configRS/st-bartle1:20002,st-bartle1:20003,st-bartle1:20004", "shards" : [ connection to st-bartle1:20000, connection to st-bartle1:20001 ] } 2018-01-24T19:12:57.934-0800 I - [thread1] shell: started program (sh72360): /usr/local/opt/mongodb@3.4/bin/mongos -v --port 20005 --configdb test-configRS/st-bartle1:20002,st-bartle1:20003,st-bartle1:20004 --setParameter enableTestCommands=1 --setParameter logComponentVerbosity={tracking:1} 2018-01-24T19:12:57.935-0800 W NETWORK [thread1] Failed to connect to 127.0.0.1:20005, in(checking socket for error after poll), reason: Connection refused s20005| 2018-01-24T19:12:57.982-0800 I CONTROL [main] s20005| 2018-01-24T19:12:57.983-0800 I CONTROL [main] ** WARNING: Access control is not enabled for the database. s20005| 2018-01-24T19:12:57.983-0800 I CONTROL [main] ** Read and write access to data and configuration is unrestricted. s20005| 2018-01-24T19:12:57.983-0800 I CONTROL [main] s20005| 2018-01-24T19:12:57.983-0800 I SHARDING [mongosMain] mongos version v3.4.10 s20005| 2018-01-24T19:12:57.983-0800 I CONTROL [mongosMain] git version: 078f28920cb24de0dd479b5ea6c66c644f6326e9 s20005| 2018-01-24T19:12:57.983-0800 I CONTROL [mongosMain] OpenSSL version: OpenSSL 1.0.2n 7 Dec 2017 s20005| 2018-01-24T19:12:57.983-0800 I CONTROL [mongosMain] allocator: system s20005| 2018-01-24T19:12:57.983-0800 I CONTROL [mongosMain] modules: none s20005| 2018-01-24T19:12:57.983-0800 I CONTROL [mongosMain] build environment: s20005| 2018-01-24T19:12:57.983-0800 I CONTROL [mongosMain] distarch: x86_64 s20005| 2018-01-24T19:12:57.983-0800 I CONTROL [mongosMain] target_arch: x86_64 s20005| 2018-01-24T19:12:57.983-0800 I CONTROL [mongosMain] db version v3.4.10 s20005| 2018-01-24T19:12:57.983-0800 I CONTROL [mongosMain] git version: 078f28920cb24de0dd479b5ea6c66c644f6326e9 s20005| 2018-01-24T19:12:57.983-0800 I CONTROL [mongosMain] OpenSSL version: OpenSSL 1.0.2n 7 Dec 2017 s20005| 2018-01-24T19:12:57.983-0800 I CONTROL [mongosMain] allocator: system s20005| 2018-01-24T19:12:57.983-0800 I CONTROL [mongosMain] modules: none s20005| 2018-01-24T19:12:57.983-0800 I CONTROL [mongosMain] build environment: s20005| 2018-01-24T19:12:57.983-0800 I CONTROL [mongosMain] distarch: x86_64 s20005| 2018-01-24T19:12:57.983-0800 I CONTROL [mongosMain] target_arch: x86_64 s20005| 2018-01-24T19:12:57.983-0800 I CONTROL [mongosMain] options: { net: { port: 20005 }, setParameter: { enableTestCommands: "1", logComponentVerbosity: "{tracking:1}" }, sharding: { configDB: "test-configRS/st-bartle1:20002,st-bartle1:20003,st-bartle1:20004" }, systemLog: { verbosity: 1 } } s20005| 2018-01-24T19:12:57.983-0800 D NETWORK [mongosMain] fd limit hard:9223372036854775807 soft:7168 max conn: 5734 s20005| 2018-01-24T19:12:57.998-0800 D NETWORK [mongosMain] Starting up task executor for monitoring replica sets in response to request to monitor set: test-configRS/st-bartle1:20002,st-bartle1:20003,st-bartle1:20004 s20005| 2018-01-24T19:12:57.998-0800 I NETWORK [mongosMain] Starting new replica set monitor for test-configRS/st-bartle1:20002,st-bartle1:20003,st-bartle1:20004 s20005| 2018-01-24T19:12:57.998-0800 D NETWORK [mongosMain] Started targeter for test-configRS/st-bartle1:20002,st-bartle1:20003,st-bartle1:20004 s20005| 2018-01-24T19:12:57.999-0800 D NETWORK [ReplicaSetMonitor-TaskExecutor-0] creating new connection to:st-bartle1:20004 s20005| 2018-01-24T19:12:57.999-0800 D SHARDING [mongosMain] Starting up task executor for periodic reloading of ShardRegistry s20005| 2018-01-24T19:12:57.999-0800 D NETWORK [mongosMain] creating new connection to:st-bartle1:20002 s20005| 2018-01-24T19:12:57.999-0800 D SHARDING [ShardRegistryUpdater-0] Reloading shardRegistry s20005| 2018-01-24T19:12:57.999-0800 I SHARDING [thread1] creating distributed lock ping thread for process st-bartle1:20005:1516849977:5275881621408687346 (sleeping for 30000ms) s20005| 2018-01-24T19:12:57.999-0800 D NETWORK [shard registry reload] creating new connection to:st-bartle1:20003 s20005| 2018-01-24T19:12:58.000-0800 D NETWORK [shard registry reload] connected to server st-bartle1:20003 (127.0.0.1) s20005| 2018-01-24T19:12:58.000-0800 D NETWORK [mongosMain] connected to server st-bartle1:20002 (127.0.0.1) s20005| 2018-01-24T19:12:58.000-0800 D NETWORK [ReplicaSetMonitor-TaskExecutor-0] connected to server st-bartle1:20004 (127.0.0.1) c20002| 2018-01-24T19:12:58.000-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61499 #12 (8 connections now open) c20004| 2018-01-24T19:12:58.001-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61501 #9 (7 connections now open) s20005| 2018-01-24T19:12:58.001-0800 D NETWORK [mongosMain] connected connection! c20002| 2018-01-24T19:12:58.001-0800 I NETWORK [conn12] received client metadata from 127.0.0.1:61499 conn12: { driver: { name: "MongoDB Internal Client", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } c20003| 2018-01-24T19:12:58.001-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61498 #9 (6 connections now open) c20004| 2018-01-24T19:12:58.001-0800 I NETWORK [conn9] received client metadata from 127.0.0.1:61501 conn9: { driver: { name: "MongoDB Internal Client", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } c20003| 2018-01-24T19:12:58.001-0800 I NETWORK [conn9] received client metadata from 127.0.0.1:61498 conn9: { driver: { name: "MongoDB Internal Client", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } s20005| 2018-01-24T19:12:58.001-0800 D NETWORK [ReplicaSetMonitor-TaskExecutor-0] connected connection! s20005| 2018-01-24T19:12:58.001-0800 D NETWORK [shard registry reload] connected connection! s20005| 2018-01-24T19:12:58.001-0800 I NETWORK [mongosMain] Successfully connected to st-bartle1:20002 (1 connections now open to st-bartle1:20002 with a 5 second timeout) c20002| 2018-01-24T19:12:58.004-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61503 #13 (9 connections now open) c20003| 2018-01-24T19:12:58.012-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61505 #10 (7 connections now open) c20004| 2018-01-24T19:12:58.016-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61509 #10 (8 connections now open) s20005| 2018-01-24T19:12:58.001-0800 I NETWORK [ReplicaSetMonitor-TaskExecutor-0] Successfully connected to st-bartle1:20004 (1 connections now open to st-bartle1:20004 with a 5 second timeout) c20002| 2018-01-24T19:12:58.004-0800 I NETWORK [conn13] received client metadata from 127.0.0.1:61503 conn13: { driver: { name: "NetworkInterfaceASIO-ShardRegistry", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } c20003| 2018-01-24T19:12:58.012-0800 I NETWORK [conn10] received client metadata from 127.0.0.1:61505 conn10: { driver: { name: "NetworkInterfaceASIO-ShardRegistry", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } c20004| 2018-01-24T19:12:58.017-0800 I NETWORK [conn10] received client metadata from 127.0.0.1:61509 conn10: { driver: { name: "NetworkInterfaceASIO-ShardRegistry", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } s20005| 2018-01-24T19:12:58.001-0800 I NETWORK [shard registry reload] Successfully connected to st-bartle1:20003 (1 connections now open to st-bartle1:20003 with a 5 second timeout) c20002| 2018-01-24T19:12:58.009-0800 D TRACKING [conn13] Cmd: findAndModify, TrackingId: 5a694b3a63764b2fc2e392f4|5a694b3a63764b2fc2e392f6 c20003| 2018-01-24T19:12:58.013-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b3a63764b2fc2e392f7|5a694b3a63764b2fc2e392f8 c20004| 2018-01-24T19:12:58.018-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b3a63764b2fc2e392f3|5a694b3a63764b2fc2e392f9 s20005| 2018-01-24T19:12:58.002-0800 D TRACKING [mongosMain] Cmd: NotSet, TrackingId: 5a694b3a63764b2fc2e392f3 c20002| 2018-01-24T19:12:58.013-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61507 #14 (10 connections now open) s20005| 2018-01-24T19:12:58.002-0800 D TRACKING [replSetDistLockPinger] Cmd: NotSet, TrackingId: 5a694b3a63764b2fc2e392f4 c20002| 2018-01-24T19:12:58.013-0800 I NETWORK [conn14] received client metadata from 127.0.0.1:61507 conn14: { driver: { name: "NetworkInterfaceASIO-ShardRegistry", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } s20005| 2018-01-24T19:12:58.002-0800 D TRACKING [shard registry reload] Cmd: NotSet, TrackingId: 5a694b3a63764b2fc2e392f7 c20002| 2018-01-24T19:12:58.014-0800 D TRACKING [conn14] Cmd: find, TrackingId: 5a694b3a63764b2fc2e392f3|5a694b3a63764b2fc2e392f5 s20005| 2018-01-24T19:12:58.002-0800 D NETWORK [ReplicaSetMonitor-TaskExecutor-0] Refreshing replica set test-configRS took 3 msec s20005| 2018-01-24T19:12:58.002-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Connecting to st-bartle1:20002 s20005| 2018-01-24T19:12:58.002-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Connecting to st-bartle1:20003 s20005| 2018-01-24T19:12:58.002-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Connecting to st-bartle1:20002 s20005| 2018-01-24T19:12:58.008-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Successfully connected to st-bartle1:20002, took 6ms (2 connections now open to st-bartle1:20002) s20005| 2018-01-24T19:12:58.012-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Successfully connected to st-bartle1:20003, took 10ms (1 connections now open to st-bartle1:20003) s20005| 2018-01-24T19:12:58.013-0800 D SHARDING [shard registry reload] found 0 shards listed on config server(s) with lastVisibleOpTime: { ts: Timestamp 1516849974000|1, t: 1 } s20005| 2018-01-24T19:12:58.013-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Successfully connected to st-bartle1:20002, took 11ms (2 connections now open to st-bartle1:20002) s20005| 2018-01-24T19:12:58.014-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Connecting to st-bartle1:20004 s20005| 2018-01-24T19:12:58.017-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Successfully connected to st-bartle1:20004, took 3ms (1 connections now open to st-bartle1:20004) c20004| 2018-01-24T19:12:58.018-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b3a63764b2fc2e392f3|5a694b3a63764b2fc2e392fa c20003| 2018-01-24T19:12:58.018-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b3a63764b2fc2e392f3|5a694b3a63764b2fc2e392fb c20002| 2018-01-24T19:12:58.021-0800 I REPL [ReplicationExecutor] Member st-bartle1:20004 is now in state SECONDARY s20005| 2018-01-24T19:12:58.022-0800 W SHARDING [replSetDistLockPinger] pinging failed for distributed lock pinger :: caused by :: LockStateChangeFailed: findAndModify query predicate didn't match any lock document s20005| 2018-01-24T19:12:58.023-0800 D COMMAND [ClusterCursorCleanupJob] BackgroundJob starting: ClusterCursorCleanupJob s20005| 2018-01-24T19:12:58.023-0800 D TRACKING [Uptime reporter] Cmd: NotSet, TrackingId: 5a694b3a63764b2fc2e392fd c20002| 2018-01-24T19:12:58.023-0800 D TRACKING [conn13] Cmd: update, TrackingId: 5a694b3a63764b2fc2e392fd|5a694b3a63764b2fc2e392fe c20002| 2018-01-24T19:12:58.024-0800 D TRACKING [conn14] Cmd: _getUserCacheGeneration, TrackingId: 5a694b3a63764b2fc2e392f3|5a694b3a63764b2fc2e392ff s20005| 2018-01-24T19:12:58.024-0800 D COMMAND [UserCacheInvalidatorThread] BackgroundJob starting: UserCacheInvalidatorThread s20005| 2018-01-24T19:12:58.024-0800 D COMMAND [PeriodicTaskRunner] BackgroundJob starting: PeriodicTaskRunner s20005| 2018-01-24T19:12:58.024-0800 I NETWORK [thread2] waiting for connections on port 20005 c20004| 2018-01-24T19:12:58.088-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b3a63764b2fc2e392fd|5a694b3a63764b2fc2e39300 c20004| 2018-01-24T19:12:58.089-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b3a63764b2fc2e392fd|5a694b3a63764b2fc2e39301 c20003| 2018-01-24T19:12:58.089-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b3a63764b2fc2e392fd|5a694b3a63764b2fc2e39302 s20005| 2018-01-24T19:12:58.140-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61510 #1 (1 connection now open) s20005| 2018-01-24T19:12:58.140-0800 I NETWORK [conn1] received client metadata from 127.0.0.1:61510 conn1: { application: { name: "MongoDB Shell" }, driver: { name: "MongoDB Internal Client", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } 2018-01-24T19:12:58.146-0800 I - [thread1] shell: started program (sh72361): /usr/local/opt/mongodb@3.4/bin/mongos -v --port 20006 --configdb test-configRS/st-bartle1:20002,st-bartle1:20003,st-bartle1:20004 --setParameter enableTestCommands=1 --setParameter logComponentVerbosity={tracking:1} 2018-01-24T19:12:58.146-0800 W NETWORK [thread1] Failed to connect to 127.0.0.1:20006, in(checking socket for error after poll), reason: Connection refused s20006| 2018-01-24T19:12:58.194-0800 I CONTROL [main] s20006| 2018-01-24T19:12:58.194-0800 I CONTROL [main] ** WARNING: Access control is not enabled for the database. s20006| 2018-01-24T19:12:58.194-0800 I CONTROL [main] ** Read and write access to data and configuration is unrestricted. s20006| 2018-01-24T19:12:58.194-0800 I CONTROL [main] s20006| 2018-01-24T19:12:58.194-0800 I SHARDING [mongosMain] mongos version v3.4.10 s20006| 2018-01-24T19:12:58.194-0800 I CONTROL [mongosMain] git version: 078f28920cb24de0dd479b5ea6c66c644f6326e9 s20006| 2018-01-24T19:12:58.194-0800 I CONTROL [mongosMain] OpenSSL version: OpenSSL 1.0.2n 7 Dec 2017 s20006| 2018-01-24T19:12:58.194-0800 I CONTROL [mongosMain] allocator: system s20006| 2018-01-24T19:12:58.194-0800 I CONTROL [mongosMain] modules: none s20006| 2018-01-24T19:12:58.194-0800 I CONTROL [mongosMain] build environment: s20006| 2018-01-24T19:12:58.194-0800 I CONTROL [mongosMain] distarch: x86_64 s20006| 2018-01-24T19:12:58.194-0800 I CONTROL [mongosMain] target_arch: x86_64 s20006| 2018-01-24T19:12:58.195-0800 I CONTROL [mongosMain] db version v3.4.10 s20006| 2018-01-24T19:12:58.195-0800 I CONTROL [mongosMain] git version: 078f28920cb24de0dd479b5ea6c66c644f6326e9 s20006| 2018-01-24T19:12:58.195-0800 I CONTROL [mongosMain] OpenSSL version: OpenSSL 1.0.2n 7 Dec 2017 s20006| 2018-01-24T19:12:58.195-0800 I CONTROL [mongosMain] allocator: system s20006| 2018-01-24T19:12:58.195-0800 I CONTROL [mongosMain] modules: none s20006| 2018-01-24T19:12:58.195-0800 I CONTROL [mongosMain] build environment: s20006| 2018-01-24T19:12:58.195-0800 I CONTROL [mongosMain] distarch: x86_64 s20006| 2018-01-24T19:12:58.195-0800 I CONTROL [mongosMain] target_arch: x86_64 s20006| 2018-01-24T19:12:58.195-0800 I CONTROL [mongosMain] options: { net: { port: 20006 }, setParameter: { enableTestCommands: "1", logComponentVerbosity: "{tracking:1}" }, sharding: { configDB: "test-configRS/st-bartle1:20002,st-bartle1:20003,st-bartle1:20004" }, systemLog: { verbosity: 1 } } s20006| 2018-01-24T19:12:58.195-0800 D NETWORK [mongosMain] fd limit hard:9223372036854775807 soft:7168 max conn: 5734 s20006| 2018-01-24T19:12:58.209-0800 D NETWORK [mongosMain] Starting up task executor for monitoring replica sets in response to request to monitor set: test-configRS/st-bartle1:20002,st-bartle1:20003,st-bartle1:20004 s20006| 2018-01-24T19:12:58.209-0800 I NETWORK [mongosMain] Starting new replica set monitor for test-configRS/st-bartle1:20002,st-bartle1:20003,st-bartle1:20004 s20006| 2018-01-24T19:12:58.209-0800 D NETWORK [mongosMain] Started targeter for test-configRS/st-bartle1:20002,st-bartle1:20003,st-bartle1:20004 s20006| 2018-01-24T19:12:58.209-0800 D SHARDING [mongosMain] Starting up task executor for periodic reloading of ShardRegistry s20006| 2018-01-24T19:12:58.209-0800 D NETWORK [ReplicaSetMonitor-TaskExecutor-0] creating new connection to:st-bartle1:20002 s20006| 2018-01-24T19:12:58.209-0800 D NETWORK [mongosMain] creating new connection to:st-bartle1:20003 s20006| 2018-01-24T19:12:58.209-0800 I SHARDING [thread1] creating distributed lock ping thread for process st-bartle1:20006:1516849978:-8268953615746350680 (sleeping for 30000ms) s20006| 2018-01-24T19:12:58.209-0800 D SHARDING [ShardRegistryUpdater-0] Reloading shardRegistry s20006| 2018-01-24T19:12:58.209-0800 D NETWORK [replSetDistLockPinger] creating new connection to:st-bartle1:20004 s20006| 2018-01-24T19:12:58.211-0800 D NETWORK [ReplicaSetMonitor-TaskExecutor-0] connected to server st-bartle1:20002 (127.0.0.1) s20006| 2018-01-24T19:12:58.211-0800 D NETWORK [mongosMain] connected to server st-bartle1:20003 (127.0.0.1) s20006| 2018-01-24T19:12:58.211-0800 D NETWORK [replSetDistLockPinger] connected to server st-bartle1:20004 (127.0.0.1) c20003| 2018-01-24T19:12:58.211-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61513 #11 (8 connections now open) c20002| 2018-01-24T19:12:58.211-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61512 #15 (11 connections now open) c20004| 2018-01-24T19:12:58.211-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61514 #11 (9 connections now open) c20003| 2018-01-24T19:12:58.211-0800 I NETWORK [conn11] received client metadata from 127.0.0.1:61513 conn11: { driver: { name: "MongoDB Internal Client", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } c20002| 2018-01-24T19:12:58.211-0800 I NETWORK [conn15] received client metadata from 127.0.0.1:61512 conn15: { driver: { name: "MongoDB Internal Client", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } c20004| 2018-01-24T19:12:58.211-0800 I NETWORK [conn11] received client metadata from 127.0.0.1:61514 conn11: { driver: { name: "MongoDB Internal Client", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } s20006| 2018-01-24T19:12:58.211-0800 D NETWORK [mongosMain] connected connection! s20006| 2018-01-24T19:12:58.211-0800 D NETWORK [ReplicaSetMonitor-TaskExecutor-0] connected connection! s20006| 2018-01-24T19:12:58.211-0800 D NETWORK [replSetDistLockPinger] connected connection! s20006| 2018-01-24T19:12:58.211-0800 I NETWORK [mongosMain] Successfully connected to st-bartle1:20003 (1 connections now open to st-bartle1:20003 with a 5 second timeout) s20006| 2018-01-24T19:12:58.211-0800 I NETWORK [ReplicaSetMonitor-TaskExecutor-0] Successfully connected to st-bartle1:20002 (1 connections now open to st-bartle1:20002 with a 5 second timeout) s20006| 2018-01-24T19:12:58.211-0800 I NETWORK [replSetDistLockPinger] Successfully connected to st-bartle1:20004 (1 connections now open to st-bartle1:20004 with a 5 second timeout) s20006| 2018-01-24T19:12:58.212-0800 D TRACKING [shard registry reload] Cmd: NotSet, TrackingId: 5a694b3a0ac607535dc579e6 s20006| 2018-01-24T19:12:58.212-0800 D TRACKING [replSetDistLockPinger] Cmd: NotSet, TrackingId: 5a694b3a0ac607535dc579e7 s20006| 2018-01-24T19:12:58.212-0800 D TRACKING [mongosMain] Cmd: NotSet, TrackingId: 5a694b3a0ac607535dc579e9 s20006| 2018-01-24T19:12:58.212-0800 D NETWORK [ReplicaSetMonitor-TaskExecutor-0] Refreshing replica set test-configRS took 2 msec s20006| 2018-01-24T19:12:58.212-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Connecting to st-bartle1:20002 s20006| 2018-01-24T19:12:58.212-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Connecting to st-bartle1:20003 s20006| 2018-01-24T19:12:58.212-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Connecting to st-bartle1:20002 c20002| 2018-01-24T19:12:58.213-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61516 #16 (12 connections now open) c20002| 2018-01-24T19:12:58.214-0800 I NETWORK [conn16] received client metadata from 127.0.0.1:61516 conn16: { driver: { name: "NetworkInterfaceASIO-ShardRegistry", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } s20006| 2018-01-24T19:12:58.214-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Successfully connected to st-bartle1:20002, took 2ms (2 connections now open to st-bartle1:20002) c20002| 2018-01-24T19:12:58.214-0800 D TRACKING [conn16] Cmd: findAndModify, TrackingId: 5a694b3a0ac607535dc579e7|5a694b3a0ac607535dc579ea c20003| 2018-01-24T19:12:58.214-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61518 #12 (9 connections now open) c20003| 2018-01-24T19:12:58.215-0800 I NETWORK [conn12] received client metadata from 127.0.0.1:61518 conn12: { driver: { name: "NetworkInterfaceASIO-ShardRegistry", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } s20006| 2018-01-24T19:12:58.215-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Successfully connected to st-bartle1:20003, took 3ms (1 connections now open to st-bartle1:20003) c20003| 2018-01-24T19:12:58.216-0800 D TRACKING [conn12] Cmd: find, TrackingId: 5a694b3a0ac607535dc579e6|5a694b3a0ac607535dc579e8 c20002| 2018-01-24T19:12:58.217-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61520 #17 (13 connections now open) s20006| 2018-01-24T19:12:58.217-0800 D SHARDING [shard registry reload] found 0 shards listed on config server(s) with lastVisibleOpTime: { ts: Timestamp 1516849978000|2, t: 1 } c20003| 2018-01-24T19:12:58.217-0800 I COMMAND [conn10] command config.settings command: find { find: "settings", filter: { _id: "autosplit" }, readConcern: { level: "majority", afterOpTime: { ts: Timestamp 1516849978000|3, t: 1 } }, limit: 1, maxTimeMS: 30000 } planSummary: EOF keysExamined:0 docsExamined:0 cursorExhausted:1 numYields:0 nreturned:0 reslen:354 locks:{ Global: { acquireCount: { r: 2 } }, Database: { acquireCount: { r: 1 } }, Collection: { acquireCount: { r: 1 } } } protocol:op_command 127ms c20002| 2018-01-24T19:12:58.217-0800 I NETWORK [conn17] received client metadata from 127.0.0.1:61520 conn17: { driver: { name: "NetworkInterfaceASIO-ShardRegistry", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } s20006| 2018-01-24T19:12:58.217-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Successfully connected to st-bartle1:20002, took 5ms (2 connections now open to st-bartle1:20002) c20002| 2018-01-24T19:12:58.217-0800 D TRACKING [conn17] Cmd: find, TrackingId: 5a694b3a0ac607535dc579e9|5a694b3a0ac607535dc579eb c20002| 2018-01-24T19:12:58.218-0800 D TRACKING [conn17] Cmd: find, TrackingId: 5a694b3a0ac607535dc579e9|5a694b3a0ac607535dc579ec c20003| 2018-01-24T19:12:58.218-0800 D TRACKING [conn12] Cmd: find, TrackingId: 5a694b3a0ac607535dc579e9|5a694b3a0ac607535dc579ed c20003| 2018-01-24T19:12:58.218-0800 D TRACKING [conn12] Cmd: find, TrackingId: 5a694b3a0ac607535dc579e9|5a694b3a0ac607535dc579ee s20006| 2018-01-24T19:12:58.219-0800 D COMMAND [ClusterCursorCleanupJob] BackgroundJob starting: ClusterCursorCleanupJob s20006| 2018-01-24T19:12:58.219-0800 D TRACKING [Uptime reporter] Cmd: NotSet, TrackingId: 5a694b3a0ac607535dc579f0 c20002| 2018-01-24T19:12:58.219-0800 D TRACKING [conn17] Cmd: update, TrackingId: 5a694b3a0ac607535dc579f0|5a694b3a0ac607535dc579f1 s20006| 2018-01-24T19:12:58.219-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Connecting to st-bartle1:20002 c20002| 2018-01-24T19:12:58.222-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61522 #18 (14 connections now open) c20002| 2018-01-24T19:12:58.222-0800 I NETWORK [conn18] received client metadata from 127.0.0.1:61522 conn18: { driver: { name: "NetworkInterfaceASIO-ShardRegistry", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } s20006| 2018-01-24T19:12:58.222-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Successfully connected to st-bartle1:20002, took 3ms (3 connections now open to st-bartle1:20002) c20002| 2018-01-24T19:12:58.223-0800 D TRACKING [conn18] Cmd: _getUserCacheGeneration, TrackingId: 5a694b3a0ac607535dc579e9|5a694b3a0ac607535dc579f2 s20006| 2018-01-24T19:12:58.223-0800 D COMMAND [UserCacheInvalidatorThread] BackgroundJob starting: UserCacheInvalidatorThread s20006| 2018-01-24T19:12:58.224-0800 D COMMAND [PeriodicTaskRunner] BackgroundJob starting: PeriodicTaskRunner s20006| 2018-01-24T19:12:58.224-0800 I NETWORK [thread2] waiting for connections on port 20006 s20006| 2018-01-24T19:12:58.225-0800 W SHARDING [replSetDistLockPinger] pinging failed for distributed lock pinger :: caused by :: LockStateChangeFailed: findAndModify query predicate didn't match any lock document s20006| 2018-01-24T19:12:58.232-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Connecting to st-bartle1:20004 c20004| 2018-01-24T19:12:58.233-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61524 #12 (10 connections now open) c20004| 2018-01-24T19:12:58.233-0800 I NETWORK [conn12] received client metadata from 127.0.0.1:61524 conn12: { driver: { name: "NetworkInterfaceASIO-ShardRegistry", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } s20006| 2018-01-24T19:12:58.234-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Successfully connected to st-bartle1:20004, took 3ms (1 connections now open to st-bartle1:20004) c20004| 2018-01-24T19:12:58.234-0800 D TRACKING [conn12] Cmd: find, TrackingId: 5a694b3a0ac607535dc579f0|5a694b3a0ac607535dc579f3 c20002| 2018-01-24T19:12:58.234-0800 D TRACKING [conn17] Cmd: find, TrackingId: 5a694b3a0ac607535dc579f0|5a694b3a0ac607535dc579f4 c20002| 2018-01-24T19:12:58.234-0800 D TRACKING [conn17] Cmd: find, TrackingId: 5a694b3a0ac607535dc579f0|5a694b3a0ac607535dc579f5 s20006| 2018-01-24T19:12:58.350-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61525 #1 (1 connection now open) s20006| 2018-01-24T19:12:58.351-0800 I NETWORK [conn1] received client metadata from 127.0.0.1:61525 conn1: { application: { name: "MongoDB Shell" }, driver: { name: "MongoDB Internal Client", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } s20005| 2018-01-24T19:12:58.354-0800 D TRACKING [conn1] Cmd: balancerStop, TrackingId: 5a694b3a63764b2fc2e39304 c20002| 2018-01-24T19:12:58.355-0800 D TRACKING [conn13] Cmd: _configsvrBalancerStop, TrackingId: 5a694b3a63764b2fc2e39304|5a694b3a63764b2fc2e39305 s20005| 2018-01-24T19:12:58.420-0800 D TRACKING [conn1] Cmd: update, TrackingId: 5a694b3a63764b2fc2e39307 c20002| 2018-01-24T19:12:58.420-0800 D TRACKING [conn13] Cmd: update, TrackingId: 5a694b3a63764b2fc2e39307|5a694b3a63764b2fc2e39308 ShardingTest test going to add shard : st-bartle1:20000 s20005| 2018-01-24T19:12:58.429-0800 D TRACKING [conn1] Cmd: addShard, TrackingId: 5a694b3a63764b2fc2e39309 c20002| 2018-01-24T19:12:58.429-0800 D TRACKING [conn13] Cmd: _configsvrAddShard, TrackingId: 5a694b3a63764b2fc2e39309|5a694b3a63764b2fc2e3930a c20002| 2018-01-24T19:12:58.430-0800 I ASIO [AddShard-TaskExecutor-0] Connecting to st-bartle1:20000 d20000| 2018-01-24T19:12:58.431-0800 I NETWORK [thread1] connection accepted from 127.0.0.1:61527 #2 (2 connections now open) d20000| 2018-01-24T19:12:58.432-0800 I NETWORK [conn2] received client metadata from 127.0.0.1:61527 conn2: { driver: { name: "AddShard-TaskExecutor", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } c20002| 2018-01-24T19:12:58.432-0800 I ASIO [AddShard-TaskExecutor-0] Successfully connected to st-bartle1:20000, took 2ms (1 connections now open to st-bartle1:20000) d20000| 2018-01-24T19:12:58.475-0800 I INDEX [conn2] build index on: admin.system.version properties: { v: 2, key: { version: 1 }, name: "incompatible_with_version_32", ns: "admin.system.version" } d20000| 2018-01-24T19:12:58.475-0800 I INDEX [conn2] building index using bulk method; build may temporarily use up to 500 megabytes of RAM d20000| 2018-01-24T19:12:58.480-0800 I INDEX [conn2] build index done. scanned 0 total records. 0 secs d20000| 2018-01-24T19:12:58.481-0800 I COMMAND [conn2] setting featureCompatibilityVersion to 3.4 d20000| 2018-01-24T19:12:58.482-0800 I SHARDING [conn2] initializing sharding state with: { _id: "shardIdentity", configsvrConnectionString: "test-configRS/st-bartle1:20002,st-bartle1:20003,st-bartle1:20004", shardName: "shard0000", clusterId: ObjectId('5a694b3311d49588fffd8b86') } d20000| 2018-01-24T19:12:58.482-0800 I SHARDING [conn2] first cluster operation detected, adding sharding hook to enable versioning and authentication to remote servers d20000| 2018-01-24T19:12:58.495-0800 I NETWORK [conn2] Starting new replica set monitor for test-configRS/st-bartle1:20002,st-bartle1:20003,st-bartle1:20004 d20000| 2018-01-24T19:12:58.495-0800 I SHARDING [thread2] creating distributed lock ping thread for process st-bartle1:20000:1516849978:-7692937668685162276 (sleeping for 30000ms) c20002| 2018-01-24T19:12:58.495-0800 I SHARDING [conn13] going to insert new entry for shard into config.shards: { _id: "shard0000", host: "st-bartle1:20000", state: 1 } c20003| 2018-01-24T19:12:58.497-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61529 #13 (10 connections now open) c20002| 2018-01-24T19:12:58.497-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61528 #19 (15 connections now open) c20004| 2018-01-24T19:12:58.498-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61530 #13 (11 connections now open) c20003| 2018-01-24T19:12:58.498-0800 I NETWORK [conn13] received client metadata from 127.0.0.1:61529 conn13: { driver: { name: "MongoDB Internal Client", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } c20002| 2018-01-24T19:12:58.498-0800 I NETWORK [conn19] received client metadata from 127.0.0.1:61528 conn19: { driver: { name: "MongoDB Internal Client", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } c20004| 2018-01-24T19:12:58.498-0800 I NETWORK [conn13] received client metadata from 127.0.0.1:61530 conn13: { driver: { name: "MongoDB Internal Client", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } d20000| 2018-01-24T19:12:58.498-0800 I NETWORK [shard registry reload] Successfully connected to st-bartle1:20003 (1 connections now open to st-bartle1:20003 with a 5 second timeout) d20000| 2018-01-24T19:12:58.498-0800 I NETWORK [ReplicaSetMonitor-TaskExecutor-0] Successfully connected to st-bartle1:20002 (1 connections now open to st-bartle1:20002 with a 5 second timeout) d20000| 2018-01-24T19:12:58.498-0800 I NETWORK [replSetDistLockPinger] Successfully connected to st-bartle1:20004 (1 connections now open to st-bartle1:20004 with a 5 second timeout) d20000| 2018-01-24T19:12:58.498-0800 D TRACKING [shard registry reload] Cmd: NotSet, TrackingId: 5a694b3a7ed89563ab5c9f32 d20000| 2018-01-24T19:12:58.498-0800 D TRACKING [replSetDistLockPinger] Cmd: NotSet, TrackingId: 5a694b3a7ed89563ab5c9f34 d20000| 2018-01-24T19:12:58.499-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Connecting to st-bartle1:20002 d20000| 2018-01-24T19:12:58.499-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Connecting to st-bartle1:20002 c20002| 2018-01-24T19:12:58.500-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61532 #20 (16 connections now open) c20002| 2018-01-24T19:12:58.501-0800 I NETWORK [conn20] received client metadata from 127.0.0.1:61532 conn20: { driver: { name: "NetworkInterfaceASIO-ShardRegistry", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } d20000| 2018-01-24T19:12:58.501-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Successfully connected to st-bartle1:20002, took 3ms (2 connections now open to st-bartle1:20002) c20002| 2018-01-24T19:12:58.501-0800 D TRACKING [conn20] Cmd: find, TrackingId: 5a694b3a7ed89563ab5c9f32|5a694b3a7ed89563ab5c9f33 c20002| 2018-01-24T19:12:58.501-0800 D TRACKING [conn20] Cmd: findAndModify, TrackingId: 5a694b3a7ed89563ab5c9f34|5a694b3a7ed89563ab5c9f35 c20002| 2018-01-24T19:12:58.502-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61534 #21 (17 connections now open) c20002| 2018-01-24T19:12:58.502-0800 I NETWORK [conn21] received client metadata from 127.0.0.1:61534 conn21: { driver: { name: "NetworkInterfaceASIO-ShardRegistry", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } d20000| 2018-01-24T19:12:58.502-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Successfully connected to st-bartle1:20002, took 3ms (2 connections now open to st-bartle1:20002) d20000| 2018-01-24T19:12:58.515-0800 W SHARDING [replSetDistLockPinger] pinging failed for distributed lock pinger :: caused by :: LockStateChangeFailed: findAndModify query predicate didn't match any lock document c20002| 2018-01-24T19:12:58.562-0800 I SHARDING [conn13] about to log metadata event into changelog: { _id: "st-bartle1-2018-01-24T19:12:58.561-0800-5a694b3a11d49588fffd8c37", server: "st-bartle1", clientAddr: "127.0.0.1:61503", time: new Date(1516849978561), what: "addShard", ns: "", details: { name: "shard0000", host: "st-bartle1:20000" } } c20002| 2018-01-24T19:12:58.572-0800 I COMMAND [conn13] command admin.$cmd appName: "MongoDB Shell" command: _configsvrAddShard { _configsvrAddShard: "st-bartle1:20000", writeConcern: { w: "majority", wtimeout: 15000 } } numYields:0 reslen:334 locks:{ Global: { acquireCount: { r: 14, w: 6 } }, Database: { acquireCount: { r: 4, w: 5, W: 1 } }, Collection: { acquireCount: { r: 4, w: 2 } }, Metadata: { acquireCount: { w: 4, W: 1 } }, Mutex: { acquireCount: { W: 1 } }, oplog: { acquireCount: { w: 3 } } } protocol:op_command 142ms c20002| 2018-01-24T19:12:58.573-0800 D TRACKING [conn13] Cmd: find, TrackingId: 5a694b3a63764b2fc2e39309|5a694b3a63764b2fc2e3930b s20005| 2018-01-24T19:12:58.574-0800 D SHARDING [conn1] found 1 shards listed on config server(s) with lastVisibleOpTime: { ts: Timestamp 1516849978000|12, t: 1 } ShardingTest test going to add shard : st-bartle1:20001 s20005| 2018-01-24T19:12:58.574-0800 D TRACKING [conn1] Cmd: addShard, TrackingId: 5a694b3a63764b2fc2e3930c c20002| 2018-01-24T19:12:58.575-0800 D TRACKING [conn13] Cmd: _configsvrAddShard, TrackingId: 5a694b3a63764b2fc2e3930c|5a694b3a63764b2fc2e3930d c20002| 2018-01-24T19:12:58.575-0800 I ASIO [AddShard-TaskExecutor-0] Connecting to st-bartle1:20001 d20001| 2018-01-24T19:12:58.577-0800 I NETWORK [thread1] connection accepted from 127.0.0.1:61536 #2 (2 connections now open) d20001| 2018-01-24T19:12:58.577-0800 I NETWORK [conn2] received client metadata from 127.0.0.1:61536 conn2: { driver: { name: "AddShard-TaskExecutor", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } c20002| 2018-01-24T19:12:58.577-0800 I ASIO [AddShard-TaskExecutor-0] Successfully connected to st-bartle1:20001, took 2ms (1 connections now open to st-bartle1:20001) d20001| 2018-01-24T19:12:58.631-0800 I INDEX [conn2] build index on: admin.system.version properties: { v: 2, key: { version: 1 }, name: "incompatible_with_version_32", ns: "admin.system.version" } d20001| 2018-01-24T19:12:58.631-0800 I INDEX [conn2] building index using bulk method; build may temporarily use up to 500 megabytes of RAM d20001| 2018-01-24T19:12:58.637-0800 I INDEX [conn2] build index done. scanned 0 total records. 0 secs d20001| 2018-01-24T19:12:58.638-0800 I COMMAND [conn2] setting featureCompatibilityVersion to 3.4 d20001| 2018-01-24T19:12:58.639-0800 I SHARDING [conn2] initializing sharding state with: { _id: "shardIdentity", configsvrConnectionString: "test-configRS/st-bartle1:20002,st-bartle1:20003,st-bartle1:20004", shardName: "shard0001", clusterId: ObjectId('5a694b3311d49588fffd8b86') } d20001| 2018-01-24T19:12:58.639-0800 I SHARDING [conn2] first cluster operation detected, adding sharding hook to enable versioning and authentication to remote servers d20001| 2018-01-24T19:12:58.652-0800 I NETWORK [conn2] Starting new replica set monitor for test-configRS/st-bartle1:20002,st-bartle1:20003,st-bartle1:20004 d20001| 2018-01-24T19:12:58.652-0800 I SHARDING [thread2] creating distributed lock ping thread for process st-bartle1:20001:1516849978:-7640502118447977931 (sleeping for 30000ms) c20002| 2018-01-24T19:12:58.652-0800 I SHARDING [conn13] going to insert new entry for shard into config.shards: { _id: "shard0001", host: "st-bartle1:20001", state: 1 } c20002| 2018-01-24T19:12:58.654-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61537 #22 (18 connections now open) c20002| 2018-01-24T19:12:58.654-0800 I NETWORK [conn22] received client metadata from 127.0.0.1:61537 conn22: { driver: { name: "MongoDB Internal Client", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } c20003| 2018-01-24T19:12:58.654-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61539 #14 (11 connections now open) c20003| 2018-01-24T19:12:58.654-0800 I NETWORK [conn14] received client metadata from 127.0.0.1:61539 conn14: { driver: { name: "MongoDB Internal Client", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } c20004| 2018-01-24T19:12:58.654-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61538 #14 (12 connections now open) c20004| 2018-01-24T19:12:58.655-0800 I NETWORK [conn14] received client metadata from 127.0.0.1:61538 conn14: { driver: { name: "MongoDB Internal Client", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } d20001| 2018-01-24T19:12:58.655-0800 I NETWORK [ReplicaSetMonitor-TaskExecutor-0] Successfully connected to st-bartle1:20002 (1 connections now open to st-bartle1:20002 with a 5 second timeout) d20001| 2018-01-24T19:12:58.655-0800 I NETWORK [shard registry reload] Successfully connected to st-bartle1:20003 (1 connections now open to st-bartle1:20003 with a 5 second timeout) d20001| 2018-01-24T19:12:58.656-0800 I NETWORK [replSetDistLockPinger] Successfully connected to st-bartle1:20004 (1 connections now open to st-bartle1:20004 with a 5 second timeout) d20001| 2018-01-24T19:12:58.657-0800 D TRACKING [replSetDistLockPinger] Cmd: NotSet, TrackingId: 5a694b3ad77dd3276fd2ce56 d20001| 2018-01-24T19:12:58.657-0800 D TRACKING [shard registry reload] Cmd: NotSet, TrackingId: 5a694b3ad77dd3276fd2ce58 d20001| 2018-01-24T19:12:58.657-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Connecting to st-bartle1:20002 d20001| 2018-01-24T19:12:58.657-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Connecting to st-bartle1:20003 c20002| 2018-01-24T19:12:58.659-0800 I SHARDING [conn13] about to log metadata event into changelog: { _id: "st-bartle1-2018-01-24T19:12:58.659-0800-5a694b3a11d49588fffd8c4a", server: "st-bartle1", clientAddr: "127.0.0.1:61503", time: new Date(1516849978659), what: "addShard", ns: "", details: { name: "shard0001", host: "st-bartle1:20001" } } c20002| 2018-01-24T19:12:58.660-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61541 #23 (19 connections now open) c20002| 2018-01-24T19:12:58.661-0800 I NETWORK [conn23] received client metadata from 127.0.0.1:61541 conn23: { driver: { name: "NetworkInterfaceASIO-ShardRegistry", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } d20001| 2018-01-24T19:12:58.661-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Successfully connected to st-bartle1:20002, took 4ms (1 connections now open to st-bartle1:20002) c20003| 2018-01-24T19:12:58.661-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61544 #15 (12 connections now open) c20002| 2018-01-24T19:12:58.661-0800 D TRACKING [conn23] Cmd: findAndModify, TrackingId: 5a694b3ad77dd3276fd2ce56|5a694b3ad77dd3276fd2ce57 c20003| 2018-01-24T19:12:58.662-0800 I NETWORK [conn15] received client metadata from 127.0.0.1:61544 conn15: { driver: { name: "NetworkInterfaceASIO-ShardRegistry", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } d20001| 2018-01-24T19:12:58.662-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Successfully connected to st-bartle1:20003, took 5ms (1 connections now open to st-bartle1:20003) c20003| 2018-01-24T19:12:58.662-0800 D TRACKING [conn15] Cmd: find, TrackingId: 5a694b3ad77dd3276fd2ce58|5a694b3ad77dd3276fd2ce59 d20001| 2018-01-24T19:12:58.674-0800 W SHARDING [replSetDistLockPinger] pinging failed for distributed lock pinger :: caused by :: LockStateChangeFailed: findAndModify query predicate didn't match any lock document c20004| 2018-01-24T19:12:58.674-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b3a63764b2fc2e3930c|5a694b3a63764b2fc2e3930e s20005| 2018-01-24T19:12:58.675-0800 D SHARDING [conn1] found 2 shards listed on config server(s) with lastVisibleOpTime: { ts: Timestamp 1516849978000|15, t: 1 } Waiting for op with OpTime { "ts" : Timestamp(1516849978, 15), "t" : NumberLong(1) } to be committed on all secondaries s20005| 2018-01-24T19:13:03.788-0800 D SHARDING [conn1] trying to acquire new distributed lock for TestDB ( lock timeout : 900000 ms, ping interval : 30000 ms, process : st-bartle1:20005:1516849977:5275881621408687346 ) with lockSessionID: 5a694b3f63764b2fc2e39310, why: enableSharding s20005| 2018-01-24T19:13:03.789-0800 D TRACKING [conn1] Cmd: enableSharding, TrackingId: 5a694b3f63764b2fc2e3930f c20002| 2018-01-24T19:13:03.789-0800 D TRACKING [conn13] Cmd: findAndModify, TrackingId: 5a694b3f63764b2fc2e3930f|5a694b3f63764b2fc2e39311 s20005| 2018-01-24T19:13:03.807-0800 I SHARDING [conn1] distributed lock 'TestDB' acquired for 'enableSharding', ts : 5a694b3f63764b2fc2e39310 c20004| 2018-01-24T19:13:03.809-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b3f63764b2fc2e3930f|5a694b3f63764b2fc2e39312 s20005| 2018-01-24T19:13:03.830-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Connecting to st-bartle1:20000 d20000| 2018-01-24T19:13:03.848-0800 I NETWORK [thread1] connection accepted from 127.0.0.1:61546 #3 (3 connections now open) d20000| 2018-01-24T19:13:03.848-0800 I NETWORK [conn3] received client metadata from 127.0.0.1:61546 conn3: { driver: { name: "NetworkInterfaceASIO-ShardRegistry", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } s20005| 2018-01-24T19:13:03.849-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Successfully connected to st-bartle1:20000, took 19ms (1 connections now open to st-bartle1:20000) d20000| 2018-01-24T19:13:03.849-0800 D TRACKING [conn3] Cmd: listDatabases, TrackingId: 5a694b3f63764b2fc2e3930f|5a694b3f63764b2fc2e39313 s20005| 2018-01-24T19:13:03.850-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Connecting to st-bartle1:20001 d20001| 2018-01-24T19:13:03.853-0800 I NETWORK [thread1] connection accepted from 127.0.0.1:61548 #3 (3 connections now open) d20001| 2018-01-24T19:13:03.854-0800 I NETWORK [conn3] received client metadata from 127.0.0.1:61548 conn3: { driver: { name: "NetworkInterfaceASIO-ShardRegistry", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } s20005| 2018-01-24T19:13:03.854-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Successfully connected to st-bartle1:20001, took 4ms (1 connections now open to st-bartle1:20001) d20001| 2018-01-24T19:13:03.854-0800 D TRACKING [conn3] Cmd: listDatabases, TrackingId: 5a694b3f63764b2fc2e3930f|5a694b3f63764b2fc2e39314 c20002| 2018-01-24T19:13:03.855-0800 D TRACKING [conn13] Cmd: update, TrackingId: 5a694b3f63764b2fc2e3930f|5a694b3f63764b2fc2e39315 c20003| 2018-01-24T19:13:03.922-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b3f63764b2fc2e39317|5a694b3f63764b2fc2e39319 s20005| 2018-01-24T19:13:03.855-0800 I SHARDING [conn1] Placing [TestDB] on: shard0000 c20002| 2018-01-24T19:13:03.911-0800 D TRACKING [conn13] Cmd: findAndModify, TrackingId: 5a694b3f63764b2fc2e3930f|5a694b3f63764b2fc2e39316 s20005| 2018-01-24T19:13:03.855-0800 I SHARDING [conn1] Enabling sharding for database [TestDB] in config db c20002| 2018-01-24T19:13:03.922-0800 D TRACKING [conn13] Cmd: find, TrackingId: 5a694b3f63764b2fc2e39317|5a694b3f63764b2fc2e39318 s20005| 2018-01-24T19:13:03.920-0800 I SHARDING [conn1] distributed lock with ts: 5a694b3f63764b2fc2e39310' unlocked. s20005| 2018-01-24T19:13:03.921-0800 D TRACKING [conn1] Cmd: movePrimary, TrackingId: 5a694b3f63764b2fc2e39317 c20002| 2018-01-24T19:13:07.616-0800 D TRACKING [Balancer] Cmd: findAndModify, TrackingId: 5a694b3611d49588fffd8bc0 c20002| 2018-01-24T19:13:07.616-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Connecting to st-bartle1:20000 d20000| 2018-01-24T19:13:07.618-0800 I NETWORK [thread1] connection accepted from 127.0.0.1:61557 #4 (4 connections now open) d20000| 2018-01-24T19:13:07.618-0800 I NETWORK [conn4] received client metadata from 127.0.0.1:61557 conn4: { driver: { name: "NetworkInterfaceASIO-ShardRegistry", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } c20002| 2018-01-24T19:13:07.618-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Successfully connected to st-bartle1:20000, took 2ms (1 connections now open to st-bartle1:20000) d20000| 2018-01-24T19:13:07.618-0800 D TRACKING [conn4] Cmd: features, TrackingId: 5a694b3611d49588fffd8bc0|5a694b4311d49588fffd8caf c20002| 2018-01-24T19:13:07.618-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Connecting to st-bartle1:20001 d20001| 2018-01-24T19:13:07.620-0800 I NETWORK [thread1] connection accepted from 127.0.0.1:61559 #4 (4 connections now open) d20001| 2018-01-24T19:13:07.621-0800 I NETWORK [conn4] received client metadata from 127.0.0.1:61559 conn4: { driver: { name: "NetworkInterfaceASIO-ShardRegistry", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } c20002| 2018-01-24T19:13:07.621-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Successfully connected to st-bartle1:20001, took 3ms (1 connections now open to st-bartle1:20001) d20001| 2018-01-24T19:13:07.621-0800 D TRACKING [conn4] Cmd: features, TrackingId: 5a694b3611d49588fffd8bc0|5a694b4311d49588fffd8cb0 c20002| 2018-01-24T19:13:07.622-0800 I SHARDING [Balancer] ShouldAutoSplit changing from 1 to 0 s20005| 2018-01-24T19:13:08.221-0800 D TRACKING [Uptime reporter] Cmd: NotSet, TrackingId: 5a694b4463764b2fc2e3931a c20002| 2018-01-24T19:13:08.221-0800 D TRACKING [conn13] Cmd: update, TrackingId: 5a694b4463764b2fc2e3931a|5a694b4463764b2fc2e3931b c20003| 2018-01-24T19:13:08.223-0800 I COMMAND [conn10] command config.collections command: find { find: "collections", filter: { _id: /^TestDB\./ }, readConcern: { level: "majority", afterOpTime: { ts: Timestamp 1516849983000|4, t: 1 } }, maxTimeMS: 30000 } planSummary: EOF keysExamined:0 docsExamined:0 cursorExhausted:1 numYields:0 nreturned:0 reslen:357 locks:{ Global: { acquireCount: { r: 2 } }, Database: { acquireCount: { r: 1 } }, Collection: { acquireCount: { r: 1 } } } protocol:op_command 4301ms s20005| 2018-01-24T19:13:08.224-0800 D - [conn1] User Assertion: 20:it is already the primary src/mongo/s/commands/cluster_move_primary_cmd.cpp 151 s20005| 2018-01-24T19:13:08.225-0800 D TRACKING [conn1] Cmd: shardCollection, TrackingId: 5a694b4463764b2fc2e3931c c20004| 2018-01-24T19:13:08.226-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b4463764b2fc2e3931c|5a694b4463764b2fc2e3931d s20005| 2018-01-24T19:13:08.227-0800 D NETWORK [conn1] creating new connection to:st-bartle1:20000 s20005| 2018-01-24T19:13:08.228-0800 D NETWORK [conn1] connected to server st-bartle1:20000 (127.0.0.1) d20000| 2018-01-24T19:13:08.228-0800 I NETWORK [thread1] connection accepted from 127.0.0.1:61560 #5 (5 connections now open) d20000| 2018-01-24T19:13:08.228-0800 I NETWORK [conn5] received client metadata from 127.0.0.1:61560 conn5: { driver: { name: "MongoDB Internal Client", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } s20005| 2018-01-24T19:13:08.229-0800 D NETWORK [conn1] connected connection! s20005| 2018-01-24T19:13:08.229-0800 I NETWORK [conn1] Successfully connected to st-bartle1:20000 (1 connections now open to st-bartle1:20000 with a 0 second timeout) s20005| 2018-01-24T19:13:08.229-0800 D NETWORK [conn1] creating new connection to:st-bartle1:20000 d20000| 2018-01-24T19:13:08.230-0800 I NETWORK [thread1] connection accepted from 127.0.0.1:61561 #6 (6 connections now open) s20005| 2018-01-24T19:13:08.230-0800 D NETWORK [conn1] connected to server st-bartle1:20000 (127.0.0.1) d20000| 2018-01-24T19:13:08.231-0800 I NETWORK [conn6] received client metadata from 127.0.0.1:61561 conn6: { driver: { name: "MongoDB Internal Client", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } s20005| 2018-01-24T19:13:08.231-0800 D NETWORK [conn1] connected connection! s20005| 2018-01-24T19:13:08.231-0800 I NETWORK [conn1] Successfully connected to st-bartle1:20000 (1 connections now open to st-bartle1:20000 with a 0 second timeout) s20005| 2018-01-24T19:13:08.231-0800 D SHARDING [conn1] setShardVersion shard0000 st-bartle1:20000 { setShardVersion: "", init: true, authoritative: true, configdb: "test-configRS/st-bartle1:20002,st-bartle1:20003,st-bartle1:20004", shard: "shard0000", shardHost: "st-bartle1:20000", maxTimeMS: 30000 } s20006| 2018-01-24T19:13:08.237-0800 D TRACKING [Uptime reporter] Cmd: NotSet, TrackingId: 5a694b440ac607535dc579f7 c20002| 2018-01-24T19:13:08.238-0800 D TRACKING [conn17] Cmd: update, TrackingId: 5a694b440ac607535dc579f7|5a694b440ac607535dc579f8 c20004| 2018-01-24T19:13:08.239-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b4463764b2fc2e3931a|5a694b4463764b2fc2e3931e c20002| 2018-01-24T19:13:08.240-0800 D TRACKING [conn13] Cmd: find, TrackingId: 5a694b4463764b2fc2e3931a|5a694b4463764b2fc2e3931f c20003| 2018-01-24T19:13:08.242-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b4463764b2fc2e3931a|5a694b4463764b2fc2e39320 s20005| 2018-01-24T19:13:08.243-0800 I SHARDING [Uptime reporter] ShouldAutoSplit changing from 1 to 0 c20002| 2018-01-24T19:13:08.251-0800 D TRACKING [conn17] Cmd: find, TrackingId: 5a694b440ac607535dc579f7|5a694b440ac607535dc579f9 c20003| 2018-01-24T19:13:08.252-0800 D TRACKING [conn12] Cmd: find, TrackingId: 5a694b440ac607535dc579f7|5a694b440ac607535dc579fa s20005| 2018-01-24T19:13:08.271-0800 I COMMAND [conn1] CMD: shardcollection: { shardCollection: "TestDB.Coll", key: { _id: 1.0 } } s20005| 2018-01-24T19:13:08.271-0800 D SHARDING [conn1] trying to acquire new distributed lock for TestDB.Coll ( lock timeout : 900000 ms, ping interval : 30000 ms, process : st-bartle1:20005:1516849977:5275881621408687346 ) with lockSessionID: 5a694b4463764b2fc2e39321, why: shardCollection c20002| 2018-01-24T19:13:08.271-0800 D TRACKING [conn13] Cmd: findAndModify, TrackingId: 5a694b4463764b2fc2e3931c|5a694b4463764b2fc2e39322 c20003| 2018-01-24T19:13:08.276-0800 D TRACKING [conn12] Cmd: find, TrackingId: 5a694b440ac607535dc579f7|5a694b440ac607535dc579fb s20006| 2018-01-24T19:13:08.277-0800 I SHARDING [Uptime reporter] ShouldAutoSplit changing from 1 to 0 s20005| 2018-01-24T19:13:08.283-0800 I SHARDING [conn1] distributed lock 'TestDB.Coll' acquired for 'shardCollection', ts : 5a694b4463764b2fc2e39321 c20003| 2018-01-24T19:13:08.284-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b4463764b2fc2e3931c|5a694b4463764b2fc2e39323 c20003| 2018-01-24T19:13:13.282-0800 I COMMAND [conn10] command config.databases command: find { find: "databases", filter: { _id: "TestDB" }, readConcern: { level: "majority", afterOpTime: { ts: Timestamp 1516849988000|3, t: 1 } }, limit: 1, maxTimeMS: 30000 } planSummary: IDHACK keysExamined:1 docsExamined:1 cursorExhausted:1 numYields:0 nreturned:1 reslen:416 locks:{ Global: { acquireCount: { r: 2 } }, Database: { acquireCount: { r: 1 } }, Collection: { acquireCount: { r: 1 } } } protocol:op_command 4998ms c20003| 2018-01-24T19:13:13.283-0800 D TRACKING [conn10] Cmd: count, TrackingId: 5a694b4463764b2fc2e3931c|5a694b4963764b2fc2e39324 c20002| 2018-01-24T19:13:13.286-0800 D TRACKING [conn13] Cmd: create, TrackingId: 5a694b4463764b2fc2e3931c|5a694b4963764b2fc2e39325 s20005| 2018-01-24T19:13:13.287-0800 I SHARDING [conn1] about to log metadata event into changelog: { _id: "st-bartle1-2018-01-24T19:13:13.287-0800-5a694b4963764b2fc2e39326", server: "st-bartle1", clientAddr: "127.0.0.1:61510", time: new Date(1516849993287), what: "shardCollection.start", ns: "TestDB.Coll", details: { shardKey: { _id: 1.0 }, collection: "TestDB.Coll", primary: "shard0000:st-bartle1:20000", initShards: [], numChunks: 1 } } c20002| 2018-01-24T19:13:13.287-0800 D TRACKING [conn13] Cmd: insert, TrackingId: 5a694b4463764b2fc2e3931c|5a694b4963764b2fc2e39327 d20000| 2018-01-24T19:13:13.302-0800 D TRACKING [conn3] Cmd: count, TrackingId: 5a694b4463764b2fc2e3931c|5a694b4963764b2fc2e39328 s20005| 2018-01-24T19:13:13.302-0800 I SHARDING [conn1] going to create 1 chunk(s) for: TestDB.Coll using new epoch 5a694b4963764b2fc2e39329 c20002| 2018-01-24T19:13:13.302-0800 D TRACKING [conn13] Cmd: insert, TrackingId: 5a694b4463764b2fc2e3931c|5a694b4963764b2fc2e3932a c20002| 2018-01-24T19:13:13.317-0800 D TRACKING [conn13] Cmd: update, TrackingId: 5a694b4463764b2fc2e3931c|5a694b4963764b2fc2e3932b d20000| 2018-01-24T19:13:13.389-0800 D TRACKING [conn3] Cmd: setShardVersion, TrackingId: 5a694b4463764b2fc2e3931c|5a694b4963764b2fc2e3932c d20000| 2018-01-24T19:13:13.389-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Connecting to st-bartle1:20004 c20004| 2018-01-24T19:13:13.392-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61566 #15 (13 connections now open) c20004| 2018-01-24T19:13:13.392-0800 I NETWORK [conn15] received client metadata from 127.0.0.1:61566 conn15: { driver: { name: "NetworkInterfaceASIO-ShardRegistry", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } d20000| 2018-01-24T19:13:13.393-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Successfully connected to st-bartle1:20004, took 4ms (1 connections now open to st-bartle1:20004) c20004| 2018-01-24T19:13:13.393-0800 D TRACKING [conn15] Cmd: find, TrackingId: 5a694b4463764b2fc2e3931c|5a694b4963764b2fc2e3932c|5a694b497ed89563ab5c9f44 c20004| 2018-01-24T19:13:13.394-0800 D TRACKING [conn15] Cmd: find, TrackingId: 5a694b4463764b2fc2e3931c|5a694b4963764b2fc2e3932c|5a694b497ed89563ab5c9f45 d20000| 2018-01-24T19:13:13.394-0800 I SHARDING [conn3] Refreshing chunks for collection TestDB.Coll based on version 0|0||000000000000000000000000 d20000| 2018-01-24T19:13:13.395-0800 D TRACKING [CatalogCacheLoader-0] Cmd: NotSet, TrackingId: 5a694b497ed89563ab5c9f46 c20002| 2018-01-24T19:13:13.395-0800 D TRACKING [conn20] Cmd: find, TrackingId: 5a694b497ed89563ab5c9f46|5a694b497ed89563ab5c9f47 c20002| 2018-01-24T19:13:13.395-0800 D TRACKING [conn20] Cmd: find, TrackingId: 5a694b497ed89563ab5c9f46|5a694b497ed89563ab5c9f48 d20000| 2018-01-24T19:13:13.396-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Connecting to st-bartle1:20003 c20003| 2018-01-24T19:13:13.398-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61568 #16 (13 connections now open) c20003| 2018-01-24T19:13:13.398-0800 I NETWORK [conn16] received client metadata from 127.0.0.1:61568 conn16: { driver: { name: "NetworkInterfaceASIO-ShardRegistry", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } d20000| 2018-01-24T19:13:13.399-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Successfully connected to st-bartle1:20003, took 3ms (1 connections now open to st-bartle1:20003) c20003| 2018-01-24T19:13:13.399-0800 D TRACKING [conn16] Cmd: find, TrackingId: 5a694b497ed89563ab5c9f46|5a694b497ed89563ab5c9f49 d20000| 2018-01-24T19:13:17.622-0800 D TRACKING [conn4] Cmd: features, TrackingId: 5a694b3611d49588fffd8bc0|5a694b4d11d49588fffd8ce8 d20001| 2018-01-24T19:13:17.623-0800 D TRACKING [conn4] Cmd: features, TrackingId: 5a694b3611d49588fffd8bc0|5a694b4d11d49588fffd8ce9 s20005| 2018-01-24T19:13:18.247-0800 D TRACKING [Uptime reporter] Cmd: NotSet, TrackingId: 5a694b4e63764b2fc2e3932d c20002| 2018-01-24T19:13:18.247-0800 D TRACKING [conn13] Cmd: update, TrackingId: 5a694b4e63764b2fc2e3932d|5a694b4e63764b2fc2e3932e c20003| 2018-01-24T19:13:18.250-0800 I COMMAND [conn16] command config.shards command: find { find: "shards", readConcern: { level: "majority", afterOpTime: { ts: Timestamp 1516849993000|4, t: 1 } }, maxTimeMS: 30000 } planSummary: COLLSCAN keysExamined:0 docsExamined:2 cursorExhausted:1 numYields:0 nreturned:2 reslen:482 locks:{ Global: { acquireCount: { r: 2 } }, Database: { acquireCount: { r: 1 } }, Collection: { acquireCount: { r: 1 } } } protocol:op_command 4851ms d20000| 2018-01-24T19:13:18.250-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 4856 ms and found version 1|0||5a694b4963764b2fc2e39329 d20000| 2018-01-24T19:13:18.250-0800 I SHARDING [conn3] Marking collection TestDB.Coll as sharded with collection version: 1|0||5a694b4963764b2fc2e39329, shard version: 1|0||5a694b4963764b2fc2e39329 d20000| 2018-01-24T19:13:18.251-0800 I COMMAND [conn3] command admin.$cmd appName: "MongoDB Shell" command: setShardVersion { setShardVersion: "TestDB.Coll", init: false, authoritative: true, configdb: "test-configRS/st-bartle1:20002,st-bartle1:20003,st-bartle1:20004", shard: "shard0000", shardHost: "st-bartle1:20000", version: Timestamp 1000|0, versionEpoch: ObjectId('5a694b4963764b2fc2e39329'), noConnectionVersioning: true } numYields:0 reslen:123 locks:{ Global: { acquireCount: { r: 9, w: 1 } }, Database: { acquireCount: { r: 4, w: 1 } }, Collection: { acquireCount: { r: 4, W: 1 } } } protocol:op_command 4861ms s20005| 2018-01-24T19:13:18.251-0800 I SHARDING [conn1] about to log metadata event into changelog: { _id: "st-bartle1-2018-01-24T19:13:18.251-0800-5a694b4e63764b2fc2e3932f", server: "st-bartle1", clientAddr: "127.0.0.1:61510", time: new Date(1516849998251), what: "shardCollection.end", ns: "TestDB.Coll", details: { version: "1|0||5a694b4963764b2fc2e39329" } } c20002| 2018-01-24T19:13:18.251-0800 D TRACKING [conn14] Cmd: insert, TrackingId: 5a694b4463764b2fc2e3931c|5a694b4e63764b2fc2e39330 c20002| 2018-01-24T19:13:18.259-0800 D TRACKING [conn13] Cmd: find, TrackingId: 5a694b4e63764b2fc2e3932d|5a694b4e63764b2fc2e39331 c20002| 2018-01-24T19:13:18.260-0800 D TRACKING [conn13] Cmd: find, TrackingId: 5a694b4e63764b2fc2e3932d|5a694b4e63764b2fc2e39332 c20003| 2018-01-24T19:13:18.260-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b4e63764b2fc2e3932d|5a694b4e63764b2fc2e39333 c20002| 2018-01-24T19:13:18.264-0800 D TRACKING [conn14] Cmd: findAndModify, TrackingId: 5a694b4463764b2fc2e3931c|5a694b4e63764b2fc2e39334 s20005| 2018-01-24T19:13:18.276-0800 I SHARDING [conn1] distributed lock with ts: 5a694b4463764b2fc2e39321' unlocked. s20005| 2018-01-24T19:13:18.276-0800 I SHARDING [conn1] Refreshing chunks for collection TestDB.Coll based on version 0|0||000000000000000000000000 s20005| 2018-01-24T19:13:18.276-0800 D EXECUTOR [CatalogCacheLoader-0] starting thread in pool CatalogCacheLoader s20005| 2018-01-24T19:13:18.276-0800 D TRACKING [CatalogCacheLoader-0] Cmd: NotSet, TrackingId: 5a694b4e63764b2fc2e39336 c20002| 2018-01-24T19:13:18.277-0800 D TRACKING [conn14] Cmd: find, TrackingId: 5a694b4e63764b2fc2e39336|5a694b4e63764b2fc2e39337 c20002| 2018-01-24T19:13:18.277-0800 D TRACKING [conn14] Cmd: find, TrackingId: 5a694b4e63764b2fc2e39336|5a694b4e63764b2fc2e39338 s20005| 2018-01-24T19:13:18.278-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 1 ms and found version 1|0||5a694b4963764b2fc2e39329 s20005| 2018-01-24T19:13:18.278-0800 I COMMAND [conn1] Splitting chunk [{ _id: MinKey }, { _id: MaxKey }) in collection TestDB.Coll on shard shard0000 at key { _id: 0.0 } s20005| 2018-01-24T19:13:18.278-0800 D TRACKING [conn1] Cmd: split, TrackingId: 5a694b4e63764b2fc2e39335 d20000| 2018-01-24T19:13:18.278-0800 D TRACKING [conn3] Cmd: splitChunk, TrackingId: 5a694b4e63764b2fc2e39335|5a694b4e63764b2fc2e39339 s20006| 2018-01-24T19:13:18.278-0800 D TRACKING [Uptime reporter] Cmd: NotSet, TrackingId: 5a694b4e0ac607535dc579fc d20000| 2018-01-24T19:13:18.278-0800 I SHARDING [conn3] received splitChunk request: { splitChunk: "TestDB.Coll", configdb: "test-configRS/st-bartle1:20002,st-bartle1:20003,st-bartle1:20004", from: "shard0000", keyPattern: { _id: 1.0 }, shardVersion: [ Timestamp 1000|0, ObjectId('5a694b4963764b2fc2e39329') ], min: { _id: MinKey }, max: { _id: MaxKey }, splitKeys: [ { _id: 0.0 } ] } c20002| 2018-01-24T19:13:18.279-0800 D TRACKING [conn17] Cmd: update, TrackingId: 5a694b4e0ac607535dc579fc|5a694b4e0ac607535dc579fd c20002| 2018-01-24T19:13:18.279-0800 D TRACKING [conn20] Cmd: findAndModify, TrackingId: 5a694b4e63764b2fc2e39335|5a694b4e63764b2fc2e39339|5a694b4e7ed89563ab5c9f4b c20003| 2018-01-24T19:13:18.289-0800 D TRACKING [conn12] Cmd: find, TrackingId: 5a694b4e0ac607535dc579fc|5a694b4e0ac607535dc579fe d20000| 2018-01-24T19:13:18.293-0800 I SHARDING [conn3] distributed lock 'TestDB.Coll' acquired for 'splitting chunk [{ _id: MinKey }, { _id: MaxKey }) in TestDB.Coll', ts : 5a694b4e7ed89563ab5c9f4a d20000| 2018-01-24T19:13:18.293-0800 I SHARDING [conn3] Refreshing chunks for collection TestDB.Coll based on version 1|0||5a694b4963764b2fc2e39329 d20000| 2018-01-24T19:13:18.294-0800 D TRACKING [CatalogCacheLoader-0] Cmd: NotSet, TrackingId: 5a694b4e7ed89563ab5c9f4c c20004| 2018-01-24T19:13:18.294-0800 D TRACKING [conn15] Cmd: find, TrackingId: 5a694b4e7ed89563ab5c9f4c|5a694b4e7ed89563ab5c9f4d c20004| 2018-01-24T19:13:18.294-0800 D TRACKING [conn15] Cmd: find, TrackingId: 5a694b4e7ed89563ab5c9f4c|5a694b4e7ed89563ab5c9f4e d20000| 2018-01-24T19:13:18.295-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 1 ms and found version 1|0||5a694b4963764b2fc2e39329 c20002| 2018-01-24T19:13:18.295-0800 D TRACKING [conn20] Cmd: _configsvrCommitChunkSplit, TrackingId: 5a694b4e63764b2fc2e39335|5a694b4e63764b2fc2e39339|5a694b4e7ed89563ab5c9f4f c20002| 2018-01-24T19:13:18.297-0800 I SHARDING [conn20] about to log metadata event into changelog: { _id: "st-bartle1-2018-01-24T19:13:18.297-0800-5a694b4e11d49588fffd8d0a", server: "st-bartle1", clientAddr: "127.0.0.1:61532", time: new Date(1516849998297), what: "split", ns: "TestDB.Coll", details: { before: { min: { _id: MinKey }, max: { _id: MaxKey }, lastmod: Timestamp 1000|0, lastmodEpoch: ObjectId('5a694b4963764b2fc2e39329') }, left: { min: { _id: MinKey }, max: { _id: 0.0 }, lastmod: Timestamp 1000|1, lastmodEpoch: ObjectId('5a694b4963764b2fc2e39329') }, right: { min: { _id: 0.0 }, max: { _id: MaxKey }, lastmod: Timestamp 1000|2, lastmodEpoch: ObjectId('5a694b4963764b2fc2e39329') } } } c20004| 2018-01-24T19:13:18.299-0800 D TRACKING [conn12] Cmd: find, TrackingId: 5a694b4e0ac607535dc579fc|5a694b4e0ac607535dc579ff c20004| 2018-01-24T19:13:18.300-0800 D TRACKING [conn12] Cmd: find, TrackingId: 5a694b4e0ac607535dc579fc|5a694b4e0ac607535dc57a00 d20000| 2018-01-24T19:13:18.308-0800 I SHARDING [conn3] Refreshing chunks for collection TestDB.Coll based on version 1|0||5a694b4963764b2fc2e39329 d20000| 2018-01-24T19:13:18.308-0800 D TRACKING [CatalogCacheLoader-0] Cmd: NotSet, TrackingId: 5a694b4e7ed89563ab5c9f50 c20004| 2018-01-24T19:13:18.308-0800 D TRACKING [conn15] Cmd: find, TrackingId: 5a694b4e7ed89563ab5c9f50|5a694b4e7ed89563ab5c9f51 c20002| 2018-01-24T19:13:18.309-0800 D TRACKING [conn20] Cmd: find, TrackingId: 5a694b4e7ed89563ab5c9f50|5a694b4e7ed89563ab5c9f52 d20000| 2018-01-24T19:13:18.309-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 1 ms and found version 1|2||5a694b4963764b2fc2e39329 d20000| 2018-01-24T19:13:18.309-0800 I SHARDING [conn3] Refreshing metadata for collection TestDB.Coll from collection version: 1|0||5a694b4963764b2fc2e39329, shard version: 1|0||5a694b4963764b2fc2e39329 to collection version: 1|2||5a694b4963764b2fc2e39329, shard version: 1|2||5a694b4963764b2fc2e39329 c20002| 2018-01-24T19:13:18.310-0800 D TRACKING [conn20] Cmd: findAndModify, TrackingId: 5a694b4e63764b2fc2e39335|5a694b4e63764b2fc2e39339|5a694b4e7ed89563ab5c9f53 d20000| 2018-01-24T19:13:18.319-0800 I SHARDING [conn3] distributed lock with ts: 5a694b4e7ed89563ab5c9f4a' unlocked. s20005| 2018-01-24T19:13:18.320-0800 I SHARDING [conn1] Refreshing chunks for collection TestDB.Coll based on version 1|0||5a694b4963764b2fc2e39329 s20005| 2018-01-24T19:13:18.320-0800 D TRACKING [CatalogCacheLoader-0] Cmd: NotSet, TrackingId: 5a694b4e63764b2fc2e3933b c20004| 2018-01-24T19:13:18.321-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b4e63764b2fc2e3933b|5a694b4e63764b2fc2e3933c c20002| 2018-01-24T19:13:18.321-0800 D TRACKING [conn14] Cmd: find, TrackingId: 5a694b4e63764b2fc2e3933b|5a694b4e63764b2fc2e3933d s20005| 2018-01-24T19:13:18.321-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 1 ms and found version 1|2||5a694b4963764b2fc2e39329 s20005| 2018-01-24T19:13:18.323-0800 I SHARDING [conn1] Refreshing chunks for collection TestDB.Coll based on version 1|2||5a694b4963764b2fc2e39329 s20005| 2018-01-24T19:13:18.323-0800 D TRACKING [CatalogCacheLoader-0] Cmd: NotSet, TrackingId: 5a694b4e63764b2fc2e39340 c20002| 2018-01-24T19:13:18.323-0800 D TRACKING [conn14] Cmd: find, TrackingId: 5a694b4e63764b2fc2e39340|5a694b4e63764b2fc2e39341 c20002| 2018-01-24T19:13:18.324-0800 D TRACKING [conn14] Cmd: find, TrackingId: 5a694b4e63764b2fc2e39340|5a694b4e63764b2fc2e39342 s20005| 2018-01-24T19:13:18.324-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 1 ms and found version 1|2||5a694b4963764b2fc2e39329 s20005| 2018-01-24T19:13:18.324-0800 D TRACKING [conn1] Cmd: moveChunk, TrackingId: 5a694b4e63764b2fc2e3933f c20002| 2018-01-24T19:13:18.324-0800 D TRACKING [conn14] Cmd: _configsvrMoveChunk, TrackingId: 5a694b4e63764b2fc2e3933f|5a694b4e63764b2fc2e39343 d20000| 2018-01-24T19:13:18.325-0800 D TRACKING [conn4] Cmd: serverStatus, TrackingId: 5a694b4e63764b2fc2e3933f|5a694b4e63764b2fc2e39343|5a694b4e11d49588fffd8d1d d20001| 2018-01-24T19:13:18.326-0800 D TRACKING [conn4] Cmd: serverStatus, TrackingId: 5a694b4e63764b2fc2e3933f|5a694b4e63764b2fc2e39343|5a694b4e11d49588fffd8d1e c20002| 2018-01-24T19:13:18.327-0800 I SHARDING [conn14] Refreshing chunks for collection TestDB.Coll based on version 0|0||000000000000000000000000 c20002| 2018-01-24T19:13:18.327-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 0 ms and found version 1|2||5a694b4963764b2fc2e39329 c20002| 2018-01-24T19:13:18.340-0800 I SHARDING [conn14] Refreshing chunks for collection TestDB.Coll based on version 1|2||5a694b4963764b2fc2e39329 c20002| 2018-01-24T19:13:18.341-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 0 ms and found version 1|2||5a694b4963764b2fc2e39329 c20002| 2018-01-24T19:13:18.353-0800 I SHARDING [conn14] distributed lock 'TestDB.Coll' acquired for 'Migrating chunk(s) in collection TestDB.Coll', ts : 5a694b3011d49588fffd8b64 d20000| 2018-01-24T19:13:18.354-0800 D TRACKING [conn4] Cmd: moveChunk, TrackingId: 5a694b4e7ed89563ab5c9f56 c20002| 2018-01-24T19:13:18.354-0800 D TRACKING [conn20] Cmd: find, TrackingId: 5a694b4e7ed89563ab5c9f56|5a694b4e7ed89563ab5c9f57 c20002| 2018-01-24T19:13:18.354-0800 D TRACKING [conn20] Cmd: create, TrackingId: 5a694b4e7ed89563ab5c9f56|5a694b4e7ed89563ab5c9f58 d20000| 2018-01-24T19:13:18.355-0800 I SHARDING [conn4] about to log metadata event into changelog: { _id: "st-bartle1-2018-01-24T19:13:18.355-0800-5a694b4e7ed89563ab5c9f59", server: "st-bartle1", clientAddr: "127.0.0.1:61557", time: new Date(1516849998355), what: "moveChunk.from", ns: "TestDB.Coll", details: { min: { _id: MinKey }, max: { _id: 0.0 }, step 1 of 7: 0, to: "shard0000", from: "shard0000", note: "aborted" } } c20002| 2018-01-24T19:13:18.355-0800 D TRACKING [conn20] Cmd: insert, TrackingId: 5a694b4e7ed89563ab5c9f56|5a694b4e7ed89563ab5c9f5a c20002| 2018-01-24T19:13:18.378-0800 I SHARDING [NetworkInterfaceASIO-ShardRegistry-0] distributed lock with ts: '5a694b3011d49588fffd8b64' and _id: 'TestDB.Coll' unlocked. c20002| 2018-01-24T19:13:18.379-0800 I SHARDING [conn14] Refreshing chunks for collection TestDB.Coll based on version 1|2||5a694b4963764b2fc2e39329 c20002| 2018-01-24T19:13:18.379-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 0 ms and found version 1|2||5a694b4963764b2fc2e39329 s20005| 2018-01-24T19:13:18.391-0800 I SHARDING [conn1] Refreshing chunks for collection TestDB.Coll based on version 1|2||5a694b4963764b2fc2e39329 s20005| 2018-01-24T19:13:18.391-0800 D TRACKING [CatalogCacheLoader-0] Cmd: NotSet, TrackingId: 5a694b4e63764b2fc2e39345 c20004| 2018-01-24T19:13:18.391-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b4e63764b2fc2e39345|5a694b4e63764b2fc2e39346 c20003| 2018-01-24T19:13:18.392-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b4e63764b2fc2e39345|5a694b4e63764b2fc2e39347 c20003| 2018-01-24T19:13:18.650-0800 I COMMAND [conn10] command config.chunks appName: "MongoDB Shell" command: find { find: "chunks", filter: { ns: "TestDB.Coll", lastmod: { $gte: Timestamp 1000|2 } }, sort: { lastmod: 1 }, readConcern: { level: "majority", afterOpTime: { ts: Timestamp 1516849998000|13, t: 1 } }, maxTimeMS: 30000 } planSummary: IXSCAN { ns: 1, lastmod: 1 } keysExamined:1 docsExamined:1 fromMultiPlanner:1 cursorExhausted:1 numYields:0 nreturned:1 reslen:511 locks:{ Global: { acquireCount: { r: 2 } }, Database: { acquireCount: { r: 1 } }, Collection: { acquireCount: { r: 1 } } } protocol:op_command 257ms s20005| 2018-01-24T19:13:18.650-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 258 ms and found version 1|2||5a694b4963764b2fc2e39329 s20005| 2018-01-24T19:13:18.650-0800 D TRACKING [conn1] Cmd: moveChunk, TrackingId: 5a694b4e63764b2fc2e39344 c20002| 2018-01-24T19:13:18.651-0800 D TRACKING [conn14] Cmd: _configsvrMoveChunk, TrackingId: 5a694b4e63764b2fc2e39344|5a694b4e63764b2fc2e39348 d20000| 2018-01-24T19:13:18.652-0800 D TRACKING [conn4] Cmd: serverStatus, TrackingId: 5a694b4e63764b2fc2e39344|5a694b4e63764b2fc2e39348|5a694b4e11d49588fffd8d44 d20001| 2018-01-24T19:13:18.654-0800 D TRACKING [conn4] Cmd: serverStatus, TrackingId: 5a694b4e63764b2fc2e39344|5a694b4e63764b2fc2e39348|5a694b4e11d49588fffd8d46 c20002| 2018-01-24T19:13:18.655-0800 I SHARDING [conn14] Refreshing chunks for collection TestDB.Coll based on version 1|2||5a694b4963764b2fc2e39329 c20002| 2018-01-24T19:13:18.655-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 0 ms and found version 1|2||5a694b4963764b2fc2e39329 c20002| 2018-01-24T19:13:18.658-0800 W SHARDING [replSetDistLockPinger] pinging failed for distributed lock pinger :: caused by :: LockStateChangeFailed: findAndModify query predicate didn't match any lock document c20002| 2018-01-24T19:13:18.667-0800 I SHARDING [conn14] Refreshing chunks for collection TestDB.Coll based on version 1|2||5a694b4963764b2fc2e39329 c20002| 2018-01-24T19:13:18.668-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 0 ms and found version 1|2||5a694b4963764b2fc2e39329 c20002| 2018-01-24T19:13:18.676-0800 I SHARDING [conn14] distributed lock 'TestDB.Coll' acquired for 'Migrating chunk(s) in collection TestDB.Coll', ts : 5a694b3011d49588fffd8b64 d20000| 2018-01-24T19:13:18.677-0800 D TRACKING [conn4] Cmd: moveChunk, TrackingId: 5a694b4e7ed89563ab5c9f5b c20002| 2018-01-24T19:13:18.677-0800 D TRACKING [conn20] Cmd: find, TrackingId: 5a694b4e7ed89563ab5c9f5b|5a694b4e7ed89563ab5c9f5c d20000| 2018-01-24T19:13:18.678-0800 I SHARDING [conn4] Starting chunk migration ns: TestDB.Coll, [{ _id: 0.0 }, { _id: MaxKey }), fromShard: shard0000, toShard: shard0001 with expected collection version 1|2||5a694b4963764b2fc2e39329 d20000| 2018-01-24T19:13:18.678-0800 I SHARDING [conn4] Refreshing chunks for collection TestDB.Coll based on version 1|2||5a694b4963764b2fc2e39329 d20000| 2018-01-24T19:13:18.678-0800 D TRACKING [CatalogCacheLoader-0] Cmd: NotSet, TrackingId: 5a694b4e7ed89563ab5c9f5d c20003| 2018-01-24T19:13:18.678-0800 D TRACKING [conn16] Cmd: find, TrackingId: 5a694b4e7ed89563ab5c9f5d|5a694b4e7ed89563ab5c9f5e c20003| 2018-01-24T19:13:23.675-0800 I COMMAND [conn16] command config.collections command: find { find: "collections", filter: { _id: "TestDB.Coll" }, readConcern: { level: "majority", afterOpTime: { ts: Timestamp 1516849998000|16, t: 1 } }, limit: 1, maxTimeMS: 30000 } planSummary: IDHACK keysExamined:1 docsExamined:1 cursorExhausted:1 numYields:0 nreturned:1 reslen:471 locks:{ Global: { acquireCount: { r: 2 } }, Database: { acquireCount: { r: 1 } }, Collection: { acquireCount: { r: 1 } } } protocol:op_command 4996ms c20003| 2018-01-24T19:13:23.675-0800 D TRACKING [conn16] Cmd: find, TrackingId: 5a694b4e7ed89563ab5c9f5d|5a694b537ed89563ab5c9f5f d20000| 2018-01-24T19:13:23.676-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 4998 ms and found version 1|2||5a694b4963764b2fc2e39329 d20000| 2018-01-24T19:13:23.676-0800 I SHARDING [conn4] about to log metadata event into changelog: { _id: "st-bartle1-2018-01-24T19:13:23.676-0800-5a694b537ed89563ab5c9f60", server: "st-bartle1", clientAddr: "127.0.0.1:61557", time: new Date(1516850003676), what: "moveChunk.start", ns: "TestDB.Coll", details: { min: { _id: 0.0 }, max: { _id: MaxKey }, from: "shard0000", to: "shard0001" } } c20002| 2018-01-24T19:13:23.676-0800 D TRACKING [conn20] Cmd: insert, TrackingId: 5a694b4e7ed89563ab5c9f5b|5a694b537ed89563ab5c9f61 d20000| 2018-01-24T19:13:23.689-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Connecting to st-bartle1:20001 d20001| 2018-01-24T19:13:23.692-0800 I NETWORK [thread1] connection accepted from 127.0.0.1:61571 #5 (5 connections now open) d20001| 2018-01-24T19:13:23.693-0800 I NETWORK [conn5] received client metadata from 127.0.0.1:61571 conn5: { driver: { name: "NetworkInterfaceASIO-ShardRegistry", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } d20000| 2018-01-24T19:13:23.693-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Successfully connected to st-bartle1:20001, took 4ms (1 connections now open to st-bartle1:20001) d20001| 2018-01-24T19:13:23.693-0800 D TRACKING [conn5] Cmd: _recvChunkStart, TrackingId: 5a694b53d77dd3276fd2ce60 c20003| 2018-01-24T19:13:23.694-0800 D TRACKING [conn15] Cmd: find, TrackingId: 5a694b53d77dd3276fd2ce60|5a694b53d77dd3276fd2ce61 c20002| 2018-01-24T19:13:27.626-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Connecting to st-bartle1:20000 d20000| 2018-01-24T19:13:27.628-0800 I NETWORK [thread1] connection accepted from 127.0.0.1:61574 #7 (7 connections now open) d20000| 2018-01-24T19:13:27.628-0800 I NETWORK [conn7] received client metadata from 127.0.0.1:61574 conn7: { driver: { name: "NetworkInterfaceASIO-ShardRegistry", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } c20002| 2018-01-24T19:13:27.628-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Successfully connected to st-bartle1:20000, took 2ms (2 connections now open to st-bartle1:20000) d20000| 2018-01-24T19:13:27.628-0800 D TRACKING [conn7] Cmd: features, TrackingId: 5a694b3611d49588fffd8bc0|5a694b5711d49588fffd8d67 d20001| 2018-01-24T19:13:27.629-0800 D TRACKING [conn4] Cmd: features, TrackingId: 5a694b3611d49588fffd8bc0|5a694b5711d49588fffd8d68 s20005| 2018-01-24T19:13:28.005-0800 D NETWORK [ReplicaSetMonitor-TaskExecutor-0] Refreshing replica set test-configRS took 0 msec s20005| 2018-01-24T19:13:28.014-0800 D SHARDING [shard registry reload] Reloading shardRegistry s20005| 2018-01-24T19:13:28.014-0800 D TRACKING [shard registry reload] Cmd: NotSet, TrackingId: 5a694b5863764b2fc2e39349 c20003| 2018-01-24T19:13:28.014-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b5863764b2fc2e39349|5a694b5863764b2fc2e3934a s20005| 2018-01-24T19:13:28.015-0800 D SHARDING [shard registry reload] found 2 shards listed on config server(s) with lastVisibleOpTime: { ts: Timestamp 1516849998000|16, t: 1 } s20005| 2018-01-24T19:13:28.027-0800 D TRACKING [replSetDistLockPinger] Cmd: NotSet, TrackingId: 5a694b5863764b2fc2e3934b s20005| 2018-01-24T19:13:28.027-0800 D TRACKING [UserCacheInvalidator] Cmd: NotSet, TrackingId: 5a694b5863764b2fc2e3934d s20005| 2018-01-24T19:13:28.027-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Connecting to st-bartle1:20002 c20002| 2018-01-24T19:13:28.027-0800 D TRACKING [conn13] Cmd: findAndModify, TrackingId: 5a694b5863764b2fc2e3934b|5a694b5863764b2fc2e3934c c20002| 2018-01-24T19:13:28.032-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61576 #24 (20 connections now open) c20002| 2018-01-24T19:13:28.033-0800 I NETWORK [conn24] received client metadata from 127.0.0.1:61576 conn24: { driver: { name: "NetworkInterfaceASIO-ShardRegistry", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } c20003| 2018-01-24T19:13:28.033-0800 I COMMAND [conn15] command config.databases command: find { find: "databases", filter: { _id: "TestDB" }, readConcern: { level: "majority", afterOpTime: { ts: Timestamp 1516850003000|1, t: 1 } }, limit: 1, maxTimeMS: 30000 } planSummary: IDHACK keysExamined:1 docsExamined:1 cursorExhausted:1 numYields:0 nreturned:1 reslen:416 locks:{ Global: { acquireCount: { r: 2 } }, Database: { acquireCount: { r: 1 } }, Collection: { acquireCount: { r: 1 } } } protocol:op_command 4339ms s20005| 2018-01-24T19:13:28.034-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Successfully connected to st-bartle1:20002, took 7ms (3 connections now open to st-bartle1:20002) c20002| 2018-01-24T19:13:28.035-0800 D TRACKING [conn24] Cmd: _getUserCacheGeneration, TrackingId: 5a694b5863764b2fc2e3934d|5a694b5863764b2fc2e3934e c20003| 2018-01-24T19:13:28.035-0800 D TRACKING [conn15] Cmd: find, TrackingId: 5a694b53d77dd3276fd2ce60|5a694b58d77dd3276fd2ce62 d20001| 2018-01-24T19:13:28.036-0800 I SHARDING [conn5] Refreshing chunks for collection TestDB.Coll based on version 0|0||000000000000000000000000 d20001| 2018-01-24T19:13:28.036-0800 D TRACKING [CatalogCacheLoader-0] Cmd: NotSet, TrackingId: 5a694b58d77dd3276fd2ce63 c20002| 2018-01-24T19:13:28.036-0800 D TRACKING [conn23] Cmd: find, TrackingId: 5a694b58d77dd3276fd2ce63|5a694b58d77dd3276fd2ce64 c20002| 2018-01-24T19:13:28.036-0800 D TRACKING [conn23] Cmd: find, TrackingId: 5a694b58d77dd3276fd2ce63|5a694b58d77dd3276fd2ce65 d20001| 2018-01-24T19:13:28.037-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 1 ms and found version 1|2||5a694b4963764b2fc2e39329 d20001| 2018-01-24T19:13:28.037-0800 I SHARDING [conn5] Marking collection TestDB.Coll as sharded with collection version: 1|2||5a694b4963764b2fc2e39329, shard version: 0|0||5a694b4963764b2fc2e39329 d20001| 2018-01-24T19:13:28.037-0800 I COMMAND [conn5] command admin.$cmd command: _recvChunkStart { _recvChunkStart: "TestDB.Coll", sessionId: "shard0000_shard0001_5a694b537ed89563ab5c9f62", configdb: "test-configRS/st-bartle1:20002,st-bartle1:20003,st-bartle1:20004", from: "st-bartle1:20000", fromShardName: "shard0000", toShardName: "shard0001", min: { _id: 0.0 }, max: { _id: MaxKey }, shardKeyPattern: { _id: 1.0 } } numYields:0 reslen:84 locks:{ Global: { acquireCount: { r: 3, w: 1 } }, Database: { acquireCount: { r: 1, w: 1 } }, Collection: { acquireCount: { r: 1, W: 1 } } } protocol:op_command 4343ms d20001| 2018-01-24T19:13:28.037-0800 I SHARDING [migrateThread] Starting receiving end of migration of chunk { _id: 0.0 } -> { _id: MaxKey } for collection TestDB.Coll from st-bartle1:20000 at epoch 5a694b4963764b2fc2e39329 with session id shard0000_shard0001_5a694b537ed89563ab5c9f62 d20000| 2018-01-24T19:13:28.038-0800 I NETWORK [thread1] connection accepted from 127.0.0.1:61577 #8 (8 connections now open) d20000| 2018-01-24T19:13:28.038-0800 I NETWORK [conn8] received client metadata from 127.0.0.1:61577 conn8: { driver: { name: "MongoDB Internal Client", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } d20001| 2018-01-24T19:13:28.038-0800 I NETWORK [migrateThread] Successfully connected to st-bartle1:20000 (1 connections now open to st-bartle1:20000 with a 0 second timeout) d20000| 2018-01-24T19:13:28.038-0800 I SHARDING [conn4] moveChunk data transfer progress: { active: true, sessionId: "shard0000_shard0001_5a694b537ed89563ab5c9f62", ns: "TestDB.Coll", from: "st-bartle1:20000", min: { _id: 0.0 }, max: { _id: MaxKey }, shardKeyPattern: { _id: 1.0 }, state: "ready", counts: { cloned: 0, clonedBytes: 0, catchup: 0, steady: 0 }, ok: 1.0 } mem used: 0 documents remaining to clone: 1 d20000| 2018-01-24T19:13:28.041-0800 I SHARDING [conn4] moveChunk data transfer progress: { active: true, sessionId: "shard0000_shard0001_5a694b537ed89563ab5c9f62", ns: "TestDB.Coll", from: "st-bartle1:20000", min: { _id: 0.0 }, max: { _id: MaxKey }, shardKeyPattern: { _id: 1.0 }, state: "ready", counts: { cloned: 0, clonedBytes: 0, catchup: 0, steady: 0 }, ok: 1.0 } mem used: 0 documents remaining to clone: 1 d20000| 2018-01-24T19:13:28.046-0800 I SHARDING [conn4] moveChunk data transfer progress: { active: true, sessionId: "shard0000_shard0001_5a694b537ed89563ab5c9f62", ns: "TestDB.Coll", from: "st-bartle1:20000", min: { _id: 0.0 }, max: { _id: MaxKey }, shardKeyPattern: { _id: 1.0 }, state: "ready", counts: { cloned: 0, clonedBytes: 0, catchup: 0, steady: 0 }, ok: 1.0 } mem used: 0 documents remaining to clone: 1 d20000| 2018-01-24T19:13:28.057-0800 I SHARDING [conn4] moveChunk data transfer progress: { active: true, sessionId: "shard0000_shard0001_5a694b537ed89563ab5c9f62", ns: "TestDB.Coll", from: "st-bartle1:20000", min: { _id: 0.0 }, max: { _id: MaxKey }, shardKeyPattern: { _id: 1.0 }, state: "ready", counts: { cloned: 0, clonedBytes: 0, catchup: 0, steady: 0 }, ok: 1.0 } mem used: 0 documents remaining to clone: 1 d20001| 2018-01-24T19:13:28.067-0800 I SHARDING [migrateThread] Deleter starting delete for: TestDB.Coll from { _id: 0.0 } -> { _id: MaxKey }, with opId: 75 d20001| 2018-01-24T19:13:28.067-0800 I SHARDING [migrateThread] rangeDeleter deleted 0 documents for TestDB.Coll from { _id: 0.0 } -> { _id: MaxKey } d20001| 2018-01-24T19:13:28.068-0800 I SHARDING [migrateThread] Waiting for replication to catch up before entering critical section d20001| 2018-01-24T19:13:28.068-0800 I SHARDING [migrateThread] migrate commit succeeded flushing to secondaries for 'TestDB.Coll' { _id: 0.0 } -> { _id: MaxKey } d20000| 2018-01-24T19:13:28.075-0800 I SHARDING [conn4] moveChunk data transfer progress: { active: true, sessionId: "shard0000_shard0001_5a694b537ed89563ab5c9f62", ns: "TestDB.Coll", from: "st-bartle1:20000", min: { _id: 0.0 }, max: { _id: MaxKey }, shardKeyPattern: { _id: 1.0 }, state: "steady", counts: { cloned: 1, clonedBytes: 44, catchup: 0, steady: 0 }, ok: 1.0 } mem used: 0 documents remaining to clone: 0 d20000| 2018-01-24T19:13:28.075-0800 I SHARDING [conn4] Migration successfully entered critical section d20001| 2018-01-24T19:13:28.079-0800 I SHARDING [migrateThread] migrate commit succeeded flushing to secondaries for 'TestDB.Coll' { _id: 0.0 } -> { _id: MaxKey } d20001| 2018-01-24T19:13:28.079-0800 D TRACKING [migrateThread] Cmd: NotSet, TrackingId: 5a694b58d77dd3276fd2ce6c c20002| 2018-01-24T19:13:28.080-0800 D TRACKING [conn23] Cmd: create, TrackingId: 5a694b58d77dd3276fd2ce6c|5a694b58d77dd3276fd2ce6d d20001| 2018-01-24T19:13:28.080-0800 I SHARDING [migrateThread] about to log metadata event into changelog: { _id: "st-bartle1-2018-01-24T19:13:28.080-0800-5a694b58d77dd3276fd2ce6e", server: "st-bartle1", clientAddr: "", time: new Date(1516850008080), what: "moveChunk.to", ns: "TestDB.Coll", details: { min: { _id: 0.0 }, max: { _id: MaxKey }, step 1 of 6: 30, step 2 of 6: 0, step 3 of 6: 0, step 4 of 6: 0, step 5 of 6: 11, step 6 of 6: 0, note: "success" } } c20002| 2018-01-24T19:13:28.080-0800 D TRACKING [conn23] Cmd: insert, TrackingId: 5a694b58d77dd3276fd2ce6c|5a694b58d77dd3276fd2ce6f c20002| 2018-01-24T19:13:28.090-0800 D TRACKING [conn20] Cmd: _configsvrCommitChunkMigration, TrackingId: 5a694b4e7ed89563ab5c9f5b|5a694b587ed89563ab5c9f70 d20000| 2018-01-24T19:13:28.105-0800 I SHARDING [conn4] Refreshing chunks for collection TestDB.Coll based on version 1|2||5a694b4963764b2fc2e39329 d20000| 2018-01-24T19:13:28.105-0800 D TRACKING [CatalogCacheLoader-0] Cmd: NotSet, TrackingId: 5a694b587ed89563ab5c9f71 c20002| 2018-01-24T19:13:28.105-0800 D TRACKING [conn20] Cmd: find, TrackingId: 5a694b587ed89563ab5c9f71|5a694b587ed89563ab5c9f72 c20002| 2018-01-24T19:13:28.106-0800 D TRACKING [conn20] Cmd: find, TrackingId: 5a694b587ed89563ab5c9f71|5a694b587ed89563ab5c9f73 d20000| 2018-01-24T19:13:28.106-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 1 ms and found version 2|1||5a694b4963764b2fc2e39329 d20000| 2018-01-24T19:13:28.106-0800 I SHARDING [conn4] Refreshing metadata for collection TestDB.Coll from collection version: 1|2||5a694b4963764b2fc2e39329, shard version: 1|2||5a694b4963764b2fc2e39329 to collection version: 2|1||5a694b4963764b2fc2e39329, shard version: 2|1||5a694b4963764b2fc2e39329 d20000| 2018-01-24T19:13:28.106-0800 I SHARDING [conn4] Migration succeeded and updated collection version to 2|1||5a694b4963764b2fc2e39329 d20000| 2018-01-24T19:13:28.106-0800 I SHARDING [conn4] about to log metadata event into changelog: { _id: "st-bartle1-2018-01-24T19:13:28.106-0800-5a694b587ed89563ab5c9f75", server: "st-bartle1", clientAddr: "127.0.0.1:61557", time: new Date(1516850008106), what: "moveChunk.commit", ns: "TestDB.Coll", details: { min: { _id: 0.0 }, max: { _id: MaxKey }, from: "shard0000", to: "shard0001" } } c20002| 2018-01-24T19:13:28.107-0800 D TRACKING [conn20] Cmd: insert, TrackingId: 5a694b4e7ed89563ab5c9f5b|5a694b587ed89563ab5c9f76 d20000| 2018-01-24T19:13:28.115-0800 I SHARDING [conn4] doing delete inline for cleanup of chunk data d20000| 2018-01-24T19:13:28.116-0800 I SHARDING [conn4] Deleter starting delete for: TestDB.Coll from { _id: 0.0 } -> { _id: MaxKey }, with opId: 77 d20000| 2018-01-24T19:13:28.116-0800 I SHARDING [conn4] rangeDeleter deleted 1 documents for TestDB.Coll from { _id: 0.0 } -> { _id: MaxKey } d20000| 2018-01-24T19:13:28.116-0800 I SHARDING [conn4] about to log metadata event into changelog: { _id: "st-bartle1-2018-01-24T19:13:28.116-0800-5a694b587ed89563ab5c9f77", server: "st-bartle1", clientAddr: "127.0.0.1:61557", time: new Date(1516850008116), what: "moveChunk.from", ns: "TestDB.Coll", details: { min: { _id: 0.0 }, max: { _id: MaxKey }, step 1 of 7: 0, step 2 of 7: 4998, step 3 of 7: 4361, step 4 of 7: 37, step 5 of 7: 15, step 6 of 7: 25, step 7 of 7: 0, to: "shard0001", from: "shard0000", note: "success" } } c20002| 2018-01-24T19:13:28.116-0800 D TRACKING [conn20] Cmd: insert, TrackingId: 5a694b4e7ed89563ab5c9f5b|5a694b587ed89563ab5c9f78 d20000| 2018-01-24T19:13:28.126-0800 I COMMAND [conn4] command TestDB.Coll appName: "MongoDB Shell" command: moveChunk { moveChunk: "TestDB.Coll", shardVersion: [ Timestamp 1000|2, ObjectId('5a694b4963764b2fc2e39329') ], epoch: ObjectId('5a694b4963764b2fc2e39329'), configdb: "test-configRS/st-bartle1:20002,st-bartle1:20003,st-bartle1:20004", fromShard: "shard0000", toShard: "shard0001", min: { _id: 0.0 }, max: { _id: MaxKey }, chunkVersion: [ Timestamp 1000|2, ObjectId('5a694b4963764b2fc2e39329') ], maxChunkSizeBytes: 67108864, waitForDelete: true, takeDistLock: false } numYields:0 reslen:74 locks:{ Global: { acquireCount: { r: 22, w: 8 } }, Database: { acquireCount: { r: 7, w: 6, W: 2 } }, Collection: { acquireCount: { r: 7, w: 2, W: 4 } } } protocol:op_command 9449ms c20002| 2018-01-24T19:13:28.137-0800 I SHARDING [NetworkInterfaceASIO-ShardRegistry-0] distributed lock with ts: '5a694b3011d49588fffd8b64' and _id: 'TestDB.Coll' unlocked. c20002| 2018-01-24T19:13:28.137-0800 I SHARDING [conn14] Refreshing chunks for collection TestDB.Coll based on version 1|2||5a694b4963764b2fc2e39329 c20002| 2018-01-24T19:13:28.138-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 0 ms and found version 2|1||5a694b4963764b2fc2e39329 c20002| 2018-01-24T19:13:28.147-0800 I COMMAND [conn14] command admin.$cmd appName: "MongoDB Shell" command: _configsvrMoveChunk { _configsvrMoveChunk: 1, _id: "TestDB.Coll-_id_0.0", ns: "TestDB.Coll", min: { _id: 0.0 }, max: { _id: MaxKey }, shard: "shard0000", lastmod: Timestamp 1000|2, lastmodEpoch: ObjectId('5a694b4963764b2fc2e39329'), toShard: "shard0001", maxChunkSizeBytes: 67108864, secondaryThrottle: {}, waitForDelete: true, writeConcern: { w: "majority", wtimeout: 15000 } } numYields:0 reslen:308 locks:{ Global: { acquireCount: { r: 10, w: 6 } }, Database: { acquireCount: { r: 2, w: 6 } }, Collection: { acquireCount: { r: 2, w: 3 } }, Metadata: { acquireCount: { w: 3 } }, oplog: { acquireCount: { w: 3 } } } protocol:op_command 9496ms s20005| 2018-01-24T19:13:28.149-0800 I SHARDING [conn1] Refreshing chunks for collection TestDB.Coll based on version 1|2||5a694b4963764b2fc2e39329 s20005| 2018-01-24T19:13:28.149-0800 D TRACKING [CatalogCacheLoader-0] Cmd: NotSet, TrackingId: 5a694b5863764b2fc2e39350 c20002| 2018-01-24T19:13:28.149-0800 D TRACKING [conn14] Cmd: find, TrackingId: 5a694b5863764b2fc2e39350|5a694b5863764b2fc2e39351 c20002| 2018-01-24T19:13:28.149-0800 D TRACKING [conn14] Cmd: find, TrackingId: 5a694b5863764b2fc2e39350|5a694b5863764b2fc2e39352 s20005| 2018-01-24T19:13:28.150-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 1 ms and found version 2|1||5a694b4963764b2fc2e39329 s20005| 2018-01-24T19:13:28.150-0800 D SHARDING [conn1] setting shard version of 2|1||5a694b4963764b2fc2e39329 for TestDB.Coll on shard shard0000:st-bartle1:20000 s20005| 2018-01-24T19:13:28.150-0800 D SHARDING [conn1] setShardVersion shard0000 st-bartle1:20000 TestDB.Coll { setShardVersion: "TestDB.Coll", init: false, authoritative: false, configdb: "test-configRS/st-bartle1:20002,st-bartle1:20003,st-bartle1:20004", shard: "shard0000", shardHost: "st-bartle1:20000", version: Timestamp 2000|1, versionEpoch: ObjectId('5a694b4963764b2fc2e39329') } 3 s20005| 2018-01-24T19:13:28.150-0800 D SHARDING [conn1] setShardVersion failed! s20005| { oldVersion: Timestamp 0|0, oldVersionEpoch: ObjectId('000000000000000000000000'), ns: "TestDB.Coll", need_authoritative: true, ok: 0.0, errmsg: "verifying drop on 'TestDB.Coll'" } s20005| 2018-01-24T19:13:28.150-0800 I SHARDING [conn1] Refreshing chunks for collection TestDB.Coll based on version 2|1||5a694b4963764b2fc2e39329 s20005| 2018-01-24T19:13:28.150-0800 D TRACKING [CatalogCacheLoader-0] Cmd: NotSet, TrackingId: 5a694b5863764b2fc2e39353 c20002| 2018-01-24T19:13:28.150-0800 D TRACKING [conn14] Cmd: find, TrackingId: 5a694b5863764b2fc2e39353|5a694b5863764b2fc2e39354 c20002| 2018-01-24T19:13:28.151-0800 D TRACKING [conn14] Cmd: find, TrackingId: 5a694b5863764b2fc2e39353|5a694b5863764b2fc2e39355 s20005| 2018-01-24T19:13:28.151-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 1 ms and found version 2|1||5a694b4963764b2fc2e39329 s20005| 2018-01-24T19:13:28.151-0800 D SHARDING [conn1] setting shard version of 2|1||5a694b4963764b2fc2e39329 for TestDB.Coll on shard shard0000:st-bartle1:20000 s20005| 2018-01-24T19:13:28.151-0800 D SHARDING [conn1] setShardVersion shard0000 st-bartle1:20000 TestDB.Coll { setShardVersion: "TestDB.Coll", init: false, authoritative: true, configdb: "test-configRS/st-bartle1:20002,st-bartle1:20003,st-bartle1:20004", shard: "shard0000", shardHost: "st-bartle1:20000", version: Timestamp 2000|1, versionEpoch: ObjectId('5a694b4963764b2fc2e39329') } 3 s20005| 2018-01-24T19:13:28.152-0800 D SHARDING [conn1] setShardVersion success: { oldVersion: Timestamp 0|0, oldVersionEpoch: ObjectId('000000000000000000000000'), ok: 1.0 } s20005| 2018-01-24T19:13:28.152-0800 D NETWORK [conn1] creating new connection to:st-bartle1:20001 s20005| 2018-01-24T19:13:28.153-0800 D NETWORK [conn1] connected to server st-bartle1:20001 (127.0.0.1) d20001| 2018-01-24T19:13:28.153-0800 I NETWORK [thread1] connection accepted from 127.0.0.1:61578 #6 (6 connections now open) d20001| 2018-01-24T19:13:28.153-0800 I NETWORK [conn6] received client metadata from 127.0.0.1:61578 conn6: { driver: { name: "MongoDB Internal Client", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } s20005| 2018-01-24T19:13:28.153-0800 D NETWORK [conn1] connected connection! s20005| 2018-01-24T19:13:28.153-0800 I NETWORK [conn1] Successfully connected to st-bartle1:20001 (1 connections now open to st-bartle1:20001 with a 0 second timeout) s20005| 2018-01-24T19:13:28.153-0800 D SHARDING [conn1] setting shard version of 2|0||5a694b4963764b2fc2e39329 for TestDB.Coll on shard shard0001:st-bartle1:20001 s20005| 2018-01-24T19:13:28.153-0800 D SHARDING [conn1] setShardVersion shard0001 st-bartle1:20001 TestDB.Coll { setShardVersion: "TestDB.Coll", init: false, authoritative: false, configdb: "test-configRS/st-bartle1:20002,st-bartle1:20003,st-bartle1:20004", shard: "shard0001", shardHost: "st-bartle1:20001", version: Timestamp 2000|0, versionEpoch: ObjectId('5a694b4963764b2fc2e39329') } 3 s20005| 2018-01-24T19:13:28.153-0800 D SHARDING [conn1] setShardVersion failed! s20005| { oldVersion: Timestamp 0|0, oldVersionEpoch: ObjectId('000000000000000000000000'), ns: "TestDB.Coll", need_authoritative: true, ok: 0.0, errmsg: "first time for collection 'TestDB.Coll'" } s20005| 2018-01-24T19:13:28.154-0800 I SHARDING [conn1] Refreshing chunks for collection TestDB.Coll based on version 2|1||5a694b4963764b2fc2e39329 s20005| 2018-01-24T19:13:28.154-0800 D TRACKING [CatalogCacheLoader-0] Cmd: NotSet, TrackingId: 5a694b5863764b2fc2e39356 c20003| 2018-01-24T19:13:28.154-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b5863764b2fc2e39356|5a694b5863764b2fc2e39357 s20006| 2018-01-24T19:13:28.214-0800 D NETWORK [ReplicaSetMonitor-TaskExecutor-0] Refreshing replica set test-configRS took 0 msec s20006| 2018-01-24T19:13:28.217-0800 D SHARDING [shard registry reload] Reloading shardRegistry s20006| 2018-01-24T19:13:28.217-0800 D TRACKING [shard registry reload] Cmd: NotSet, TrackingId: 5a694b580ac607535dc57a01 c20004| 2018-01-24T19:13:28.217-0800 D TRACKING [conn12] Cmd: find, TrackingId: 5a694b580ac607535dc57a01|5a694b580ac607535dc57a02 s20006| 2018-01-24T19:13:28.218-0800 D SHARDING [shard registry reload] found 2 shards listed on config server(s) with lastVisibleOpTime: { ts: Timestamp 1516850008000|7, t: 1 } s20006| 2018-01-24T19:13:28.225-0800 D TRACKING [UserCacheInvalidator] Cmd: NotSet, TrackingId: 5a694b580ac607535dc57a03 c20002| 2018-01-24T19:13:28.225-0800 D TRACKING [conn17] Cmd: _getUserCacheGeneration, TrackingId: 5a694b580ac607535dc57a03|5a694b580ac607535dc57a04 s20006| 2018-01-24T19:13:28.228-0800 D TRACKING [replSetDistLockPinger] Cmd: NotSet, TrackingId: 5a694b580ac607535dc57a05 c20002| 2018-01-24T19:13:28.229-0800 D TRACKING [conn17] Cmd: findAndModify, TrackingId: 5a694b580ac607535dc57a05|5a694b580ac607535dc57a06 c20004| 2018-01-24T19:13:28.231-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b5863764b2fc2e39356|5a694b5863764b2fc2e39358 s20005| 2018-01-24T19:13:28.231-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 77 ms and found version 2|1||5a694b4963764b2fc2e39329 s20005| 2018-01-24T19:13:28.231-0800 D SHARDING [conn1] setting shard version of 2|0||5a694b4963764b2fc2e39329 for TestDB.Coll on shard shard0001:st-bartle1:20001 s20005| 2018-01-24T19:13:28.231-0800 D SHARDING [conn1] setShardVersion shard0001 st-bartle1:20001 TestDB.Coll { setShardVersion: "TestDB.Coll", init: false, authoritative: true, configdb: "test-configRS/st-bartle1:20002,st-bartle1:20003,st-bartle1:20004", shard: "shard0001", shardHost: "st-bartle1:20001", version: Timestamp 2000|0, versionEpoch: ObjectId('5a694b4963764b2fc2e39329') } 3 d20001| 2018-01-24T19:13:28.232-0800 I SHARDING [conn6] Refreshing chunks for collection TestDB.Coll based on version 1|2||5a694b4963764b2fc2e39329 d20001| 2018-01-24T19:13:28.232-0800 D TRACKING [CatalogCacheLoader-0] Cmd: NotSet, TrackingId: 5a694b58d77dd3276fd2ce74 d20001| 2018-01-24T19:13:28.232-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Connecting to st-bartle1:20004 c20004| 2018-01-24T19:13:28.234-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61580 #16 (14 connections now open) c20004| 2018-01-24T19:13:28.234-0800 I NETWORK [conn16] received client metadata from 127.0.0.1:61580 conn16: { driver: { name: "NetworkInterfaceASIO-ShardRegistry", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } d20001| 2018-01-24T19:13:28.234-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Successfully connected to st-bartle1:20004, took 2ms (1 connections now open to st-bartle1:20004) c20004| 2018-01-24T19:13:28.234-0800 D TRACKING [conn16] Cmd: find, TrackingId: 5a694b58d77dd3276fd2ce74|5a694b58d77dd3276fd2ce75 c20003| 2018-01-24T19:13:28.235-0800 D TRACKING [conn15] Cmd: find, TrackingId: 5a694b58d77dd3276fd2ce74|5a694b58d77dd3276fd2ce76 d20001| 2018-01-24T19:13:28.235-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 3 ms and found version 2|1||5a694b4963764b2fc2e39329 d20001| 2018-01-24T19:13:28.235-0800 I SHARDING [conn6] Refreshing metadata for collection TestDB.Coll from collection version: 1|2||5a694b4963764b2fc2e39329, shard version: 0|0||5a694b4963764b2fc2e39329 to collection version: 2|1||5a694b4963764b2fc2e39329, shard version: 2|0||5a694b4963764b2fc2e39329 s20005| 2018-01-24T19:13:28.236-0800 D SHARDING [conn1] setShardVersion success: { oldVersion: Timestamp 0|0, oldVersionEpoch: ObjectId('000000000000000000000000'), ok: 1.0 } s20006| 2018-01-24T19:13:28.237-0800 D TRACKING [conn1] Cmd: count, TrackingId: 5a694b580ac607535dc57a07 c20002| 2018-01-24T19:13:28.237-0800 D TRACKING [conn16] Cmd: find, TrackingId: 5a694b580ac607535dc57a07|5a694b580ac607535dc57a08 c20003| 2018-01-24T19:13:28.237-0800 D TRACKING [conn12] Cmd: find, TrackingId: 5a694b580ac607535dc57a07|5a694b580ac607535dc57a09 s20005| 2018-01-24T19:13:28.268-0800 D TRACKING [Uptime reporter] Cmd: NotSet, TrackingId: 5a694b5863764b2fc2e39359 c20002| 2018-01-24T19:13:28.268-0800 D TRACKING [conn14] Cmd: update, TrackingId: 5a694b5863764b2fc2e39359|5a694b5863764b2fc2e3935a s20006| 2018-01-24T19:13:28.270-0800 I SHARDING [conn1] Refreshing chunks for collection TestDB.Coll based on version 0|0||000000000000000000000000 s20006| 2018-01-24T19:13:28.271-0800 D EXECUTOR [CatalogCacheLoader-0] starting thread in pool CatalogCacheLoader s20006| 2018-01-24T19:13:28.271-0800 D TRACKING [CatalogCacheLoader-0] Cmd: NotSet, TrackingId: 5a694b580ac607535dc57a0a c20002| 2018-01-24T19:13:28.271-0800 D TRACKING [conn16] Cmd: find, TrackingId: 5a694b580ac607535dc57a0a|5a694b580ac607535dc57a0b c20003| 2018-01-24T19:13:28.271-0800 D TRACKING [conn12] Cmd: find, TrackingId: 5a694b580ac607535dc57a0a|5a694b580ac607535dc57a0c s20006| 2018-01-24T19:13:28.272-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 1 ms and found version 2|1||5a694b4963764b2fc2e39329 s20006| 2018-01-24T19:13:28.272-0800 D NETWORK [conn1] creating new connection to:st-bartle1:20000 s20006| 2018-01-24T19:13:28.273-0800 D NETWORK [conn1] connected to server st-bartle1:20000 (127.0.0.1) d20000| 2018-01-24T19:13:28.273-0800 I NETWORK [thread1] connection accepted from 127.0.0.1:61581 #9 (9 connections now open) d20000| 2018-01-24T19:13:28.273-0800 I NETWORK [conn9] received client metadata from 127.0.0.1:61581 conn9: { driver: { name: "MongoDB Internal Client", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } s20006| 2018-01-24T19:13:28.273-0800 D NETWORK [conn1] connected connection! s20006| 2018-01-24T19:13:28.273-0800 I NETWORK [conn1] Successfully connected to st-bartle1:20000 (1 connections now open to st-bartle1:20000 with a 0 second timeout) s20006| 2018-01-24T19:13:28.273-0800 D SHARDING [conn1] setting shard version of 2|1||5a694b4963764b2fc2e39329 for TestDB.Coll on shard shard0000:st-bartle1:20000 s20006| 2018-01-24T19:13:28.273-0800 D SHARDING [conn1] setShardVersion shard0000 st-bartle1:20000 TestDB.Coll { setShardVersion: "TestDB.Coll", init: false, authoritative: false, configdb: "test-configRS/st-bartle1:20002,st-bartle1:20003,st-bartle1:20004", shard: "shard0000", shardHost: "st-bartle1:20000", version: Timestamp 2000|1, versionEpoch: ObjectId('5a694b4963764b2fc2e39329') } 1 s20006| 2018-01-24T19:13:28.274-0800 D SHARDING [conn1] setShardVersion failed! s20006| { oldVersion: Timestamp 0|0, oldVersionEpoch: ObjectId('000000000000000000000000'), ns: "TestDB.Coll", need_authoritative: true, ok: 0.0, errmsg: "verifying drop on 'TestDB.Coll'" } s20006| 2018-01-24T19:13:28.274-0800 I SHARDING [conn1] Refreshing chunks for collection TestDB.Coll based on version 2|1||5a694b4963764b2fc2e39329 s20006| 2018-01-24T19:13:28.274-0800 D TRACKING [CatalogCacheLoader-0] Cmd: NotSet, TrackingId: 5a694b580ac607535dc57a0d c20002| 2018-01-24T19:13:28.274-0800 D TRACKING [conn16] Cmd: find, TrackingId: 5a694b580ac607535dc57a0d|5a694b580ac607535dc57a0e c20004| 2018-01-24T19:13:28.274-0800 D TRACKING [conn12] Cmd: find, TrackingId: 5a694b580ac607535dc57a0d|5a694b580ac607535dc57a0f s20006| 2018-01-24T19:13:28.275-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 0 ms and found version 2|1||5a694b4963764b2fc2e39329 s20006| 2018-01-24T19:13:28.275-0800 D SHARDING [conn1] setting shard version of 2|1||5a694b4963764b2fc2e39329 for TestDB.Coll on shard shard0000:st-bartle1:20000 s20006| 2018-01-24T19:13:28.275-0800 D SHARDING [conn1] setShardVersion shard0000 st-bartle1:20000 TestDB.Coll { setShardVersion: "TestDB.Coll", init: false, authoritative: true, configdb: "test-configRS/st-bartle1:20002,st-bartle1:20003,st-bartle1:20004", shard: "shard0000", shardHost: "st-bartle1:20000", version: Timestamp 2000|1, versionEpoch: ObjectId('5a694b4963764b2fc2e39329') } 1 s20006| 2018-01-24T19:13:28.275-0800 D SHARDING [conn1] setShardVersion success: { oldVersion: Timestamp 0|0, oldVersionEpoch: ObjectId('000000000000000000000000'), ok: 1.0 } s20006| 2018-01-24T19:13:28.275-0800 D NETWORK [conn1] creating new connection to:st-bartle1:20001 s20006| 2018-01-24T19:13:28.276-0800 D NETWORK [conn1] connected to server st-bartle1:20001 (127.0.0.1) d20001| 2018-01-24T19:13:28.276-0800 I NETWORK [thread1] connection accepted from 127.0.0.1:61582 #7 (7 connections now open) d20001| 2018-01-24T19:13:28.276-0800 I NETWORK [conn7] received client metadata from 127.0.0.1:61582 conn7: { driver: { name: "MongoDB Internal Client", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } s20006| 2018-01-24T19:13:28.276-0800 D NETWORK [conn1] connected connection! s20006| 2018-01-24T19:13:28.276-0800 I NETWORK [conn1] Successfully connected to st-bartle1:20001 (1 connections now open to st-bartle1:20001 with a 0 second timeout) s20006| 2018-01-24T19:13:28.276-0800 D SHARDING [conn1] setting shard version of 2|0||5a694b4963764b2fc2e39329 for TestDB.Coll on shard shard0001:st-bartle1:20001 s20006| 2018-01-24T19:13:28.276-0800 D SHARDING [conn1] setShardVersion shard0001 st-bartle1:20001 TestDB.Coll { setShardVersion: "TestDB.Coll", init: false, authoritative: false, configdb: "test-configRS/st-bartle1:20002,st-bartle1:20003,st-bartle1:20004", shard: "shard0001", shardHost: "st-bartle1:20001", version: Timestamp 2000|0, versionEpoch: ObjectId('5a694b4963764b2fc2e39329') } 1 s20006| 2018-01-24T19:13:28.277-0800 D SHARDING [conn1] setShardVersion failed! s20006| { oldVersion: Timestamp 0|0, oldVersionEpoch: ObjectId('000000000000000000000000'), ns: "TestDB.Coll", need_authoritative: true, ok: 0.0, errmsg: "verifying drop on 'TestDB.Coll'" } s20006| 2018-01-24T19:13:28.277-0800 I SHARDING [conn1] Refreshing chunks for collection TestDB.Coll based on version 2|1||5a694b4963764b2fc2e39329 s20006| 2018-01-24T19:13:28.277-0800 D TRACKING [CatalogCacheLoader-0] Cmd: NotSet, TrackingId: 5a694b580ac607535dc57a10 c20004| 2018-01-24T19:13:28.277-0800 D TRACKING [conn12] Cmd: find, TrackingId: 5a694b580ac607535dc57a10|5a694b580ac607535dc57a11 c20004| 2018-01-24T19:13:28.278-0800 D TRACKING [conn12] Cmd: find, TrackingId: 5a694b580ac607535dc57a10|5a694b580ac607535dc57a12 c20002| 2018-01-24T19:13:28.278-0800 D TRACKING [conn14] Cmd: find, TrackingId: 5a694b5863764b2fc2e39359|5a694b5863764b2fc2e3935b s20006| 2018-01-24T19:13:28.278-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 1 ms and found version 2|1||5a694b4963764b2fc2e39329 s20006| 2018-01-24T19:13:28.278-0800 D SHARDING [conn1] setting shard version of 2|0||5a694b4963764b2fc2e39329 for TestDB.Coll on shard shard0001:st-bartle1:20001 s20006| 2018-01-24T19:13:28.278-0800 D SHARDING [conn1] setShardVersion shard0001 st-bartle1:20001 TestDB.Coll { setShardVersion: "TestDB.Coll", init: false, authoritative: true, configdb: "test-configRS/st-bartle1:20002,st-bartle1:20003,st-bartle1:20004", shard: "shard0001", shardHost: "st-bartle1:20001", version: Timestamp 2000|0, versionEpoch: ObjectId('5a694b4963764b2fc2e39329') } 1 c20002| 2018-01-24T19:13:28.278-0800 D TRACKING [conn14] Cmd: find, TrackingId: 5a694b5863764b2fc2e39359|5a694b5863764b2fc2e3935c s20006| 2018-01-24T19:13:28.279-0800 D SHARDING [conn1] setShardVersion success: { oldVersion: Timestamp 0|0, oldVersionEpoch: ObjectId('000000000000000000000000'), ok: 1.0 } c20002| 2018-01-24T19:13:28.279-0800 D TRACKING [conn14] Cmd: find, TrackingId: 5a694b5863764b2fc2e39359|5a694b5863764b2fc2e3935d Resetting db path '/data/db/mongod-20007' 2018-01-24T19:13:28.285-0800 I - [thread1] shell: started program (sh72451): /usr/local/opt/mongodb@3.4/bin/mongod --shardsvr --port 20007 --dbpath /data/db/mongod-20007 --setParameter enableTestCommands=1 --setParameter logComponentVerbosity={tracking:1} 2018-01-24T19:13:28.286-0800 W NETWORK [thread1] Failed to connect to 127.0.0.1:20007, in(checking socket for error after poll), reason: Connection refused s20006| 2018-01-24T19:13:28.300-0800 D TRACKING [Uptime reporter] Cmd: NotSet, TrackingId: 5a694b580ac607535dc57a13 c20002| 2018-01-24T19:13:28.301-0800 D TRACKING [conn16] Cmd: update, TrackingId: 5a694b580ac607535dc57a13|5a694b580ac607535dc57a14 c20004| 2018-01-24T19:13:28.310-0800 D TRACKING [conn12] Cmd: find, TrackingId: 5a694b580ac607535dc57a13|5a694b580ac607535dc57a15 c20004| 2018-01-24T19:13:28.310-0800 D TRACKING [conn12] Cmd: find, TrackingId: 5a694b580ac607535dc57a13|5a694b580ac607535dc57a16 c20004| 2018-01-24T19:13:28.311-0800 D TRACKING [conn12] Cmd: find, TrackingId: 5a694b580ac607535dc57a13|5a694b580ac607535dc57a17 d20007| 2018-01-24T19:13:28.345-0800 I CONTROL [initandlisten] MongoDB starting : pid=72451 port=20007 dbpath=/data/db/mongod-20007 64-bit host=st-bartle1 d20007| 2018-01-24T19:13:28.347-0800 I CONTROL [initandlisten] db version v3.4.10 d20007| 2018-01-24T19:13:28.347-0800 I CONTROL [initandlisten] git version: 078f28920cb24de0dd479b5ea6c66c644f6326e9 d20007| 2018-01-24T19:13:28.347-0800 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2n 7 Dec 2017 d20007| 2018-01-24T19:13:28.347-0800 I CONTROL [initandlisten] allocator: system d20007| 2018-01-24T19:13:28.347-0800 I CONTROL [initandlisten] modules: none d20007| 2018-01-24T19:13:28.347-0800 I CONTROL [initandlisten] build environment: d20007| 2018-01-24T19:13:28.347-0800 I CONTROL [initandlisten] distarch: x86_64 d20007| 2018-01-24T19:13:28.347-0800 I CONTROL [initandlisten] target_arch: x86_64 d20007| 2018-01-24T19:13:28.347-0800 I CONTROL [initandlisten] options: { net: { port: 20007 }, setParameter: { enableTestCommands: "1", logComponentVerbosity: "{tracking:1}" }, sharding: { clusterRole: "shardsvr" }, storage: { dbPath: "/data/db/mongod-20007" } } d20007| 2018-01-24T19:13:28.349-0800 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=7680M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0), d20007| 2018-01-24T19:13:28.429-0800 I CONTROL [initandlisten] d20007| 2018-01-24T19:13:28.429-0800 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database. d20007| 2018-01-24T19:13:28.429-0800 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted. d20007| 2018-01-24T19:13:28.429-0800 I CONTROL [initandlisten] d20007| 2018-01-24T19:13:28.430-0800 W SHARDING [initandlisten] Started with --shardsvr, but no shardIdentity document was found on disk in admin.system.version. This most likely means this server has not yet been added to a sharded cluster. d20007| 2018-01-24T19:13:28.449-0800 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory '/data/db/mongod-20007/diagnostic.data' d20007| 2018-01-24T19:13:28.449-0800 I NETWORK [thread1] waiting for connections on port 20007 d20007| 2018-01-24T19:13:28.487-0800 I NETWORK [thread1] connection accepted from 127.0.0.1:61584 #1 (1 connection now open) d20007| 2018-01-24T19:13:28.488-0800 I NETWORK [conn1] received client metadata from 127.0.0.1:61584 conn1: { application: { name: "MongoDB Shell" }, driver: { name: "MongoDB Internal Client", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } s20005| 2018-01-24T19:13:28.489-0800 D TRACKING [conn1] Cmd: addShard, TrackingId: 5a694b5863764b2fc2e3935e c20002| 2018-01-24T19:13:28.489-0800 D TRACKING [conn14] Cmd: _configsvrAddShard, TrackingId: 5a694b5863764b2fc2e3935e|5a694b5863764b2fc2e3935f c20002| 2018-01-24T19:13:28.489-0800 I ASIO [AddShard-TaskExecutor-0] Connecting to st-bartle1:20007 d20007| 2018-01-24T19:13:28.491-0800 I NETWORK [thread1] connection accepted from 127.0.0.1:61586 #2 (2 connections now open) d20007| 2018-01-24T19:13:28.491-0800 I NETWORK [conn2] received client metadata from 127.0.0.1:61586 conn2: { driver: { name: "AddShard-TaskExecutor", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } c20002| 2018-01-24T19:13:28.491-0800 I ASIO [AddShard-TaskExecutor-0] Successfully connected to st-bartle1:20007, took 2ms (1 connections now open to st-bartle1:20007) d20000| 2018-01-24T19:13:28.503-0800 D TRACKING [shard registry reload] Cmd: NotSet, TrackingId: 5a694b587ed89563ab5c9f81 c20004| 2018-01-24T19:13:28.504-0800 D TRACKING [conn15] Cmd: find, TrackingId: 5a694b587ed89563ab5c9f81|5a694b587ed89563ab5c9f82 d20000| 2018-01-24T19:13:28.516-0800 D TRACKING [replSetDistLockPinger] Cmd: NotSet, TrackingId: 5a694b587ed89563ab5c9f83 c20002| 2018-01-24T19:13:28.516-0800 D TRACKING [conn20] Cmd: findAndModify, TrackingId: 5a694b587ed89563ab5c9f83|5a694b587ed89563ab5c9f84 d20007| 2018-01-24T19:13:28.531-0800 I INDEX [conn2] build index on: admin.system.version properties: { v: 2, key: { version: 1 }, name: "incompatible_with_version_32", ns: "admin.system.version" } d20007| 2018-01-24T19:13:28.531-0800 I INDEX [conn2] building index using bulk method; build may temporarily use up to 500 megabytes of RAM d20007| 2018-01-24T19:13:28.536-0800 I INDEX [conn2] build index done. scanned 0 total records. 0 secs d20007| 2018-01-24T19:13:28.537-0800 I COMMAND [conn2] setting featureCompatibilityVersion to 3.4 d20007| 2018-01-24T19:13:28.538-0800 I SHARDING [conn2] initializing sharding state with: { _id: "shardIdentity", configsvrConnectionString: "test-configRS/st-bartle1:20002,st-bartle1:20003,st-bartle1:20004", shardName: "zzz-shard", clusterId: ObjectId('5a694b3311d49588fffd8b86') } d20007| 2018-01-24T19:13:28.538-0800 I SHARDING [conn2] first cluster operation detected, adding sharding hook to enable versioning and authentication to remote servers d20007| 2018-01-24T19:13:28.551-0800 I NETWORK [conn2] Starting new replica set monitor for test-configRS/st-bartle1:20002,st-bartle1:20003,st-bartle1:20004 d20007| 2018-01-24T19:13:28.552-0800 I SHARDING [thread2] creating distributed lock ping thread for process st-bartle1:20007:1516850008:-5232161229722016649 (sleeping for 30000ms) c20002| 2018-01-24T19:13:28.552-0800 I SHARDING [conn14] going to insert new entry for shard into config.shards: { _id: "zzz-shard", host: "st-bartle1:20007", state: 1 } c20002| 2018-01-24T19:13:28.554-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61587 #25 (21 connections now open) c20003| 2018-01-24T19:13:28.554-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61588 #17 (14 connections now open) c20003| 2018-01-24T19:13:28.554-0800 I NETWORK [conn17] received client metadata from 127.0.0.1:61588 conn17: { driver: { name: "MongoDB Internal Client", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } c20004| 2018-01-24T19:13:28.554-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61589 #17 (15 connections now open) c20002| 2018-01-24T19:13:28.554-0800 I NETWORK [conn25] received client metadata from 127.0.0.1:61587 conn25: { driver: { name: "MongoDB Internal Client", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } c20004| 2018-01-24T19:13:28.554-0800 I NETWORK [conn17] received client metadata from 127.0.0.1:61589 conn17: { driver: { name: "MongoDB Internal Client", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } d20007| 2018-01-24T19:13:28.554-0800 I NETWORK [replSetDistLockPinger] Successfully connected to st-bartle1:20003 (1 connections now open to st-bartle1:20003 with a 5 second timeout) d20007| 2018-01-24T19:13:28.555-0800 I NETWORK [shard registry reload] Successfully connected to st-bartle1:20002 (1 connections now open to st-bartle1:20002 with a 5 second timeout) d20007| 2018-01-24T19:13:28.555-0800 I NETWORK [ReplicaSetMonitor-TaskExecutor-0] Successfully connected to st-bartle1:20004 (1 connections now open to st-bartle1:20004 with a 5 second timeout) d20007| 2018-01-24T19:13:28.555-0800 D TRACKING [shard registry reload] Cmd: NotSet, TrackingId: 5a694b58835e9f5133498f24 d20007| 2018-01-24T19:13:28.555-0800 D TRACKING [replSetDistLockPinger] Cmd: NotSet, TrackingId: 5a694b58835e9f5133498f26 d20007| 2018-01-24T19:13:28.555-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Connecting to st-bartle1:20002 d20007| 2018-01-24T19:13:28.555-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Connecting to st-bartle1:20002 c20002| 2018-01-24T19:13:28.557-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61591 #26 (22 connections now open) d20007| 2018-01-24T19:13:28.557-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Successfully connected to st-bartle1:20002, took 2ms (2 connections now open to st-bartle1:20002) c20002| 2018-01-24T19:13:28.557-0800 I NETWORK [conn26] received client metadata from 127.0.0.1:61591 conn26: { driver: { name: "NetworkInterfaceASIO-ShardRegistry", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } d20007| 2018-01-24T19:13:28.559-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Successfully connected to st-bartle1:20002, took 4ms (2 connections now open to st-bartle1:20002) c20002| 2018-01-24T19:13:28.558-0800 D TRACKING [conn26] Cmd: findAndModify, TrackingId: 5a694b58835e9f5133498f26|5a694b58835e9f5133498f27 c20002| 2018-01-24T19:13:28.558-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61593 #27 (23 connections now open) c20002| 2018-01-24T19:13:28.558-0800 I NETWORK [conn27] received client metadata from 127.0.0.1:61593 conn27: { driver: { name: "NetworkInterfaceASIO-ShardRegistry", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } c20002| 2018-01-24T19:13:28.559-0800 D TRACKING [conn27] Cmd: find, TrackingId: 5a694b58835e9f5133498f24|5a694b58835e9f5133498f25 c20002| 2018-01-24T19:13:28.560-0800 I SHARDING [conn14] about to log metadata event into changelog: { _id: "st-bartle1-2018-01-24T19:13:28.560-0800-5a694b5811d49588fffd8dbf", server: "st-bartle1", clientAddr: "127.0.0.1:61507", time: new Date(1516850008560), what: "addShard", ns: "", details: { name: "zzz-shard", host: "st-bartle1:20007" } } d20007| 2018-01-24T19:13:28.567-0800 W SHARDING [replSetDistLockPinger] pinging failed for distributed lock pinger :: caused by :: LockStateChangeFailed: findAndModify query predicate didn't match any lock document c20003| 2018-01-24T19:13:28.572-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b5863764b2fc2e3935e|5a694b5863764b2fc2e39360 d20001| 2018-01-24T19:13:28.665-0800 D TRACKING [shard registry reload] Cmd: NotSet, TrackingId: 5a694b58d77dd3276fd2ce7d c20002| 2018-01-24T19:13:28.665-0800 D TRACKING [conn23] Cmd: find, TrackingId: 5a694b58d77dd3276fd2ce7d|5a694b58d77dd3276fd2ce7e d20001| 2018-01-24T19:13:28.679-0800 D TRACKING [replSetDistLockPinger] Cmd: NotSet, TrackingId: 5a694b58d77dd3276fd2ce7f c20002| 2018-01-24T19:13:28.679-0800 D TRACKING [conn23] Cmd: findAndModify, TrackingId: 5a694b58d77dd3276fd2ce7f|5a694b58d77dd3276fd2ce80 c20003| 2018-01-24T19:13:28.681-0800 I COMMAND [conn10] command config.shards appName: "MongoDB Shell" command: find { find: "shards", readConcern: { level: "majority", afterOpTime: { ts: Timestamp 1516850008000|14, t: 1 } }, maxTimeMS: 30000 } planSummary: COLLSCAN keysExamined:0 docsExamined:3 cursorExhausted:1 numYields:0 nreturned:3 reslen:547 locks:{ Global: { acquireCount: { r: 2 } }, Database: { acquireCount: { r: 1 } }, Collection: { acquireCount: { r: 1 } } } protocol:op_command 108ms s20005| 2018-01-24T19:13:28.681-0800 D SHARDING [conn1] found 3 shards listed on config server(s) with lastVisibleOpTime: { ts: Timestamp 1516850008000|14, t: 1 } s20005| 2018-01-24T19:13:28.681-0800 D TRACKING [conn1] Cmd: movePrimary, TrackingId: 5a694b5863764b2fc2e39361 c20002| 2018-01-24T19:13:28.682-0800 D TRACKING [conn14] Cmd: find, TrackingId: 5a694b5863764b2fc2e39361|5a694b5863764b2fc2e39362 c20004| 2018-01-24T19:13:28.682-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b5863764b2fc2e39361|5a694b5863764b2fc2e39363 s20005| 2018-01-24T19:13:28.682-0800 I COMMAND [conn1] Moving TestDB primary from: shard0000:st-bartle1:20000 to: zzz-shard:st-bartle1:20007 s20005| 2018-01-24T19:13:28.682-0800 D SHARDING [conn1] trying to acquire new distributed lock for TestDB-movePrimary ( lock timeout : 900000 ms, ping interval : 30000 ms, process : st-bartle1:20005:1516849977:5275881621408687346 ) with lockSessionID: 5a694b5863764b2fc2e39364, why: Moving primary shard of TestDB c20002| 2018-01-24T19:13:28.682-0800 D TRACKING [conn14] Cmd: findAndModify, TrackingId: 5a694b5863764b2fc2e39361|5a694b5863764b2fc2e39365 s20005| 2018-01-24T19:13:28.693-0800 I SHARDING [conn1] distributed lock 'TestDB-movePrimary' acquired for 'Moving primary shard of TestDB', ts : 5a694b5863764b2fc2e39364 c20004| 2018-01-24T19:13:28.694-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b5863764b2fc2e39361|5a694b5863764b2fc2e39366 s20005| 2018-01-24T19:13:28.694-0800 I SHARDING [conn1] about to log metadata event into changelog: { _id: "st-bartle1-2018-01-24T19:13:28.694-0800-5a694b5863764b2fc2e39367", server: "st-bartle1", clientAddr: "127.0.0.1:61510", time: new Date(1516850008694), what: "movePrimary.start", ns: "TestDB", details: { database: "TestDB", from: "shard0000:st-bartle1:20000", to: "zzz-shard:st-bartle1:20007", shardedCollections: [ "TestDB.Coll" ] } } c20002| 2018-01-24T19:13:28.694-0800 D TRACKING [conn14] Cmd: insert, TrackingId: 5a694b5863764b2fc2e39361|5a694b5863764b2fc2e39368 s20005| 2018-01-24T19:13:28.704-0800 D NETWORK [conn1] creating new connection to:st-bartle1:20007 s20005| 2018-01-24T19:13:28.705-0800 D NETWORK [conn1] connected to server st-bartle1:20007 (127.0.0.1) d20007| 2018-01-24T19:13:28.705-0800 I NETWORK [thread1] connection accepted from 127.0.0.1:61594 #3 (3 connections now open) d20007| 2018-01-24T19:13:28.705-0800 I NETWORK [conn3] received client metadata from 127.0.0.1:61594 conn3: { driver: { name: "MongoDB Internal Client", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } s20005| 2018-01-24T19:13:28.705-0800 D NETWORK [conn1] connected connection! s20005| 2018-01-24T19:13:28.705-0800 I NETWORK [conn1] Successfully connected to st-bartle1:20007 (1 connections now open to st-bartle1:20007 with a 0 second timeout) d20000| 2018-01-24T19:13:28.706-0800 I NETWORK [thread1] connection accepted from 127.0.0.1:61595 #10 (10 connections now open) d20000| 2018-01-24T19:13:28.707-0800 I - [conn10] end connection 127.0.0.1:61595 (10 connections now open) d20000| 2018-01-24T19:13:28.707-0800 I NETWORK [thread1] connection accepted from 127.0.0.1:61596 #11 (10 connections now open) d20000| 2018-01-24T19:13:28.707-0800 I NETWORK [conn11] received client metadata from 127.0.0.1:61596 conn11: { driver: { name: "MongoDB Internal Client", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } d20000| 2018-01-24T19:13:28.708-0800 I - [conn11] end connection 127.0.0.1:61596 (10 connections now open) c20002| 2018-01-24T19:13:28.708-0800 D TRACKING [conn14] Cmd: find, TrackingId: 5a694b5863764b2fc2e39361|5a694b5863764b2fc2e39369 c20002| 2018-01-24T19:13:28.708-0800 D TRACKING [conn14] Cmd: update, TrackingId: 5a694b5863764b2fc2e39361|5a694b5863764b2fc2e3936a s20005| 2018-01-24T19:13:28.719-0800 I SHARDING [conn1] about to log metadata event into changelog: { _id: "st-bartle1-2018-01-24T19:13:28.719-0800-5a694b5863764b2fc2e3936b", server: "st-bartle1", clientAddr: "127.0.0.1:61510", time: new Date(1516850008719), what: "movePrimary", ns: "TestDB", details: { database: "TestDB", from: "st-bartle1:20000", to: "zzz-shard:st-bartle1:20007", shardedCollections: [ "TestDB.Coll" ] } } c20002| 2018-01-24T19:13:28.721-0800 D TRACKING [conn14] Cmd: insert, TrackingId: 5a694b5863764b2fc2e39361|5a694b5863764b2fc2e3936c c20002| 2018-01-24T19:13:28.733-0800 D TRACKING [conn14] Cmd: findAndModify, TrackingId: 5a694b5863764b2fc2e39361|5a694b5863764b2fc2e3936d s20005| 2018-01-24T19:13:28.743-0800 I SHARDING [conn1] distributed lock with ts: 5a694b5863764b2fc2e39364' unlocked. s20005| 2018-01-24T19:13:28.744-0800 D TRACKING [conn1] Cmd: removeShard, TrackingId: 5a694b5863764b2fc2e3936e c20003| 2018-01-24T19:13:28.744-0800 D TRACKING [conn10] Cmd: count, TrackingId: 5a694b5863764b2fc2e3936e|5a694b5863764b2fc2e3936f c20003| 2018-01-24T19:13:33.740-0800 I COMMAND [conn10] command config.shards appName: "MongoDB Shell" command: count { count: "shards", query: { draining: true, _id: { $ne: "shard0001" } }, readConcern: { level: "majority", afterOpTime: { ts: Timestamp 1516850008000|20, t: 1 } }, maxTimeMS: 30000 } planSummary: IXSCAN { _id: 1 } keysExamined:3 docsExamined:2 numYields:0 reslen:295 locks:{ Global: { acquireCount: { r: 2 } }, Database: { acquireCount: { r: 1 } }, Collection: { acquireCount: { r: 1 } } } protocol:op_command 4996ms c20002| 2018-01-24T19:13:33.740-0800 D TRACKING [conn14] Cmd: count, TrackingId: 5a694b5863764b2fc2e3936e|5a694b5d63764b2fc2e39370 c20004| 2018-01-24T19:13:33.741-0800 D TRACKING [conn10] Cmd: count, TrackingId: 5a694b5863764b2fc2e3936e|5a694b5d63764b2fc2e39371 s20005| 2018-01-24T19:13:33.741-0800 I SHARDING [conn1] going to start draining shard: shard0001 c20002| 2018-01-24T19:13:33.741-0800 D TRACKING [conn14] Cmd: update, TrackingId: 5a694b5863764b2fc2e3936e|5a694b5d63764b2fc2e39372 c20002| 2018-01-24T19:13:33.762-0800 D TRACKING [conn14] Cmd: find, TrackingId: 5a694b5863764b2fc2e3936e|5a694b5d63764b2fc2e39373 s20005| 2018-01-24T19:13:33.762-0800 D SHARDING [conn1] found 3 shards listed on config server(s) with lastVisibleOpTime: { ts: Timestamp 1516850013000|1, t: 1 } s20005| 2018-01-24T19:13:33.762-0800 I SHARDING [conn1] about to log metadata event into changelog: { _id: "st-bartle1-2018-01-24T19:13:33.762-0800-5a694b5d63764b2fc2e39374", server: "st-bartle1", clientAddr: "127.0.0.1:61510", time: new Date(1516850013762), what: "removeShard.start", ns: "", details: { shard: "shard0001" } } c20002| 2018-01-24T19:13:33.762-0800 D TRACKING [conn14] Cmd: insert, TrackingId: 5a694b5863764b2fc2e3936e|5a694b5d63764b2fc2e39375 c20003| 2018-01-24T19:13:33.770-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b5863764b2fc2e3936e|5a694b5d63764b2fc2e39376 d20000| 2018-01-24T19:13:37.631-0800 D TRACKING [conn4] Cmd: features, TrackingId: 5a694b3611d49588fffd8bc0|5a694b6111d49588fffd8e08 d20001| 2018-01-24T19:13:37.631-0800 D TRACKING [conn4] Cmd: features, TrackingId: 5a694b3611d49588fffd8bc0|5a694b6111d49588fffd8e09 c20002| 2018-01-24T19:13:37.631-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Connecting to st-bartle1:20007 d20007| 2018-01-24T19:13:37.633-0800 I NETWORK [thread1] connection accepted from 127.0.0.1:61599 #4 (4 connections now open) d20007| 2018-01-24T19:13:37.633-0800 I NETWORK [conn4] received client metadata from 127.0.0.1:61599 conn4: { driver: { name: "NetworkInterfaceASIO-ShardRegistry", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } c20002| 2018-01-24T19:13:37.634-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Successfully connected to st-bartle1:20007, took 3ms (1 connections now open to st-bartle1:20007) d20007| 2018-01-24T19:13:37.634-0800 D TRACKING [conn4] Cmd: features, TrackingId: 5a694b3611d49588fffd8bc0|5a694b6111d49588fffd8e0a s20005| 2018-01-24T19:13:38.282-0800 D TRACKING [Uptime reporter] Cmd: NotSet, TrackingId: 5a694b6263764b2fc2e39377 c20002| 2018-01-24T19:13:38.282-0800 D TRACKING [conn14] Cmd: update, TrackingId: 5a694b6263764b2fc2e39377|5a694b6263764b2fc2e39378 c20003| 2018-01-24T19:13:38.284-0800 I COMMAND [conn10] command config.databases appName: "MongoDB Shell" command: find { find: "databases", filter: { primary: "shard0001" }, readConcern: { level: "majority", afterOpTime: { ts: Timestamp 1516850013000|2, t: 1 } }, maxTimeMS: 30000 } planSummary: COLLSCAN keysExamined:0 docsExamined:1 cursorExhausted:1 numYields:0 nreturned:0 reslen:355 locks:{ Global: { acquireCount: { r: 2 } }, Database: { acquireCount: { r: 1 } }, Collection: { acquireCount: { r: 1 } } } protocol:op_command 4514ms s20005| 2018-01-24T19:13:38.285-0800 D TRACKING [conn1] Cmd: removeShard, TrackingId: 5a694b6263764b2fc2e39379 c20002| 2018-01-24T19:13:38.286-0800 D TRACKING [conn13] Cmd: count, TrackingId: 5a694b6263764b2fc2e39379|5a694b6263764b2fc2e3937a c20002| 2018-01-24T19:13:38.286-0800 D TRACKING [conn13] Cmd: count, TrackingId: 5a694b6263764b2fc2e39379|5a694b6263764b2fc2e3937b c20004| 2018-01-24T19:13:38.287-0800 D TRACKING [conn10] Cmd: count, TrackingId: 5a694b6263764b2fc2e39379|5a694b6263764b2fc2e3937c c20003| 2018-01-24T19:13:38.287-0800 D TRACKING [conn10] Cmd: count, TrackingId: 5a694b6263764b2fc2e39379|5a694b6263764b2fc2e3937d c20002| 2018-01-24T19:13:38.287-0800 D TRACKING [conn13] Cmd: count, TrackingId: 5a694b6263764b2fc2e39379|5a694b6263764b2fc2e3937e c20004| 2018-01-24T19:13:38.288-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b6263764b2fc2e39379|5a694b6263764b2fc2e3937f c20003| 2018-01-24T19:13:38.288-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b6263764b2fc2e39379|5a694b6263764b2fc2e39380 s20005| 2018-01-24T19:13:38.288-0800 D TRACKING [conn1] Cmd: moveChunk, TrackingId: 5a694b6263764b2fc2e39381 c20002| 2018-01-24T19:13:38.289-0800 D TRACKING [conn13] Cmd: find, TrackingId: 5a694b6263764b2fc2e39381|5a694b6263764b2fc2e39382 c20003| 2018-01-24T19:13:38.289-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b6263764b2fc2e39381|5a694b6263764b2fc2e39383 s20005| 2018-01-24T19:13:38.289-0800 I SHARDING [conn1] Refreshing chunks for collection TestDB.Coll based on version 0|0||000000000000000000000000 c20002| 2018-01-24T19:13:38.290-0800 D TRACKING [conn13] Cmd: find, TrackingId: 5a694b6263764b2fc2e39384|5a694b6263764b2fc2e39385 d20000| 2018-01-24T19:13:38.291-0800 D TRACKING [conn4] Cmd: serverStatus, TrackingId: 5a694b6263764b2fc2e39381|5a694b6263764b2fc2e39387|5a694b6211d49588fffd8e0f s20005| 2018-01-24T19:13:38.289-0800 D TRACKING [CatalogCacheLoader-0] Cmd: NotSet, TrackingId: 5a694b6263764b2fc2e39384 c20002| 2018-01-24T19:13:38.290-0800 D TRACKING [conn13] Cmd: find, TrackingId: 5a694b6263764b2fc2e39384|5a694b6263764b2fc2e39386 s20005| 2018-01-24T19:13:38.290-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 0 ms and found version 2|1||5a694b4963764b2fc2e39329 c20002| 2018-01-24T19:13:38.290-0800 D TRACKING [conn13] Cmd: _configsvrMoveChunk, TrackingId: 5a694b6263764b2fc2e39381|5a694b6263764b2fc2e39387 d20001| 2018-01-24T19:13:38.292-0800 D TRACKING [conn4] Cmd: serverStatus, TrackingId: 5a694b6263764b2fc2e39381|5a694b6263764b2fc2e39387|5a694b6211d49588fffd8e10 d20007| 2018-01-24T19:13:38.292-0800 D TRACKING [conn4] Cmd: serverStatus, TrackingId: 5a694b6263764b2fc2e39381|5a694b6263764b2fc2e39387|5a694b6211d49588fffd8e11 c20002| 2018-01-24T19:13:38.293-0800 I SHARDING [conn13] Refreshing chunks for collection TestDB.Coll based on version 2|1||5a694b4963764b2fc2e39329 c20002| 2018-01-24T19:13:38.293-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 0 ms and found version 2|1||5a694b4963764b2fc2e39329 s20006| 2018-01-24T19:13:38.313-0800 D TRACKING [Uptime reporter] Cmd: NotSet, TrackingId: 5a694b620ac607535dc57a18 c20002| 2018-01-24T19:13:38.313-0800 D TRACKING [conn16] Cmd: update, TrackingId: 5a694b620ac607535dc57a18|5a694b620ac607535dc57a19 c20003| 2018-01-24T19:13:38.314-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b6263764b2fc2e39377|5a694b6263764b2fc2e39388 c20003| 2018-01-24T19:13:38.316-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b6263764b2fc2e39377|5a694b6263764b2fc2e39389 c20004| 2018-01-24T19:13:38.317-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b6263764b2fc2e39377|5a694b6263764b2fc2e3938a c20002| 2018-01-24T19:13:38.323-0800 I SHARDING [conn13] Refreshing chunks for collection TestDB.Coll based on version 2|1||5a694b4963764b2fc2e39329 c20002| 2018-01-24T19:13:38.324-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 0 ms and found version 2|1||5a694b4963764b2fc2e39329 c20002| 2018-01-24T19:13:38.329-0800 D TRACKING [conn16] Cmd: find, TrackingId: 5a694b620ac607535dc57a18|5a694b620ac607535dc57a1a c20004| 2018-01-24T19:13:38.330-0800 D TRACKING [conn12] Cmd: find, TrackingId: 5a694b620ac607535dc57a18|5a694b620ac607535dc57a1b c20004| 2018-01-24T19:13:38.330-0800 D TRACKING [conn12] Cmd: find, TrackingId: 5a694b620ac607535dc57a18|5a694b620ac607535dc57a1c c20002| 2018-01-24T19:13:38.339-0800 I SHARDING [conn13] distributed lock 'TestDB.Coll' acquired for 'Migrating chunk(s) in collection TestDB.Coll', ts : 5a694b3011d49588fffd8b64 d20001| 2018-01-24T19:13:38.340-0800 D TRACKING [conn4] Cmd: moveChunk, TrackingId: 5a694b62d77dd3276fd2ce81 c20004| 2018-01-24T19:13:38.340-0800 D TRACKING [conn16] Cmd: find, TrackingId: 5a694b62d77dd3276fd2ce81|5a694b62d77dd3276fd2ce82 d20001| 2018-01-24T19:13:38.340-0800 I SHARDING [conn4] Starting chunk migration ns: TestDB.Coll, [{ _id: 0.0 }, { _id: MaxKey }), fromShard: shard0001, toShard: zzz-shard with expected collection version 2|1||5a694b4963764b2fc2e39329 d20001| 2018-01-24T19:13:38.340-0800 I SHARDING [conn4] Refreshing chunks for collection TestDB.Coll based on version 2|1||5a694b4963764b2fc2e39329 d20001| 2018-01-24T19:13:38.340-0800 D TRACKING [CatalogCacheLoader-0] Cmd: NotSet, TrackingId: 5a694b62d77dd3276fd2ce83 c20004| 2018-01-24T19:13:38.340-0800 D TRACKING [conn16] Cmd: find, TrackingId: 5a694b62d77dd3276fd2ce83|5a694b62d77dd3276fd2ce84 c20002| 2018-01-24T19:13:38.341-0800 D TRACKING [conn23] Cmd: find, TrackingId: 5a694b62d77dd3276fd2ce83|5a694b62d77dd3276fd2ce85 d20001| 2018-01-24T19:13:38.341-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 0 ms and found version 2|1||5a694b4963764b2fc2e39329 d20001| 2018-01-24T19:13:38.341-0800 I SHARDING [conn4] about to log metadata event into changelog: { _id: "st-bartle1-2018-01-24T19:13:38.341-0800-5a694b62d77dd3276fd2ce86", server: "st-bartle1", clientAddr: "127.0.0.1:61559", time: new Date(1516850018341), what: "moveChunk.start", ns: "TestDB.Coll", details: { min: { _id: 0.0 }, max: { _id: MaxKey }, from: "shard0001", to: "zzz-shard" } } c20002| 2018-01-24T19:13:38.341-0800 D TRACKING [conn23] Cmd: insert, TrackingId: 5a694b62d77dd3276fd2ce81|5a694b62d77dd3276fd2ce87 d20001| 2018-01-24T19:13:38.352-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Connecting to st-bartle1:20007 d20007| 2018-01-24T19:13:38.354-0800 I NETWORK [thread1] connection accepted from 127.0.0.1:61601 #5 (5 connections now open) d20007| 2018-01-24T19:13:38.354-0800 I NETWORK [conn5] received client metadata from 127.0.0.1:61601 conn5: { driver: { name: "NetworkInterfaceASIO-ShardRegistry", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } d20001| 2018-01-24T19:13:38.354-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Successfully connected to st-bartle1:20007, took 2ms (1 connections now open to st-bartle1:20007) d20007| 2018-01-24T19:13:38.354-0800 D TRACKING [conn5] Cmd: _recvChunkStart, TrackingId: 5a694b62835e9f5133498f30 c20002| 2018-01-24T19:13:38.355-0800 D TRACKING [conn26] Cmd: find, TrackingId: 5a694b62835e9f5133498f30|5a694b62835e9f5133498f31 d20007| 2018-01-24T19:13:38.355-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Connecting to st-bartle1:20003 c20003| 2018-01-24T19:13:38.357-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61603 #18 (15 connections now open) c20003| 2018-01-24T19:13:38.357-0800 I NETWORK [conn18] received client metadata from 127.0.0.1:61603 conn18: { driver: { name: "NetworkInterfaceASIO-ShardRegistry", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } d20007| 2018-01-24T19:13:38.357-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Successfully connected to st-bartle1:20003, took 2ms (1 connections now open to st-bartle1:20003) c20003| 2018-01-24T19:13:38.357-0800 D TRACKING [conn18] Cmd: find, TrackingId: 5a694b62835e9f5133498f30|5a694b62835e9f5133498f32 c20003| 2018-01-24T19:13:43.349-0800 I COMMAND [conn18] command config.collections command: find { find: "collections", filter: { _id: /^TestDB\./ }, readConcern: { level: "majority", afterOpTime: { ts: Timestamp 1516850018000|5, t: 1 } }, maxTimeMS: 30000 } planSummary: IXSCAN { _id: 1 } keysExamined:1 docsExamined:1 cursorExhausted:1 numYields:0 nreturned:1 reslen:471 locks:{ Global: { acquireCount: { r: 2 } }, Database: { acquireCount: { r: 1 } }, Collection: { acquireCount: { r: 1 } } } protocol:op_command 4991ms d20007| 2018-01-24T19:13:43.349-0800 I SHARDING [conn5] Refreshing chunks for collection TestDB.Coll based on version 0|0||000000000000000000000000 d20007| 2018-01-24T19:13:43.350-0800 D TRACKING [CatalogCacheLoader-0] Cmd: NotSet, TrackingId: 5a694b67835e9f5133498f33 d20007| 2018-01-24T19:13:43.350-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Connecting to st-bartle1:20004 c20004| 2018-01-24T19:13:43.352-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61613 #18 (16 connections now open) c20004| 2018-01-24T19:13:43.353-0800 I NETWORK [conn18] received client metadata from 127.0.0.1:61613 conn18: { driver: { name: "NetworkInterfaceASIO-ShardRegistry", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } d20007| 2018-01-24T19:13:43.353-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Successfully connected to st-bartle1:20004, took 3ms (1 connections now open to st-bartle1:20004) c20004| 2018-01-24T19:13:43.353-0800 D TRACKING [conn18] Cmd: find, TrackingId: 5a694b67835e9f5133498f33|5a694b67835e9f5133498f34 c20004| 2018-01-24T19:13:43.354-0800 D TRACKING [conn18] Cmd: find, TrackingId: 5a694b67835e9f5133498f33|5a694b67835e9f5133498f35 d20007| 2018-01-24T19:13:43.355-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 5 ms and found version 2|1||5a694b4963764b2fc2e39329 d20007| 2018-01-24T19:13:43.355-0800 I SHARDING [conn5] Marking collection TestDB.Coll as sharded with collection version: 2|1||5a694b4963764b2fc2e39329, shard version: 0|0||5a694b4963764b2fc2e39329 d20007| 2018-01-24T19:13:43.355-0800 I COMMAND [conn5] command admin.$cmd command: _recvChunkStart { _recvChunkStart: "TestDB.Coll", sessionId: "shard0001_zzz-shard_5a694b62d77dd3276fd2ce88", configdb: "test-configRS/st-bartle1:20002,st-bartle1:20003,st-bartle1:20004", from: "st-bartle1:20001", fromShardName: "shard0001", toShardName: "zzz-shard", min: { _id: 0.0 }, max: { _id: MaxKey }, shardKeyPattern: { _id: 1.0 } } numYields:0 reslen:84 locks:{ Global: { acquireCount: { r: 3, w: 1 } }, Database: { acquireCount: { r: 1, w: 1 } }, Collection: { acquireCount: { r: 1, W: 1 } } } protocol:op_command 5000ms d20007| 2018-01-24T19:13:43.355-0800 I SHARDING [migrateThread] Starting receiving end of migration of chunk { _id: 0.0 } -> { _id: MaxKey } for collection TestDB.Coll from st-bartle1:20001 at epoch 5a694b4963764b2fc2e39329 with session id shard0001_zzz-shard_5a694b62d77dd3276fd2ce88 d20001| 2018-01-24T19:13:43.357-0800 I NETWORK [thread1] connection accepted from 127.0.0.1:61614 #8 (8 connections now open) d20001| 2018-01-24T19:13:43.357-0800 I NETWORK [conn8] received client metadata from 127.0.0.1:61614 conn8: { driver: { name: "MongoDB Internal Client", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } d20001| 2018-01-24T19:13:43.358-0800 I SHARDING [conn4] moveChunk data transfer progress: { active: true, sessionId: "shard0001_zzz-shard_5a694b62d77dd3276fd2ce88", ns: "TestDB.Coll", from: "st-bartle1:20001", min: { _id: 0.0 }, max: { _id: MaxKey }, shardKeyPattern: { _id: 1.0 }, state: "ready", counts: { cloned: 0, clonedBytes: 0, catchup: 0, steady: 0 }, ok: 1.0 } mem used: 0 documents remaining to clone: 1 d20007| 2018-01-24T19:13:43.358-0800 I NETWORK [migrateThread] Successfully connected to st-bartle1:20001 (1 connections now open to st-bartle1:20001 with a 0 second timeout) d20001| 2018-01-24T19:13:43.361-0800 I SHARDING [conn4] moveChunk data transfer progress: { active: true, sessionId: "shard0001_zzz-shard_5a694b62d77dd3276fd2ce88", ns: "TestDB.Coll", from: "st-bartle1:20001", min: { _id: 0.0 }, max: { _id: MaxKey }, shardKeyPattern: { _id: 1.0 }, state: "ready", counts: { cloned: 0, clonedBytes: 0, catchup: 0, steady: 0 }, ok: 1.0 } mem used: 0 documents remaining to clone: 1 d20001| 2018-01-24T19:13:43.365-0800 I SHARDING [conn4] moveChunk data transfer progress: { active: true, sessionId: "shard0001_zzz-shard_5a694b62d77dd3276fd2ce88", ns: "TestDB.Coll", from: "st-bartle1:20001", min: { _id: 0.0 }, max: { _id: MaxKey }, shardKeyPattern: { _id: 1.0 }, state: "ready", counts: { cloned: 0, clonedBytes: 0, catchup: 0, steady: 0 }, ok: 1.0 } mem used: 0 documents remaining to clone: 1 d20001| 2018-01-24T19:13:43.374-0800 I SHARDING [conn4] moveChunk data transfer progress: { active: true, sessionId: "shard0001_zzz-shard_5a694b62d77dd3276fd2ce88", ns: "TestDB.Coll", from: "st-bartle1:20001", min: { _id: 0.0 }, max: { _id: MaxKey }, shardKeyPattern: { _id: 1.0 }, state: "ready", counts: { cloned: 0, clonedBytes: 0, catchup: 0, steady: 0 }, ok: 1.0 } mem used: 0 documents remaining to clone: 1 d20007| 2018-01-24T19:13:43.388-0800 I SHARDING [migrateThread] Deleter starting delete for: TestDB.Coll from { _id: 0.0 } -> { _id: MaxKey }, with opId: 42 d20007| 2018-01-24T19:13:43.388-0800 I SHARDING [migrateThread] rangeDeleter deleted 0 documents for TestDB.Coll from { _id: 0.0 } -> { _id: MaxKey } d20007| 2018-01-24T19:13:43.389-0800 I SHARDING [migrateThread] Waiting for replication to catch up before entering critical section d20007| 2018-01-24T19:13:43.389-0800 I SHARDING [migrateThread] migrate commit succeeded flushing to secondaries for 'TestDB.Coll' { _id: 0.0 } -> { _id: MaxKey } d20001| 2018-01-24T19:13:43.393-0800 I SHARDING [conn4] moveChunk data transfer progress: { active: true, sessionId: "shard0001_zzz-shard_5a694b62d77dd3276fd2ce88", ns: "TestDB.Coll", from: "st-bartle1:20001", min: { _id: 0.0 }, max: { _id: MaxKey }, shardKeyPattern: { _id: 1.0 }, state: "steady", counts: { cloned: 1, clonedBytes: 44, catchup: 0, steady: 0 }, ok: 1.0 } mem used: 0 documents remaining to clone: 0 d20001| 2018-01-24T19:13:43.393-0800 I SHARDING [conn4] Migration successfully entered critical section d20007| 2018-01-24T19:13:43.401-0800 I SHARDING [migrateThread] migrate commit succeeded flushing to secondaries for 'TestDB.Coll' { _id: 0.0 } -> { _id: MaxKey } d20007| 2018-01-24T19:13:43.401-0800 D TRACKING [migrateThread] Cmd: NotSet, TrackingId: 5a694b67835e9f5133498f3c c20002| 2018-01-24T19:13:43.401-0800 D TRACKING [conn26] Cmd: create, TrackingId: 5a694b67835e9f5133498f3c|5a694b67835e9f5133498f3d d20007| 2018-01-24T19:13:43.401-0800 I SHARDING [migrateThread] about to log metadata event into changelog: { _id: "st-bartle1-2018-01-24T19:13:43.401-0800-5a694b67835e9f5133498f3e", server: "st-bartle1", clientAddr: "", time: new Date(1516850023401), what: "moveChunk.to", ns: "TestDB.Coll", details: { min: { _id: 0.0 }, max: { _id: MaxKey }, step 1 of 6: 32, step 2 of 6: 0, step 3 of 6: 0, step 4 of 6: 0, step 5 of 6: 11, step 6 of 6: 0, note: "success" } } c20002| 2018-01-24T19:13:43.402-0800 D TRACKING [conn26] Cmd: insert, TrackingId: 5a694b67835e9f5133498f3c|5a694b67835e9f5133498f3f d20001| 2018-01-24T19:13:43.410-0800 I SHARDING [conn4] Moving last chunk for the collection out c20002| 2018-01-24T19:13:43.410-0800 D TRACKING [conn23] Cmd: _configsvrCommitChunkMigration, TrackingId: 5a694b62d77dd3276fd2ce81|5a694b67d77dd3276fd2ce94 d20001| 2018-01-24T19:13:43.419-0800 I SHARDING [conn4] Refreshing chunks for collection TestDB.Coll based on version 2|1||5a694b4963764b2fc2e39329 d20001| 2018-01-24T19:13:43.419-0800 D TRACKING [CatalogCacheLoader-0] Cmd: NotSet, TrackingId: 5a694b67d77dd3276fd2ce95 c20002| 2018-01-24T19:13:43.420-0800 D TRACKING [conn23] Cmd: find, TrackingId: 5a694b67d77dd3276fd2ce95|5a694b67d77dd3276fd2ce96 c20004| 2018-01-24T19:13:43.420-0800 D TRACKING [conn16] Cmd: find, TrackingId: 5a694b67d77dd3276fd2ce95|5a694b67d77dd3276fd2ce97 d20001| 2018-01-24T19:13:43.420-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 1 ms and found version 3|0||5a694b4963764b2fc2e39329 d20001| 2018-01-24T19:13:43.420-0800 I SHARDING [conn4] Refreshing metadata for collection TestDB.Coll from collection version: 2|1||5a694b4963764b2fc2e39329, shard version: 2|0||5a694b4963764b2fc2e39329 to collection version: 3|0||5a694b4963764b2fc2e39329, shard version: 0|0||5a694b4963764b2fc2e39329 d20001| 2018-01-24T19:13:43.420-0800 I SHARDING [conn4] Migration succeeded and updated collection version to 3|0||5a694b4963764b2fc2e39329 d20001| 2018-01-24T19:13:43.420-0800 I SHARDING [conn4] about to log metadata event into changelog: { _id: "st-bartle1-2018-01-24T19:13:43.420-0800-5a694b67d77dd3276fd2ce99", server: "st-bartle1", clientAddr: "127.0.0.1:61559", time: new Date(1516850023420), what: "moveChunk.commit", ns: "TestDB.Coll", details: { min: { _id: 0.0 }, max: { _id: MaxKey }, from: "shard0001", to: "zzz-shard" } } c20002| 2018-01-24T19:13:43.421-0800 D TRACKING [conn23] Cmd: insert, TrackingId: 5a694b62d77dd3276fd2ce81|5a694b67d77dd3276fd2ce9a d20001| 2018-01-24T19:13:43.428-0800 I SHARDING [conn4] doing delete inline for cleanup of chunk data d20001| 2018-01-24T19:13:43.429-0800 I SHARDING [conn4] Deleter starting delete for: TestDB.Coll from { _id: 0.0 } -> { _id: MaxKey }, with opId: 110 d20001| 2018-01-24T19:13:43.429-0800 I SHARDING [conn4] rangeDeleter deleted 1 documents for TestDB.Coll from { _id: 0.0 } -> { _id: MaxKey } d20001| 2018-01-24T19:13:43.429-0800 I SHARDING [conn4] about to log metadata event into changelog: { _id: "st-bartle1-2018-01-24T19:13:43.429-0800-5a694b67d77dd3276fd2ce9b", server: "st-bartle1", clientAddr: "127.0.0.1:61559", time: new Date(1516850023429), what: "moveChunk.from", ns: "TestDB.Coll", details: { min: { _id: 0.0 }, max: { _id: MaxKey }, step 1 of 7: 0, step 2 of 7: 1, step 3 of 7: 5014, step 4 of 7: 36, step 5 of 7: 17, step 6 of 7: 18, step 7 of 7: 0, to: "zzz-shard", from: "shard0001", note: "success" } } c20002| 2018-01-24T19:13:43.429-0800 D TRACKING [conn23] Cmd: insert, TrackingId: 5a694b62d77dd3276fd2ce81|5a694b67d77dd3276fd2ce9c d20001| 2018-01-24T19:13:43.438-0800 I COMMAND [conn4] command TestDB.Coll appName: "MongoDB Shell" command: moveChunk { moveChunk: "TestDB.Coll", shardVersion: [ Timestamp 2000|1, ObjectId('5a694b4963764b2fc2e39329') ], epoch: ObjectId('5a694b4963764b2fc2e39329'), configdb: "test-configRS/st-bartle1:20002,st-bartle1:20003,st-bartle1:20004", fromShard: "shard0001", toShard: "zzz-shard", min: { _id: 0.0 }, max: { _id: MaxKey }, chunkVersion: [ Timestamp 2000|0, ObjectId('5a694b4963764b2fc2e39329') ], maxChunkSizeBytes: 67108864, waitForDelete: true, takeDistLock: false } numYields:0 reslen:74 locks:{ Global: { acquireCount: { r: 22, w: 8 } }, Database: { acquireCount: { r: 7, w: 6, W: 2 } }, Collection: { acquireCount: { r: 7, w: 2, W: 4 } } } protocol:op_command 5098ms c20002| 2018-01-24T19:13:43.447-0800 I SHARDING [NetworkInterfaceASIO-ShardRegistry-0] distributed lock with ts: '5a694b3011d49588fffd8b64' and _id: 'TestDB.Coll' unlocked. c20002| 2018-01-24T19:13:43.447-0800 I SHARDING [conn13] Refreshing chunks for collection TestDB.Coll based on version 2|1||5a694b4963764b2fc2e39329 c20002| 2018-01-24T19:13:43.448-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 0 ms and found version 3|0||5a694b4963764b2fc2e39329 c20002| 2018-01-24T19:13:43.456-0800 I COMMAND [conn13] command admin.$cmd appName: "MongoDB Shell" command: _configsvrMoveChunk { _configsvrMoveChunk: 1, _id: "TestDB.Coll-_id_0.0", ns: "TestDB.Coll", min: { _id: 0.0 }, max: { _id: MaxKey }, shard: "shard0001", lastmod: Timestamp 2000|1, lastmodEpoch: ObjectId('5a694b4963764b2fc2e39329'), toShard: "zzz-shard", maxChunkSizeBytes: 67108864, secondaryThrottle: {}, waitForDelete: true, writeConcern: { w: "majority", wtimeout: 15000 } } numYields:0 reslen:308 locks:{ Global: { acquireCount: { r: 10, w: 6 } }, Database: { acquireCount: { r: 2, w: 6 } }, Collection: { acquireCount: { r: 2, w: 3 } }, Metadata: { acquireCount: { w: 3 } }, oplog: { acquireCount: { w: 3 } } } protocol:op_command 5165ms s20005| 2018-01-24T19:13:43.456-0800 D TRACKING [conn1] Cmd: removeShard, TrackingId: 5a694b6763764b2fc2e3938b c20003| 2018-01-24T19:13:43.456-0800 D TRACKING [conn10] Cmd: count, TrackingId: 5a694b6763764b2fc2e3938b|5a694b6763764b2fc2e3938c d20000| 2018-01-24T19:13:47.635-0800 D TRACKING [conn4] Cmd: features, TrackingId: 5a694b3611d49588fffd8bc0|5a694b6b11d49588fffd8e60 d20001| 2018-01-24T19:13:47.635-0800 D TRACKING [conn4] Cmd: features, TrackingId: 5a694b3611d49588fffd8bc0|5a694b6b11d49588fffd8e61 d20007| 2018-01-24T19:13:47.635-0800 D TRACKING [conn4] Cmd: features, TrackingId: 5a694b3611d49588fffd8bc0|5a694b6b11d49588fffd8e62 s20005| 2018-01-24T19:13:48.318-0800 D TRACKING [Uptime reporter] Cmd: NotSet, TrackingId: 5a694b6c63764b2fc2e3938d c20002| 2018-01-24T19:13:48.319-0800 D TRACKING [conn13] Cmd: update, TrackingId: 5a694b6c63764b2fc2e3938d|5a694b6c63764b2fc2e3938e c20003| 2018-01-24T19:13:48.321-0800 I COMMAND [conn10] command config.shards appName: "MongoDB Shell" command: count { count: "shards", query: { draining: true, _id: { $ne: "shard0001" } }, readConcern: { level: "majority", afterOpTime: { ts: Timestamp 1516850023000|6, t: 1 } }, maxTimeMS: 30000 } planSummary: IXSCAN { _id: 1 } keysExamined:3 docsExamined:2 numYields:0 reslen:295 locks:{ Global: { acquireCount: { r: 2 } }, Database: { acquireCount: { r: 1 } }, Collection: { acquireCount: { r: 1 } } } protocol:op_command 4864ms c20003| 2018-01-24T19:13:48.321-0800 D TRACKING [conn10] Cmd: count, TrackingId: 5a694b6763764b2fc2e3938b|5a694b6c63764b2fc2e3938f c20003| 2018-01-24T19:13:48.322-0800 D TRACKING [conn10] Cmd: count, TrackingId: 5a694b6763764b2fc2e3938b|5a694b6c63764b2fc2e39390 c20003| 2018-01-24T19:13:48.322-0800 D TRACKING [conn10] Cmd: count, TrackingId: 5a694b6763764b2fc2e3938b|5a694b6c63764b2fc2e39391 c20004| 2018-01-24T19:13:48.322-0800 D TRACKING [conn10] Cmd: count, TrackingId: 5a694b6763764b2fc2e3938b|5a694b6c63764b2fc2e39392 s20005| 2018-01-24T19:13:48.322-0800 I SHARDING [conn1] going to remove shard: shard0001 c20002| 2018-01-24T19:13:48.323-0800 D TRACKING [conn14] Cmd: delete, TrackingId: 5a694b6763764b2fc2e3938b|5a694b6c63764b2fc2e39393 c20003| 2018-01-24T19:13:48.327-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b6c63764b2fc2e3938d|5a694b6c63764b2fc2e39394 s20005| 2018-01-24T19:13:48.330-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Connecting to st-bartle1:20003 s20006| 2018-01-24T19:13:48.331-0800 D TRACKING [Uptime reporter] Cmd: NotSet, TrackingId: 5a694b6c0ac607535dc57a1d c20002| 2018-01-24T19:13:48.331-0800 D TRACKING [conn16] Cmd: update, TrackingId: 5a694b6c0ac607535dc57a1d|5a694b6c0ac607535dc57a1e c20003| 2018-01-24T19:13:48.331-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61619 #19 (16 connections now open) c20003| 2018-01-24T19:13:48.331-0800 I NETWORK [conn19] received client metadata from 127.0.0.1:61619 conn19: { driver: { name: "NetworkInterfaceASIO-ShardRegistry", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } s20005| 2018-01-24T19:13:48.331-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Successfully connected to st-bartle1:20003, took 2ms (2 connections now open to st-bartle1:20003) c20003| 2018-01-24T19:13:48.331-0800 D TRACKING [conn19] Cmd: find, TrackingId: 5a694b6763764b2fc2e3938b|5a694b6c63764b2fc2e39395 s20005| 2018-01-24T19:13:48.332-0800 D SHARDING [conn1] found 2 shards listed on config server(s) with lastVisibleOpTime: { ts: Timestamp 1516850028000|2, t: 1 } s20005| 2018-01-24T19:13:48.332-0800 I SHARDING [conn1] about to log metadata event into changelog: { _id: "st-bartle1-2018-01-24T19:13:48.332-0800-5a694b6c63764b2fc2e39397", server: "st-bartle1", clientAddr: "127.0.0.1:61510", time: new Date(1516850028332), what: "removeShard", ns: "", details: { shard: "shard0001" } } c20003| 2018-01-24T19:13:48.332-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b6c63764b2fc2e3938d|5a694b6c63764b2fc2e39396 c20002| 2018-01-24T19:13:48.332-0800 D TRACKING [conn14] Cmd: insert, TrackingId: 5a694b6763764b2fc2e3938b|5a694b6c63764b2fc2e39398 c20004| 2018-01-24T19:13:48.333-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b6c63764b2fc2e3938d|5a694b6c63764b2fc2e39399 c20003| 2018-01-24T19:13:48.337-0800 D TRACKING [conn12] Cmd: find, TrackingId: 5a694b6c0ac607535dc57a1d|5a694b6c0ac607535dc57a1f c20002| 2018-01-24T19:13:48.343-0800 D TRACKING [conn14] Cmd: find, TrackingId: 5a694b6763764b2fc2e3938b|5a694b6c63764b2fc2e3939a s20005| 2018-01-24T19:13:48.343-0800 D TRACKING [conn1] Cmd: removeShard, TrackingId: 5a694b6c63764b2fc2e3939b c20003| 2018-01-24T19:13:48.344-0800 D TRACKING [conn10] Cmd: count, TrackingId: 5a694b6c63764b2fc2e3939b|5a694b6c63764b2fc2e3939c c20003| 2018-01-24T19:13:48.661-0800 I COMMAND [conn12] command config.settings command: find { find: "settings", filter: { _id: "balancer" }, readConcern: { level: "majority", afterOpTime: { ts: Timestamp 1516850028000|3, t: 1 } }, limit: 1, maxTimeMS: 30000 } planSummary: IDHACK keysExamined:1 docsExamined:1 cursorExhausted:1 numYields:0 nreturned:1 reslen:404 locks:{ Global: { acquireCount: { r: 2 } }, Database: { acquireCount: { r: 1 } }, Collection: { acquireCount: { r: 1 } } } protocol:op_command 323ms c20003| 2018-01-24T19:13:48.661-0800 I COMMAND [conn10] command config.shards appName: "MongoDB Shell" command: count { count: "shards", query: { draining: true, _id: { $ne: "shard0000" } }, readConcern: { level: "majority", afterOpTime: { ts: Timestamp 1516850028000|4, t: 1 } }, maxTimeMS: 30000 } planSummary: IXSCAN { _id: 1 } keysExamined:2 docsExamined:1 numYields:0 reslen:295 locks:{ Global: { acquireCount: { r: 2 } }, Database: { acquireCount: { r: 1 } }, Collection: { acquireCount: { r: 1 } } } protocol:op_command 317ms c20004| 2018-01-24T19:13:48.661-0800 D TRACKING [conn12] Cmd: find, TrackingId: 5a694b6c0ac607535dc57a1d|5a694b6c0ac607535dc57a20 c20003| 2018-01-24T19:13:48.662-0800 D TRACKING [conn10] Cmd: count, TrackingId: 5a694b6c63764b2fc2e3939b|5a694b6c63764b2fc2e3939d c20004| 2018-01-24T19:13:48.662-0800 D TRACKING [conn12] Cmd: find, TrackingId: 5a694b6c0ac607535dc57a1d|5a694b6c0ac607535dc57a21 c20003| 2018-01-24T19:13:48.663-0800 D TRACKING [conn10] Cmd: count, TrackingId: 5a694b6c63764b2fc2e3939b|5a694b6c63764b2fc2e3939e s20005| 2018-01-24T19:13:48.663-0800 I SHARDING [conn1] going to start draining shard: shard0000 c20002| 2018-01-24T19:13:48.663-0800 D TRACKING [conn14] Cmd: update, TrackingId: 5a694b6c63764b2fc2e3939b|5a694b6c63764b2fc2e3939f c20003| 2018-01-24T19:13:48.676-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b6c63764b2fc2e3939b|5a694b6c63764b2fc2e393a0 c20003| 2018-01-24T19:13:53.672-0800 I COMMAND [conn10] command config.shards appName: "MongoDB Shell" command: find { find: "shards", readConcern: { level: "majority", afterOpTime: { ts: Timestamp 1516850028000|6, t: 1 } }, maxTimeMS: 30000 } planSummary: COLLSCAN keysExamined:0 docsExamined:2 cursorExhausted:1 numYields:0 nreturned:2 reslen:493 locks:{ Global: { acquireCount: { r: 2 } }, Database: { acquireCount: { r: 1 } }, Collection: { acquireCount: { r: 1 } } } protocol:op_command 4995ms s20005| 2018-01-24T19:13:53.672-0800 D SHARDING [conn1] found 2 shards listed on config server(s) with lastVisibleOpTime: { ts: Timestamp 1516850028000|6, t: 1 } s20005| 2018-01-24T19:13:53.672-0800 I SHARDING [conn1] about to log metadata event into changelog: { _id: "st-bartle1-2018-01-24T19:13:53.672-0800-5a694b7163764b2fc2e393a1", server: "st-bartle1", clientAddr: "127.0.0.1:61510", time: new Date(1516850033672), what: "removeShard.start", ns: "", details: { shard: "shard0000" } } c20002| 2018-01-24T19:13:53.672-0800 D TRACKING [conn14] Cmd: insert, TrackingId: 5a694b6c63764b2fc2e3939b|5a694b7163764b2fc2e393a2 c20004| 2018-01-24T19:13:53.687-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b6c63764b2fc2e3939b|5a694b7163764b2fc2e393a3 s20005| 2018-01-24T19:13:53.688-0800 D TRACKING [conn1] Cmd: removeShard, TrackingId: 5a694b7163764b2fc2e393a4 c20003| 2018-01-24T19:13:53.689-0800 D TRACKING [conn10] Cmd: count, TrackingId: 5a694b7163764b2fc2e393a4|5a694b7163764b2fc2e393a5 d20000| 2018-01-24T19:13:57.636-0800 D TRACKING [conn4] Cmd: features, TrackingId: 5a694b3611d49588fffd8bc0|5a694b7511d49588fffd8e97 d20007| 2018-01-24T19:13:57.637-0800 D TRACKING [conn4] Cmd: features, TrackingId: 5a694b3611d49588fffd8bc0|5a694b7511d49588fffd8e98 s20005| 2018-01-24T19:13:58.008-0800 D NETWORK [ReplicaSetMonitor-TaskExecutor-0] Refreshing replica set test-configRS took 1 msec s20005| 2018-01-24T19:13:58.016-0800 D SHARDING [shard registry reload] Reloading shardRegistry s20005| 2018-01-24T19:13:58.016-0800 D TRACKING [shard registry reload] Cmd: NotSet, TrackingId: 5a694b7663764b2fc2e393a6 c20004| 2018-01-24T19:13:58.016-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b7663764b2fc2e393a6|5a694b7663764b2fc2e393a7 s20005| 2018-01-24T19:13:58.017-0800 D SHARDING [shard registry reload] found 2 shards listed on config server(s) with lastVisibleOpTime: { ts: Timestamp 1516850033000|1, t: 1 } s20005| 2018-01-24T19:13:58.027-0800 D TRACKING [UserCacheInvalidator] Cmd: NotSet, TrackingId: 5a694b7663764b2fc2e393a8 c20002| 2018-01-24T19:13:58.027-0800 D TRACKING [conn14] Cmd: _getUserCacheGeneration, TrackingId: 5a694b7663764b2fc2e393a8|5a694b7663764b2fc2e393a9 s20005| 2018-01-24T19:13:58.051-0800 D TRACKING [replSetDistLockPinger] Cmd: NotSet, TrackingId: 5a694b7663764b2fc2e393aa c20002| 2018-01-24T19:13:58.052-0800 D TRACKING [conn14] Cmd: findAndModify, TrackingId: 5a694b7663764b2fc2e393aa|5a694b7663764b2fc2e393ab c20003| 2018-01-24T19:13:58.056-0800 I COMMAND [conn10] command config.shards appName: "MongoDB Shell" command: count { count: "shards", query: { draining: true, _id: { $ne: "shard0000" } }, readConcern: { level: "majority", afterOpTime: { ts: Timestamp 1516850033000|1, t: 1 } }, maxTimeMS: 30000 } planSummary: IXSCAN { _id: 1 } keysExamined:2 docsExamined:1 numYields:0 reslen:295 locks:{ Global: { acquireCount: { r: 2 } }, Database: { acquireCount: { r: 1 } }, Collection: { acquireCount: { r: 1 } } } protocol:op_command 4367ms c20003| 2018-01-24T19:13:58.057-0800 D TRACKING [conn10] Cmd: count, TrackingId: 5a694b7163764b2fc2e393a4|5a694b7663764b2fc2e393ac c20003| 2018-01-24T19:13:58.058-0800 D TRACKING [conn10] Cmd: count, TrackingId: 5a694b7163764b2fc2e393a4|5a694b7663764b2fc2e393ad c20004| 2018-01-24T19:13:58.059-0800 D TRACKING [conn10] Cmd: count, TrackingId: 5a694b7163764b2fc2e393a4|5a694b7663764b2fc2e393ae c20002| 2018-01-24T19:13:58.060-0800 D TRACKING [conn13] Cmd: count, TrackingId: 5a694b7163764b2fc2e393a4|5a694b7663764b2fc2e393af c20004| 2018-01-24T19:13:58.062-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b7163764b2fc2e393a4|5a694b7663764b2fc2e393b0 c20003| 2018-01-24T19:13:58.062-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b7163764b2fc2e393a4|5a694b7663764b2fc2e393b1 s20005| 2018-01-24T19:13:58.063-0800 I SHARDING [conn1] Refreshing chunks for collection TestDB.Coll based on version 2|1||5a694b4963764b2fc2e39329 s20005| 2018-01-24T19:13:58.063-0800 D TRACKING [CatalogCacheLoader-0] Cmd: NotSet, TrackingId: 5a694b7663764b2fc2e393b3 c20002| 2018-01-24T19:13:58.064-0800 D TRACKING [conn13] Cmd: find, TrackingId: 5a694b7663764b2fc2e393b3|5a694b7663764b2fc2e393b4 c20003| 2018-01-24T19:13:58.065-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b7663764b2fc2e393b3|5a694b7663764b2fc2e393b5 s20005| 2018-01-24T19:13:58.066-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 2 ms and found version 3|0||5a694b4963764b2fc2e39329 s20005| 2018-01-24T19:13:58.066-0800 D TRACKING [conn1] Cmd: moveChunk, TrackingId: 5a694b7663764b2fc2e393b2 c20002| 2018-01-24T19:13:58.066-0800 D TRACKING [conn14] Cmd: _configsvrMoveChunk, TrackingId: 5a694b7663764b2fc2e393b2|5a694b7663764b2fc2e393b6 d20000| 2018-01-24T19:13:58.067-0800 D TRACKING [conn4] Cmd: serverStatus, TrackingId: 5a694b7663764b2fc2e393b2|5a694b7663764b2fc2e393b6|5a694b7611d49588fffd8ea1 d20007| 2018-01-24T19:13:58.068-0800 D TRACKING [conn4] Cmd: serverStatus, TrackingId: 5a694b7663764b2fc2e393b2|5a694b7663764b2fc2e393b6|5a694b7611d49588fffd8ea2 c20002| 2018-01-24T19:13:58.069-0800 I SHARDING [conn14] Refreshing chunks for collection TestDB.Coll based on version 3|0||5a694b4963764b2fc2e39329 c20002| 2018-01-24T19:13:58.070-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 0 ms and found version 3|0||5a694b4963764b2fc2e39329 c20002| 2018-01-24T19:13:58.081-0800 I SHARDING [conn14] Refreshing chunks for collection TestDB.Coll based on version 3|0||5a694b4963764b2fc2e39329 c20002| 2018-01-24T19:13:58.082-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 0 ms and found version 3|0||5a694b4963764b2fc2e39329 c20002| 2018-01-24T19:13:58.094-0800 I SHARDING [conn14] distributed lock 'TestDB.Coll' acquired for 'Migrating chunk(s) in collection TestDB.Coll', ts : 5a694b3011d49588fffd8b64 d20000| 2018-01-24T19:13:58.094-0800 D TRACKING [conn4] Cmd: moveChunk, TrackingId: 5a694b767ed89563ab5c9f88 c20002| 2018-01-24T19:13:58.095-0800 D TRACKING [conn20] Cmd: find, TrackingId: 5a694b767ed89563ab5c9f88|5a694b767ed89563ab5c9f89 d20000| 2018-01-24T19:13:58.095-0800 I SHARDING [conn4] Starting chunk migration ns: TestDB.Coll, [{ _id: MinKey }, { _id: 0.0 }), fromShard: shard0000, toShard: zzz-shard with expected collection version 3|0||5a694b4963764b2fc2e39329 d20000| 2018-01-24T19:13:58.095-0800 I SHARDING [conn4] Refreshing chunks for collection TestDB.Coll based on version 2|1||5a694b4963764b2fc2e39329 d20000| 2018-01-24T19:13:58.095-0800 D TRACKING [CatalogCacheLoader-0] Cmd: NotSet, TrackingId: 5a694b767ed89563ab5c9f8a c20004| 2018-01-24T19:13:58.096-0800 D TRACKING [conn15] Cmd: find, TrackingId: 5a694b767ed89563ab5c9f8a|5a694b767ed89563ab5c9f8b c20002| 2018-01-24T19:13:58.096-0800 D TRACKING [conn20] Cmd: find, TrackingId: 5a694b767ed89563ab5c9f8a|5a694b767ed89563ab5c9f8c d20000| 2018-01-24T19:13:58.097-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 1 ms and found version 3|0||5a694b4963764b2fc2e39329 d20000| 2018-01-24T19:13:58.097-0800 I SHARDING [conn4] Refreshing metadata for collection TestDB.Coll from collection version: 2|1||5a694b4963764b2fc2e39329, shard version: 2|1||5a694b4963764b2fc2e39329 to collection version: 3|0||5a694b4963764b2fc2e39329, shard version: 2|1||5a694b4963764b2fc2e39329 d20000| 2018-01-24T19:13:58.097-0800 I SHARDING [conn4] about to log metadata event into changelog: { _id: "st-bartle1-2018-01-24T19:13:58.097-0800-5a694b767ed89563ab5c9f8d", server: "st-bartle1", clientAddr: "127.0.0.1:61557", time: new Date(1516850038097), what: "moveChunk.start", ns: "TestDB.Coll", details: { min: { _id: MinKey }, max: { _id: 0.0 }, from: "shard0000", to: "zzz-shard" } } c20002| 2018-01-24T19:13:58.098-0800 D TRACKING [conn20] Cmd: insert, TrackingId: 5a694b767ed89563ab5c9f88|5a694b767ed89563ab5c9f8e d20000| 2018-01-24T19:13:58.108-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Connecting to st-bartle1:20007 d20007| 2018-01-24T19:13:58.111-0800 I NETWORK [thread1] connection accepted from 127.0.0.1:61627 #6 (6 connections now open) d20007| 2018-01-24T19:13:58.112-0800 I NETWORK [conn6] received client metadata from 127.0.0.1:61627 conn6: { driver: { name: "NetworkInterfaceASIO-ShardRegistry", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } d20000| 2018-01-24T19:13:58.113-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Successfully connected to st-bartle1:20007, took 5ms (1 connections now open to st-bartle1:20007) d20007| 2018-01-24T19:13:58.113-0800 I SHARDING [conn6] Refreshing chunks for collection TestDB.Coll based on version 2|1||5a694b4963764b2fc2e39329 d20007| 2018-01-24T19:13:58.113-0800 D TRACKING [CatalogCacheLoader-0] Cmd: NotSet, TrackingId: 5a694b76835e9f5133498f43 c20003| 2018-01-24T19:13:58.113-0800 D TRACKING [conn18] Cmd: find, TrackingId: 5a694b76835e9f5133498f43|5a694b76835e9f5133498f44 s20006| 2018-01-24T19:13:58.217-0800 D NETWORK [ReplicaSetMonitor-TaskExecutor-0] Refreshing replica set test-configRS took 1 msec s20006| 2018-01-24T19:13:58.221-0800 D SHARDING [shard registry reload] Reloading shardRegistry s20006| 2018-01-24T19:13:58.221-0800 D TRACKING [shard registry reload] Cmd: NotSet, TrackingId: 5a694b760ac607535dc57a22 c20003| 2018-01-24T19:13:58.222-0800 D TRACKING [conn12] Cmd: find, TrackingId: 5a694b760ac607535dc57a22|5a694b760ac607535dc57a23 s20006| 2018-01-24T19:13:58.223-0800 D SHARDING [shard registry reload] found 2 shards listed on config server(s) with lastVisibleOpTime: { ts: Timestamp 1516850038000|3, t: 1 } s20006| 2018-01-24T19:13:58.223-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Ending idle connection to host st-bartle1:20002 because the pool meets constraints; 2 connections to that host remain open c20002| 2018-01-24T19:13:58.224-0800 I - [conn18] end connection 127.0.0.1:61522 (23 connections now open) s20006| 2018-01-24T19:13:58.227-0800 D TRACKING [UserCacheInvalidator] Cmd: NotSet, TrackingId: 5a694b760ac607535dc57a24 c20002| 2018-01-24T19:13:58.228-0800 D TRACKING [conn16] Cmd: _getUserCacheGeneration, TrackingId: 5a694b760ac607535dc57a24|5a694b760ac607535dc57a25 s20006| 2018-01-24T19:13:58.237-0800 D TRACKING [replSetDistLockPinger] Cmd: NotSet, TrackingId: 5a694b760ac607535dc57a26 c20002| 2018-01-24T19:13:58.238-0800 D TRACKING [conn16] Cmd: findAndModify, TrackingId: 5a694b760ac607535dc57a26|5a694b760ac607535dc57a27 c20003| 2018-01-24T19:13:58.239-0800 I COMMAND [conn18] command config.collections command: find { find: "collections", filter: { _id: "TestDB.Coll" }, readConcern: { level: "majority", afterOpTime: { ts: Timestamp 1516850038000|4, t: 1 } }, limit: 1, maxTimeMS: 30000 } planSummary: IDHACK keysExamined:1 docsExamined:1 cursorExhausted:1 numYields:0 nreturned:1 reslen:471 locks:{ Global: { acquireCount: { r: 2 } }, Database: { acquireCount: { r: 1 } }, Collection: { acquireCount: { r: 1 } } } protocol:op_command 125ms c20003| 2018-01-24T19:13:58.240-0800 D TRACKING [conn18] Cmd: find, TrackingId: 5a694b76835e9f5133498f43|5a694b76835e9f5133498f45 c20003| 2018-01-24T19:13:58.241-0800 D TRACKING [conn18] Cmd: find, TrackingId: 5a694b76835e9f5133498f43|5a694b76835e9f5133498f46 d20007| 2018-01-24T19:13:58.242-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 128 ms and found version 3|0||5a694b4963764b2fc2e39329 d20007| 2018-01-24T19:13:58.242-0800 I SHARDING [conn6] Refreshing metadata for collection TestDB.Coll from collection version: 2|1||5a694b4963764b2fc2e39329, shard version: 0|0||5a694b4963764b2fc2e39329 to collection version: 3|0||5a694b4963764b2fc2e39329, shard version: 3|0||5a694b4963764b2fc2e39329 d20007| 2018-01-24T19:13:58.242-0800 I COMMAND [conn6] command admin.$cmd command: _recvChunkStart { _recvChunkStart: "TestDB.Coll", sessionId: "shard0000_zzz-shard_5a694b767ed89563ab5c9f8f", configdb: "test-configRS/st-bartle1:20002,st-bartle1:20003,st-bartle1:20004", from: "st-bartle1:20000", fromShardName: "shard0000", toShardName: "zzz-shard", min: { _id: MinKey }, max: { _id: 0.0 }, shardKeyPattern: { _id: 1.0 } } numYields:0 reslen:84 locks:{ Global: { acquireCount: { r: 3, w: 1 } }, Database: { acquireCount: { r: 1, w: 1 } }, Collection: { acquireCount: { r: 1, W: 1 } } } protocol:op_command 129ms d20007| 2018-01-24T19:13:58.242-0800 I SHARDING [migrateThread] Starting receiving end of migration of chunk { _id: MinKey } -> { _id: 0.0 } for collection TestDB.Coll from st-bartle1:20000 at epoch 5a694b4963764b2fc2e39329 with session id shard0000_zzz-shard_5a694b767ed89563ab5c9f8f d20000| 2018-01-24T19:13:58.243-0800 I NETWORK [thread1] connection accepted from 127.0.0.1:61628 #12 (10 connections now open) d20000| 2018-01-24T19:13:58.243-0800 I NETWORK [conn12] received client metadata from 127.0.0.1:61628 conn12: { driver: { name: "MongoDB Internal Client", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } d20007| 2018-01-24T19:13:58.243-0800 I NETWORK [migrateThread] Successfully connected to st-bartle1:20000 (1 connections now open to st-bartle1:20000 with a 0 second timeout) d20000| 2018-01-24T19:13:58.243-0800 I SHARDING [conn4] moveChunk data transfer progress: { active: true, sessionId: "shard0000_zzz-shard_5a694b767ed89563ab5c9f8f", ns: "TestDB.Coll", from: "st-bartle1:20000", min: { _id: MinKey }, max: { _id: 0.0 }, shardKeyPattern: { _id: 1.0 }, state: "ready", counts: { cloned: 0, clonedBytes: 0, catchup: 0, steady: 0 }, ok: 1.0 } mem used: 0 documents remaining to clone: 1 d20007| 2018-01-24T19:13:58.244-0800 I SHARDING [migrateThread] Deleter starting delete for: TestDB.Coll from { _id: MinKey } -> { _id: 0.0 }, with opId: 75 d20007| 2018-01-24T19:13:58.244-0800 I SHARDING [migrateThread] rangeDeleter deleted 0 documents for TestDB.Coll from { _id: MinKey } -> { _id: 0.0 } d20007| 2018-01-24T19:13:58.244-0800 I SHARDING [migrateThread] Waiting for replication to catch up before entering critical section d20007| 2018-01-24T19:13:58.244-0800 I SHARDING [migrateThread] migrate commit succeeded flushing to secondaries for 'TestDB.Coll' { _id: MinKey } -> { _id: 0.0 } d20000| 2018-01-24T19:13:58.246-0800 I SHARDING [conn4] moveChunk data transfer progress: { active: true, sessionId: "shard0000_zzz-shard_5a694b767ed89563ab5c9f8f", ns: "TestDB.Coll", from: "st-bartle1:20000", min: { _id: MinKey }, max: { _id: 0.0 }, shardKeyPattern: { _id: 1.0 }, state: "steady", counts: { cloned: 1, clonedBytes: 44, catchup: 0, steady: 0 }, ok: 1.0 } mem used: 0 documents remaining to clone: 0 d20000| 2018-01-24T19:13:58.246-0800 I SHARDING [conn4] Migration successfully entered critical section d20007| 2018-01-24T19:13:58.257-0800 I SHARDING [migrateThread] migrate commit succeeded flushing to secondaries for 'TestDB.Coll' { _id: MinKey } -> { _id: 0.0 } d20007| 2018-01-24T19:13:58.257-0800 I SHARDING [migrateThread] about to log metadata event into changelog: { _id: "st-bartle1-2018-01-24T19:13:58.257-0800-5a694b76835e9f5133498f4a", server: "st-bartle1", clientAddr: "", time: new Date(1516850038257), what: "moveChunk.to", ns: "TestDB.Coll", details: { min: { _id: MinKey }, max: { _id: 0.0 }, step 1 of 6: 1, step 2 of 6: 0, step 3 of 6: 0, step 4 of 6: 0, step 5 of 6: 12, step 6 of 6: 0, note: "success" } } d20007| 2018-01-24T19:13:58.257-0800 D TRACKING [migrateThread] Cmd: NotSet, TrackingId: 5a694b76835e9f5133498f4b c20002| 2018-01-24T19:13:58.258-0800 D TRACKING [conn26] Cmd: insert, TrackingId: 5a694b76835e9f5133498f4b|5a694b76835e9f5133498f4c d20000| 2018-01-24T19:13:58.266-0800 I SHARDING [conn4] Moving last chunk for the collection out c20002| 2018-01-24T19:13:58.267-0800 D TRACKING [conn20] Cmd: _configsvrCommitChunkMigration, TrackingId: 5a694b767ed89563ab5c9f88|5a694b767ed89563ab5c9f9a d20000| 2018-01-24T19:13:58.278-0800 I SHARDING [conn4] Refreshing chunks for collection TestDB.Coll based on version 3|0||5a694b4963764b2fc2e39329 d20000| 2018-01-24T19:13:58.278-0800 D TRACKING [CatalogCacheLoader-0] Cmd: NotSet, TrackingId: 5a694b767ed89563ab5c9f9b s20006| 2018-01-24T19:13:58.278-0800 D EXECUTOR [CatalogCacheLoader-0] Reaping this thread; next thread reaped no earlier than 2018-01-24T19:14:28.278-0800 s20006| 2018-01-24T19:13:58.278-0800 D EXECUTOR [CatalogCacheLoader-0] shutting down thread in pool CatalogCacheLoader c20003| 2018-01-24T19:13:58.279-0800 D TRACKING [conn16] Cmd: find, TrackingId: 5a694b767ed89563ab5c9f9b|5a694b767ed89563ab5c9f9c s20005| 2018-01-24T19:13:58.335-0800 D TRACKING [Uptime reporter] Cmd: NotSet, TrackingId: 5a694b7663764b2fc2e393b7 c20002| 2018-01-24T19:13:58.336-0800 D TRACKING [conn13] Cmd: update, TrackingId: 5a694b7663764b2fc2e393b7|5a694b7663764b2fc2e393b8 c20003| 2018-01-24T19:13:58.339-0800 D TRACKING [conn16] Cmd: find, TrackingId: 5a694b767ed89563ab5c9f9b|5a694b767ed89563ab5c9f9d d20000| 2018-01-24T19:13:58.340-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 61 ms and found version 4|0||5a694b4963764b2fc2e39329 d20000| 2018-01-24T19:13:58.340-0800 I SHARDING [conn4] Refreshing metadata for collection TestDB.Coll from collection version: 3|0||5a694b4963764b2fc2e39329, shard version: 2|1||5a694b4963764b2fc2e39329 to collection version: 4|0||5a694b4963764b2fc2e39329, shard version: 0|0||5a694b4963764b2fc2e39329 d20000| 2018-01-24T19:13:58.340-0800 I SHARDING [conn4] Migration succeeded and updated collection version to 4|0||5a694b4963764b2fc2e39329 d20000| 2018-01-24T19:13:58.341-0800 I SHARDING [conn4] about to log metadata event into changelog: { _id: "st-bartle1-2018-01-24T19:13:58.341-0800-5a694b767ed89563ab5c9f9f", server: "st-bartle1", clientAddr: "127.0.0.1:61557", time: new Date(1516850038341), what: "moveChunk.commit", ns: "TestDB.Coll", details: { min: { _id: MinKey }, max: { _id: 0.0 }, from: "shard0000", to: "zzz-shard" } } c20002| 2018-01-24T19:13:58.341-0800 D TRACKING [conn20] Cmd: insert, TrackingId: 5a694b767ed89563ab5c9f88|5a694b767ed89563ab5c9fa0 c20002| 2018-01-24T19:13:58.353-0800 D TRACKING [conn13] Cmd: find, TrackingId: 5a694b7663764b2fc2e393b7|5a694b7663764b2fc2e393b9 c20002| 2018-01-24T19:13:58.354-0800 D TRACKING [conn13] Cmd: find, TrackingId: 5a694b7663764b2fc2e393b7|5a694b7663764b2fc2e393ba c20004| 2018-01-24T19:13:58.354-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b7663764b2fc2e393b7|5a694b7663764b2fc2e393bb d20000| 2018-01-24T19:13:58.357-0800 I SHARDING [conn4] doing delete inline for cleanup of chunk data d20000| 2018-01-24T19:13:58.357-0800 I SHARDING [conn4] Deleter starting delete for: TestDB.Coll from { _id: MinKey } -> { _id: 0.0 }, with opId: 162 d20000| 2018-01-24T19:13:58.357-0800 I SHARDING [conn4] rangeDeleter deleted 1 documents for TestDB.Coll from { _id: MinKey } -> { _id: 0.0 } d20000| 2018-01-24T19:13:58.357-0800 I SHARDING [conn4] about to log metadata event into changelog: { _id: "st-bartle1-2018-01-24T19:13:58.357-0800-5a694b767ed89563ab5c9fa1", server: "st-bartle1", clientAddr: "127.0.0.1:61557", time: new Date(1516850038357), what: "moveChunk.from", ns: "TestDB.Coll", details: { min: { _id: MinKey }, max: { _id: 0.0 }, step 1 of 7: 0, step 2 of 7: 2, step 3 of 7: 144, step 4 of 7: 3, step 5 of 7: 20, step 6 of 7: 90, step 7 of 7: 0, to: "zzz-shard", from: "shard0000", note: "success" } } c20002| 2018-01-24T19:13:58.357-0800 D TRACKING [conn20] Cmd: insert, TrackingId: 5a694b767ed89563ab5c9f88|5a694b767ed89563ab5c9fa2 d20000| 2018-01-24T19:13:58.368-0800 I COMMAND [conn4] command TestDB.Coll appName: "MongoDB Shell" command: moveChunk { moveChunk: "TestDB.Coll", shardVersion: [ Timestamp 3000|0, ObjectId('5a694b4963764b2fc2e39329') ], epoch: ObjectId('5a694b4963764b2fc2e39329'), configdb: "test-configRS/st-bartle1:20002,st-bartle1:20003,st-bartle1:20004", fromShard: "shard0000", toShard: "zzz-shard", min: { _id: MinKey }, max: { _id: 0.0 }, chunkVersion: [ Timestamp 2000|1, ObjectId('5a694b4963764b2fc2e39329') ], maxChunkSizeBytes: 67108864, waitForDelete: true, takeDistLock: false } numYields:0 reslen:74 locks:{ Global: { acquireCount: { r: 23, w: 9 } }, Database: { acquireCount: { r: 7, w: 7, W: 2 } }, Collection: { acquireCount: { r: 7, w: 2, W: 5 } } } protocol:op_command 273ms c20002| 2018-01-24T19:13:58.377-0800 I SHARDING [NetworkInterfaceASIO-ShardRegistry-0] distributed lock with ts: '5a694b3011d49588fffd8b64' and _id: 'TestDB.Coll' unlocked. c20002| 2018-01-24T19:13:58.378-0800 I SHARDING [conn14] Refreshing chunks for collection TestDB.Coll based on version 3|0||5a694b4963764b2fc2e39329 c20002| 2018-01-24T19:13:58.378-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 0 ms and found version 4|0||5a694b4963764b2fc2e39329 c20002| 2018-01-24T19:13:58.389-0800 I COMMAND [conn14] command admin.$cmd appName: "MongoDB Shell" command: _configsvrMoveChunk { _configsvrMoveChunk: 1, _id: "TestDB.Coll-_id_MinKey", ns: "TestDB.Coll", min: { _id: MinKey }, max: { _id: 0.0 }, shard: "shard0000", lastmod: Timestamp 3000|0, lastmodEpoch: ObjectId('5a694b4963764b2fc2e39329'), toShard: "zzz-shard", maxChunkSizeBytes: 67108864, secondaryThrottle: {}, waitForDelete: true, writeConcern: { w: "majority", wtimeout: 15000 } } numYields:0 reslen:308 locks:{ Global: { acquireCount: { r: 10, w: 6 } }, Database: { acquireCount: { r: 2, w: 6 } }, Collection: { acquireCount: { r: 2, w: 3 } }, Metadata: { acquireCount: { w: 3 } }, oplog: { acquireCount: { w: 3 } } } protocol:op_command 323ms s20005| 2018-01-24T19:13:58.390-0800 D TRACKING [conn1] Cmd: removeShard, TrackingId: 5a694b7663764b2fc2e393bc c20002| 2018-01-24T19:13:58.390-0800 D TRACKING [conn14] Cmd: count, TrackingId: 5a694b7663764b2fc2e393bc|5a694b7663764b2fc2e393bd c20003| 2018-01-24T19:13:58.391-0800 D TRACKING [conn10] Cmd: count, TrackingId: 5a694b7663764b2fc2e393bc|5a694b7663764b2fc2e393be d20000| 2018-01-24T19:13:58.503-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Ending idle connection to host st-bartle1:20002 because the pool meets constraints; 1 connections to that host remain open c20002| 2018-01-24T19:13:58.504-0800 I - [conn21] end connection 127.0.0.1:61534 (22 connections now open) d20000| 2018-01-24T19:13:58.504-0800 D TRACKING [shard registry reload] Cmd: NotSet, TrackingId: 5a694b767ed89563ab5c9fa4 c20002| 2018-01-24T19:13:58.505-0800 D TRACKING [conn20] Cmd: find, TrackingId: 5a694b767ed89563ab5c9fa4|5a694b767ed89563ab5c9fa5 d20000| 2018-01-24T19:13:58.526-0800 D TRACKING [replSetDistLockPinger] Cmd: NotSet, TrackingId: 5a694b767ed89563ab5c9fa6 c20002| 2018-01-24T19:13:58.527-0800 D TRACKING [conn20] Cmd: findAndModify, TrackingId: 5a694b767ed89563ab5c9fa6|5a694b767ed89563ab5c9fa7 c20003| 2018-01-24T19:13:58.529-0800 I COMMAND [conn10] command config.shards appName: "MongoDB Shell" command: count { count: "shards", query: { _id: { $ne: "shard0000" } }, readConcern: { level: "majority", afterOpTime: { ts: Timestamp 1516850038000|12, t: 1 } }, maxTimeMS: 30000 } planSummary: IXSCAN { _id: 1 } keysExamined:2 docsExamined:1 numYields:0 reslen:295 locks:{ Global: { acquireCount: { r: 2 } }, Database: { acquireCount: { r: 1 } }, Collection: { acquireCount: { r: 1 } } } protocol:op_command 138ms c20003| 2018-01-24T19:13:58.530-0800 D TRACKING [conn10] Cmd: count, TrackingId: 5a694b7663764b2fc2e393bc|5a694b7663764b2fc2e393bf c20003| 2018-01-24T19:13:58.531-0800 D TRACKING [conn10] Cmd: count, TrackingId: 5a694b7663764b2fc2e393bc|5a694b7663764b2fc2e393c0 c20004| 2018-01-24T19:13:58.532-0800 D TRACKING [conn10] Cmd: count, TrackingId: 5a694b7663764b2fc2e393bc|5a694b7663764b2fc2e393c1 s20005| 2018-01-24T19:13:58.532-0800 I SHARDING [conn1] going to remove shard: shard0000 c20002| 2018-01-24T19:13:58.532-0800 D TRACKING [conn14] Cmd: delete, TrackingId: 5a694b7663764b2fc2e393bc|5a694b7663764b2fc2e393c2 c20002| 2018-01-24T19:13:58.547-0800 D TRACKING [conn14] Cmd: find, TrackingId: 5a694b7663764b2fc2e393bc|5a694b7663764b2fc2e393c3 s20005| 2018-01-24T19:13:58.547-0800 D SHARDING [conn1] found 1 shards listed on config server(s) with lastVisibleOpTime: { ts: Timestamp 1516850038000|14, t: 1 } s20005| 2018-01-24T19:13:58.547-0800 I SHARDING [conn1] about to log metadata event into changelog: { _id: "st-bartle1-2018-01-24T19:13:58.547-0800-5a694b7663764b2fc2e393c4", server: "st-bartle1", clientAddr: "127.0.0.1:61510", time: new Date(1516850038547), what: "removeShard", ns: "", details: { shard: "shard0000" } } c20002| 2018-01-24T19:13:58.548-0800 D TRACKING [conn14] Cmd: insert, TrackingId: 5a694b7663764b2fc2e393bc|5a694b7663764b2fc2e393c5 d20007| 2018-01-24T19:13:58.560-0800 D TRACKING [shard registry reload] Cmd: NotSet, TrackingId: 5a694b76835e9f5133498f4d c20002| 2018-01-24T19:13:58.561-0800 D TRACKING [conn26] Cmd: find, TrackingId: 5a694b76835e9f5133498f4d|5a694b76835e9f5133498f4e c20004| 2018-01-24T19:13:58.562-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b7663764b2fc2e393bc|5a694b7663764b2fc2e393c6 s20005| 2018-01-24T19:13:58.562-0800 I SHARDING [conn1] Refreshing chunks for collection TestDB.Coll based on version 3|0||5a694b4963764b2fc2e39329 s20005| 2018-01-24T19:13:58.563-0800 D TRACKING [CatalogCacheLoader-0] Cmd: NotSet, TrackingId: 5a694b7663764b2fc2e393c8 c20003| 2018-01-24T19:13:58.563-0800 D TRACKING [conn10] Cmd: find, TrackingId: 5a694b7663764b2fc2e393c8|5a694b7663764b2fc2e393c9 d20007| 2018-01-24T19:13:58.570-0800 D TRACKING [replSetDistLockPinger] Cmd: NotSet, TrackingId: 5a694b76835e9f5133498f4f c20002| 2018-01-24T19:13:58.570-0800 D TRACKING [conn26] Cmd: findAndModify, TrackingId: 5a694b76835e9f5133498f4f|5a694b76835e9f5133498f50 c20002| 2018-01-24T19:13:58.574-0800 D TRACKING [conn14] Cmd: find, TrackingId: 5a694b7663764b2fc2e393c8|5a694b7663764b2fc2e393ca s20005| 2018-01-24T19:13:58.575-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 12 ms and found version 4|0||5a694b4963764b2fc2e39329 s20005| 2018-01-24T19:13:58.575-0800 I SHARDING [conn1] shard: zzz-shard, lastmod: 4|0||5a694b4963764b2fc2e39329, [{ _id: MinKey }, { _id: 0.0 }) s20005| 2018-01-24T19:13:58.575-0800 I SHARDING [conn1] shard: zzz-shard, lastmod: 3|0||5a694b4963764b2fc2e39329, [{ _id: 0.0 }, { _id: MaxKey }) { "version" : Timestamp(4, 0), "versionEpoch" : ObjectId("5a694b4963764b2fc2e39329"), "ok" : 1 } s20006| 2018-01-24T19:13:58.581-0800 I SHARDING [conn1] shard: shard0000, lastmod: 2|1||5a694b4963764b2fc2e39329, [{ _id: MinKey }, { _id: 0.0 }) s20006| 2018-01-24T19:13:58.581-0800 I SHARDING [conn1] shard: shard0001, lastmod: 2|0||5a694b4963764b2fc2e39329, [{ _id: 0.0 }, { _id: MaxKey }) { "version" : Timestamp(2, 1), "versionEpoch" : ObjectId("5a694b4963764b2fc2e39329"), "ok" : 1 } s20005| 2018-01-24T19:13:58.583-0800 D NETWORK [conn1] creating new connection to:st-bartle1:20007 s20005| 2018-01-24T19:13:58.584-0800 D NETWORK [conn1] connected to server st-bartle1:20007 (127.0.0.1) d20007| 2018-01-24T19:13:58.584-0800 I NETWORK [thread1] connection accepted from 127.0.0.1:61629 #7 (7 connections now open) d20007| 2018-01-24T19:13:58.584-0800 I NETWORK [conn7] received client metadata from 127.0.0.1:61629 conn7: { driver: { name: "MongoDB Internal Client", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } s20005| 2018-01-24T19:13:58.584-0800 D NETWORK [conn1] connected connection! s20005| 2018-01-24T19:13:58.585-0800 I NETWORK [conn1] Successfully connected to st-bartle1:20007 (1 connections now open to st-bartle1:20007 with a 0 second timeout) s20005| 2018-01-24T19:13:58.585-0800 D SHARDING [conn1] setting shard version of 4|0||5a694b4963764b2fc2e39329 for TestDB.Coll on shard zzz-shard:st-bartle1:20007 s20005| 2018-01-24T19:13:58.585-0800 D SHARDING [conn1] setShardVersion zzz-shard st-bartle1:20007 TestDB.Coll { setShardVersion: "TestDB.Coll", init: false, authoritative: false, configdb: "test-configRS/st-bartle1:20002,st-bartle1:20003,st-bartle1:20004", shard: "zzz-shard", shardHost: "st-bartle1:20007", version: Timestamp 4000|0, versionEpoch: ObjectId('5a694b4963764b2fc2e39329') } 6 d20007| 2018-01-24T19:13:58.585-0800 I SHARDING [conn7] Refreshing chunks for collection TestDB.Coll based on version 3|0||5a694b4963764b2fc2e39329 d20007| 2018-01-24T19:13:58.585-0800 D TRACKING [CatalogCacheLoader-0] Cmd: NotSet, TrackingId: 5a694b76835e9f5133498f54 c20003| 2018-01-24T19:13:58.585-0800 D TRACKING [conn18] Cmd: find, TrackingId: 5a694b76835e9f5133498f54|5a694b76835e9f5133498f55 s20006| 2018-01-24T19:13:58.672-0800 D TRACKING [Uptime reporter] Cmd: NotSet, TrackingId: 5a694b760ac607535dc57a29 c20002| 2018-01-24T19:13:58.673-0800 D TRACKING [conn16] Cmd: update, TrackingId: 5a694b760ac607535dc57a29|5a694b760ac607535dc57a2a d20001| 2018-01-24T19:13:58.674-0800 D TRACKING [shard registry reload] Cmd: NotSet, TrackingId: 5a694b76d77dd3276fd2ce9e c20002| 2018-01-24T19:13:58.678-0800 D TRACKING [conn23] Cmd: find, TrackingId: 5a694b76d77dd3276fd2ce9e|5a694b76d77dd3276fd2ce9f c20002| 2018-01-24T19:13:58.683-0800 D TRACKING [conn26] Cmd: find, TrackingId: 5a694b76835e9f5133498f54|5a694b76835e9f5133498f56 d20007| 2018-01-24T19:13:58.684-0800 I SHARDING [CatalogCacheLoader-0] Refresh for collection TestDB.Coll took 99 ms and found version 4|0||5a694b4963764b2fc2e39329 d20007| 2018-01-24T19:13:58.684-0800 I SHARDING [conn7] Refreshing metadata for collection TestDB.Coll from collection version: 3|0||5a694b4963764b2fc2e39329, shard version: 3|0||5a694b4963764b2fc2e39329 to collection version: 4|0||5a694b4963764b2fc2e39329, shard version: 4|0||5a694b4963764b2fc2e39329 s20005| 2018-01-24T19:13:58.685-0800 D SHARDING [conn1] setShardVersion success: { oldVersion: Timestamp 0|0, oldVersionEpoch: ObjectId('000000000000000000000000'), ok: 1.0 } c20003| 2018-01-24T19:13:58.687-0800 D TRACKING [conn12] Cmd: find, TrackingId: 5a694b760ac607535dc57a29|5a694b760ac607535dc57a2b { "queryPlanner" : { "mongosPlannerVersion" : 1, "winningPlan" : { "stage" : "SINGLE_SHARD", "shards" : [ { "shardName" : "zzz-shard", "connectionString" : "st-bartle1:20007", "serverInfo" : { "host" : "st-bartle1", "port" : 20007, "version" : "3.4.10", "gitVersion" : "078f28920cb24de0dd479b5ea6c66c644f6326e9" }, "plannerVersion" : 1, "namespace" : "TestDB.Coll", "indexFilterSet" : false, "parsedQuery" : { "_id" : { "$eq" : 1 } }, "winningPlan" : { "stage" : "COUNT", "inputStage" : { "stage" : "IDHACK" } }, "rejectedPlans" : [ ] } ] } }, "ok" : 1 } s20006| 2018-01-24T19:13:58.689-0800 D TRACKING [conn1] Cmd: explain, TrackingId: 5a694b760ac607535dc57a2c s20006| 2018-01-24T19:13:58.689-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Connecting to st-bartle1:20003 2018-01-24T19:13:58.701-0800 E c20003| 2018-01-24T19:13:58.691-0800 I NETWORK [thread2] connection accepted from 127.0.0.1:61631 #20 (17 connections now open) QUERY [thread1d20001| 2018-01-24T19:13:58.694-0800 D TRACKING [replSetDistLockPinger] Cmd: NotSet, TrackingId: 5a694b76d77dd3276fd2cea0 ] Error: explain failed: { "code" : 70, "ok" : 0, "errmsg" : "Shard shard0001 not found" } : _getErrorWithCode@src/mongo/shell/utils.js:25:13 throwOrReturn@src/mongo/shell/explainable.js:31:1 constructor/this.finish@src/mongo/shell/explain_query.js:172:24 constructor/this.count@src/mongo/shell/explain_query.js:203:20 constructor/this.count@src/mongo/shell/explainable.js:115:20 @jstests/sharding/remove4.js:61:15 @jstests/sharding/remove4.js:2:2 c20002| 2018-01-24T19:13:58.695-0800 D TRACKING [conn23] Cmd: findAndModify, TrackingId: 5a694b76d77dd3276fd2cea0|5a694b76d77dd3276fd2cea1 c20004| 2018-01-24T19:13:58.698-0800 D TRACKING [conn12] Cmd: find, TrackingId: 5a694b760ac607535dc57a29|5a694b760ac607535dc57a2e failed to load: jstests/sharding/remove4.js s20006| 2018-01-24T19:13:58.692-0800 I ASIO [NetworkInterfaceASIO-ShardRegistry-0] Successfully connected to st-bartle1:20003, took 3ms (2 connections now open to st-bartle1:20003) c20003| 2018-01-24T19:13:58.692-0800 I NETWORK [conn20] received client metadata from 127.0.0.1:61631 conn20: { driver: { name: "NetworkInterfaceASIO-ShardRegistry", version: "3.4.10" }, os: { type: "Darwin", name: "Mac OS X", architecture: "x86_64", version: "17.3.0" } } c20004| 2018-01-24T19:13:58.700-0800 D TRACKING [conn12] Cmd: find, TrackingId: 5a694b760ac607535dc57a29|5a694b760ac607535dc57a2f s20006| 2018-01-24T19:13:58.698-0800 D SHARDING [conn1] found 1 shards listed on config server(s) with lastVisibleOpTime: { ts: Timestamp 1516850038000|17, t: 1 } c20003| 2018-01-24T19:13:58.692-0800 D TRACKING [conn20] Cmd: find, TrackingId: 5a694b760ac607535dc57a2c|5a694b760ac607535dc57a2d s20006| 2018-01-24T19:13:58.698-0800 D - [conn1] User Assertion: 70:Shard shard0001 not found src/mongo/s/client/parallel.cpp 357 d20007| 2018-01-24T19:13:58.776-0800 I CONTROL [signalProcessingThread] got signal 15 (Terminated: 15), will terminate after current cmd ends d20000| 2018-01-24T19:13:58.867-0800 I - [conn12] end connection 127.0.0.1:61628 (10 connections now open) d20001| 2018-01-24T19:13:58.867-0800 I - [conn8] end connection 127.0.0.1:61614 (8 connections now open) c20004| 2018-01-24T19:13:58.867-0800 I - [conn18] end connection 127.0.0.1:61613 (16 connections now open) c20003| 2018-01-24T19:13:58.867-0800 I - [conn18] end connection 127.0.0.1:61603 (17 connections now open) c20002| 2018-01-24T19:13:58.867-0800 I - [conn26] end connection 127.0.0.1:61591 (21 connections now open) s20006| 2018-01-24T19:13:58.698-0800 W NETWORK [conn1] db exception when initializing on shard0001, current connection state is { state: { conn: "", vinfo: "TestDB.Coll @ 2|1||5a694b4963764b2fc2e39329", cursor: "(none)", count: 0, done: false }, retryNext: false, init: false, finish: false, errored: false } :: caused by :: 70 Shard shard0001 not found d20007| 2018-01-24T19:13:58.776-0800 I NETWORK [signalProcessingThread] shutdown: going to close listening sockets... c20004| 2018-01-24T19:13:58.867-0800 I - [conn17] end connection 127.0.0.1:61589 (15 connections now open) c20003| 2018-01-24T19:13:58.867-0800 I - [conn17] end connection 127.0.0.1:61588 (16 connections now open) c20002| 2018-01-24T19:13:58.867-0800 I - [conn27] end connection 127.0.0.1:61593 (20 connections now open) d20007| 2018-01-24T19:13:58.776-0800 I NETWORK [signalProcessingThread] closing listening socket: 11 c20002| 2018-01-24T19:13:58.867-0800 I - [conn25] end connection 127.0.0.1:61587 (19 connections now open) d20007| 2018-01-24T19:13:58.776-0800 I NETWORK [signalProcessingThread] closing listening socket: 13 d20007| 2018-01-24T19:13:58.776-0800 I NETWORK [signalProcessingThread] removing socket file: /tmp/mongodb-20007.sock d20007| 2018-01-24T19:13:58.777-0800 I NETWORK [signalProcessingThread] shutdown: going to flush diaglog... d20007| 2018-01-24T19:13:58.777-0800 W SHARDING [signalProcessingThread] cant reload ShardRegistry :: caused by :: CallbackCanceled: Callback canceled d20007| 2018-01-24T19:13:58.777-0800 I FTDC [signalProcessingThread] Shutting down full-time diagnostic data capture d20007| 2018-01-24T19:13:58.780-0800 W SHARDING [signalProcessingThread] error encountered while cleaning up distributed ping entry for st-bartle1:20007:1516850008:-5232161229722016649 :: caused by :: InterruptedAtShutdown: interrupted at shutdown d20007| 2018-01-24T19:13:58.781-0800 I STORAGE [signalProcessingThread] WiredTigerKVEngine shutting down d20007| 2018-01-24T19:13:58.861-0800 I STORAGE [signalProcessingThread] shutdown: removing fs lock... d20007| 2018-01-24T19:13:58.862-0800 I CONTROL [signalProcessingThread] now exiting d20007| 2018-01-24T19:13:58.862-0800 I CONTROL [signalProcessingThread] shutting down with code:0 d20007| 2018-01-24T19:13:58.862-0800 I CONTROL [initandlisten] shutting down with code:0 s20006| 2018-01-24T19:13:58.960-0800 I CONTROL [signalProcessingThread] got signal 15 (Terminated: 15), will terminate after current cmd ends s20006| 2018-01-24T19:13:58.960-0800 D SHARDING [signalProcessingThread] ShardingCatalogClientImpl::shutDown() called. s20006| 2018-01-24T19:13:58.960-0800 W SHARDING [signalProcessingThread] error encountered while cleaning up distributed ping entry for st-bartle1:20006:1516849978:-8268953615746350680 :: caused by :: InterruptedAtShutdown: interrupted at shutdown s20006| 2018-01-24T19:13:58.960-0800 I CONTROL [signalProcessingThread] shutting down with code:0 d20001| 2018-01-24T19:13:58.962-0800 I - [conn7] end connection 127.0.0.1:61582 (7 connections now open) d20000| 2018-01-24T19:13:58.962-0800 I - [conn9] end connection 127.0.0.1:61581 (9 connections now open) c20004| 2018-01-24T19:13:58.962-0800 I - [conn12] end connection 127.0.0.1:61524 (14 connections now open) c20004| 2018-01-24T19:13:58.963-0800 I - [conn11] end connection 127.0.0.1:61514 (13 connections now open) c20002| 2018-01-24T19:13:58.963-0800 I - [conn16] end connection 127.0.0.1:61516 (18 connections now open) c20002| 2018-01-24T19:13:58.963-0800 I - [conn17] end connection 127.0.0.1:61520 (17 connections now open) c20002| 2018-01-24T19:13:58.963-0800 I - [conn15] end connection 127.0.0.1:61512 (16 connections now open) c20003| 2018-01-24T19:13:58.963-0800 I - [conn12] end connection 127.0.0.1:61518 (15 connections now open) c20003| 2018-01-24T19:13:58.963-0800 I - [conn11] end connection 127.0.0.1:61513 (14 connections now open) c20003| 2018-01-24T19:13:58.963-0800 I - [conn20] end connection 127.0.0.1:61631 (13 connections now open) s20005| 2018-01-24T19:13:58.963-0800 I CONTROL [signalProcessingThread] got signal 15 (Terminated: 15), will terminate after current cmd ends s20005| 2018-01-24T19:13:58.963-0800 D SHARDING [signalProcessingThread] ShardingCatalogClientImpl::shutDown() called. s20005| 2018-01-24T19:13:58.963-0800 W SHARDING [signalProcessingThread] error encountered while cleaning up distributed ping entry for st-bartle1:20005:1516849977:5275881621408687346 :: caused by :: InterruptedAtShutdown: interrupted at shutdown s20005| 2018-01-24T19:13:58.963-0800 I CONTROL [signalProcessingThread] shutting down with code:0 c20003| 2018-01-24T19:13:58.965-0800 I - [conn19] end connection 127.0.0.1:61619 (12 connections now open) c20003| 2018-01-24T19:13:58.965-0800 I - [conn10] end connection 127.0.0.1:61505 (11 connections now open) c20003| 2018-01-24T19:13:58.965-0800 I - [conn9] end connection 127.0.0.1:61498 (10 connections now open) d20001| 2018-01-24T19:13:58.965-0800 I - [conn6] end connection 127.0.0.1:61578 (6 connections now open) d20001| 2018-01-24T19:13:58.965-0800 I - [conn3] end connection 127.0.0.1:61548 (5 connections now open) d20000| 2018-01-24T19:13:58.965-0800 I - [conn6] end connection 127.0.0.1:61561 (8 connections now open) d20000| 2018-01-24T19:13:58.965-0800 I - [conn5] end connection 127.0.0.1:61560 (7 connections now open) d20000| 2018-01-24T19:13:58.966-0800 I - [conn3] end connection 127.0.0.1:61546 (6 connections now open) c20002| 2018-01-24T19:13:58.965-0800 I - [conn24] end connection 127.0.0.1:61576 (15 connections now open) c20004| 2018-01-24T19:13:58.965-0800 I - [conn10] end connection 127.0.0.1:61509 (12 connections now open) c20002| 2018-01-24T19:13:58.966-0800 I - [conn13] end connection 127.0.0.1:61503 (14 connections now open) c20004| 2018-01-24T19:13:58.966-0800 I - [conn9] end connection 127.0.0.1:61501 (11 connections now open) c20002| 2018-01-24T19:13:58.966-0800 I - [conn14] end connection 127.0.0.1:61507 (13 connections now open) c20004| 2018-01-24T19:13:58.966-0800 I CONTROL [signalProcessingThread] got signal 15 (Terminated: 15), will terminate after current cmd ends c20002| 2018-01-24T19:13:58.966-0800 I - [conn12] end connection 127.0.0.1:61499 (12 connections now open) c20004| 2018-01-24T19:13:58.966-0800 I NETWORK [signalProcessingThread] shutdown: going to close listening sockets... c20004| 2018-01-24T19:13:58.966-0800 I NETWORK [signalProcessingThread] closing listening socket: 11 c20004| 2018-01-24T19:13:58.966-0800 I NETWORK [signalProcessingThread] closing listening socket: 13 c20004| 2018-01-24T19:13:58.966-0800 I NETWORK [signalProcessingThread] removing socket file: /tmp/mongodb-20004.sock c20004| 2018-01-24T19:13:58.966-0800 I NETWORK [signalProcessingThread] shutdown: going to flush diaglog... c20004| 2018-01-24T19:13:58.966-0800 I REPL [signalProcessingThread] shutting down replication subsystems c20004| 2018-01-24T19:13:58.966-0800 I REPL [signalProcessingThread] Stopping replication reporter thread c20004| 2018-01-24T19:13:58.966-0800 I REPL [SyncSourceFeedback] SyncSourceFeedback error sending update to st-bartle1:20002: CallbackCanceled: Reporter no longer valid c20004| 2018-01-24T19:13:58.966-0800 I REPL [signalProcessingThread] Stopping replication fetcher thread c20004| 2018-01-24T19:13:58.966-0800 I REPL [signalProcessingThread] Stopping replication applier thread c20004| 2018-01-24T19:13:58.967-0800 I ASIO [NetworkInterfaceASIO-RS-0] Ending connection to host st-bartle1:20002 due to bad connection status; 1 connections to that host remain open c20004| 2018-01-24T19:13:58.967-0800 I REPL [rsBackgroundSync] Replication producer stopped after oplog fetcher finished returning a batch from our sync source. Abandoning this batch of oplog entries and re-evaluating our sync source. c20004| 2018-01-24T19:13:58.967-0800 I REPL [signalProcessingThread] Stopping replication snapshot thread c20004| 2018-01-24T19:13:58.967-0800 I REPL [signalProcessingThread] Stopping replication storage threads c20004| 2018-01-24T19:13:58.968-0800 W SHARDING [signalProcessingThread] cant reload ShardRegistry :: caused by :: CallbackCanceled: Callback canceled c20004| 2018-01-24T19:13:58.968-0800 I FTDC [signalProcessingThread] Shutting down full-time diagnostic data capture c20004| 2018-01-24T19:13:58.972-0800 I STORAGE [signalProcessingThread] WiredTigerKVEngine shutting down c20004| 2018-01-24T19:13:59.138-0800 I STORAGE [signalProcessingThread] shutdown: removing fs lock... c20004| 2018-01-24T19:13:59.139-0800 I CONTROL [signalProcessingThread] now exiting c20004| 2018-01-24T19:13:59.139-0800 I CONTROL [signalProcessingThread] shutting down with code:0 c20004| 2018-01-24T19:13:59.139-0800 I CONTROL [initandlisten] shutting down with code:0 c20003| 2018-01-24T19:13:59.144-0800 I ASIO [NetworkInterfaceASIO-RS-0] Ending connection to host st-bartle1:20004 due to bad connection status; 1 connections to that host remain open c20003| 2018-01-24T19:13:59.144-0800 I ASIO [NetworkInterfaceASIO-RS-0] Failed to close stream: Socket is not connected c20003| 2018-01-24T19:13:59.144-0800 I - [conn7] end connection 127.0.0.1:61485 (9 connections now open) c20003| 2018-01-24T19:13:59.144-0800 I - [conn5] end connection 127.0.0.1:61466 (8 connections now open) c20002| 2018-01-24T19:13:59.144-0800 I - [conn10] end connection 127.0.0.1:61489 (11 connections now open) c20002| 2018-01-24T19:13:59.144-0800 I - [conn4] end connection 127.0.0.1:61462 (10 connections now open) c20003| 2018-01-24T19:13:59.144-0800 I REPL [replication-0] Restarting oplog query due to error: HostUnreachable: End of file. Last fetched optime (with hash): { ts: Timestamp 1516850038000|18, t: 1 }[133214966458754941]. Restarts remaining: 3 c20003| 2018-01-24T19:13:59.144-0800 I ASIO [replication-0] dropping unhealthy pooled connection to st-bartle1:20004 c20003| 2018-01-24T19:13:59.144-0800 I ASIO [replication-0] after drop, pool was empty, going to spawn some connections c20003| 2018-01-24T19:13:59.144-0800 I ASIO [replication-0] Failed to close stream: Socket is not connected c20003| 2018-01-24T19:13:59.144-0800 I REPL [replication-0] Scheduled new oplog query Fetcher source: st-bartle1:20004 database: local query: { find: "oplog.rs", filter: { ts: { $gte: Timestamp 1516850038000|18 } }, tailable: true, oplogReplay: true, awaitData: true, maxTimeMS: 60000, term: 1, readConcern: { afterOpTime: { ts: Timestamp 1516850038000|18, t: 1 } } } query metadata: { $replData: 1, $oplogQueryData: 1, $ssm: { $secondaryOk: true } } active: 1 timeout: 65000ms shutting down?: 0 first: 1 firstCommandScheduler: RemoteCommandRetryScheduler request: RemoteCommand 851 -- target:st-bartle1:20004 db:local cmd:{ find: "oplog.rs", filter: { ts: { $gte: Timestamp 1516850038000|18 } }, tailable: true, oplogReplay: true, awaitData: true, maxTimeMS: 60000, term: 1, readConcern: { afterOpTime: { ts: Timestamp 1516850038000|18, t: 1 } } } active: 1 callbackHandle.valid: 1 callbackHandle.cancelled: 0 attempt: 1 retryPolicy: RetryPolicyImpl maxAttempts: 1 maxTimeMillis: -1ms c20003| 2018-01-24T19:13:59.144-0800 I ASIO [NetworkInterfaceASIO-RS-0] Connecting to st-bartle1:20004 c20003| 2018-01-24T19:13:59.145-0800 I CONTROL [signalProcessingThread] got signal 15 (Terminated: 15), will terminate after current cmd ends c20003| 2018-01-24T19:13:59.145-0800 I NETWORK [signalProcessingThread] shutdown: going to close listening sockets... c20003| 2018-01-24T19:13:59.145-0800 I NETWORK [signalProcessingThread] closing listening socket: 11 c20003| 2018-01-24T19:13:59.145-0800 I NETWORK [signalProcessingThread] closing listening socket: 12 c20003| 2018-01-24T19:13:59.145-0800 I NETWORK [signalProcessingThread] removing socket file: /tmp/mongodb-20003.sock c20003| 2018-01-24T19:13:59.146-0800 I NETWORK [signalProcessingThread] shutdown: going to flush diaglog... c20003| 2018-01-24T19:13:59.146-0800 I REPL [signalProcessingThread] shutting down replication subsystems c20003| 2018-01-24T19:13:59.146-0800 I REPL [signalProcessingThread] Stopping replication reporter thread c20003| 2018-01-24T19:13:59.146-0800 I REPL [SyncSourceFeedback] SyncSourceFeedback error sending update to st-bartle1:20004: CallbackCanceled: Reporter no longer valid c20003| 2018-01-24T19:13:59.146-0800 I REPL [signalProcessingThread] Stopping replication fetcher thread c20003| 2018-01-24T19:13:59.146-0800 I REPL [signalProcessingThread] Stopping replication applier thread c20003| 2018-01-24T19:13:59.147-0800 I ASIO [NetworkInterfaceASIO-RS-0] Failed to connect to st-bartle1:20004 - HostUnreachable: Connection refused c20003| 2018-01-24T19:13:59.147-0800 I ASIO [NetworkInterfaceASIO-RS-0] Dropping all pooled connections to st-bartle1:20004 due to failed operation on a connection c20003| 2018-01-24T19:13:59.147-0800 I REPL [rsBackgroundSync] Replication producer stopped after oplog fetcher finished returning a batch from our sync source. Abandoning this batch of oplog entries and re-evaluating our sync source. c20003| 2018-01-24T19:13:59.147-0800 I REPL [signalProcessingThread] Stopping replication snapshot thread c20003| 2018-01-24T19:13:59.147-0800 I REPL [signalProcessingThread] Stopping replication storage threads c20003| 2018-01-24T19:13:59.148-0800 W SHARDING [signalProcessingThread] cant reload ShardRegistry :: caused by :: CallbackCanceled: Callback canceled c20003| 2018-01-24T19:13:59.148-0800 I FTDC [signalProcessingThread] Shutting down full-time diagnostic data capture c20003| 2018-01-24T19:13:59.152-0800 I STORAGE [signalProcessingThread] WiredTigerKVEngine shutting down c20003| 2018-01-24T19:13:59.308-0800 I STORAGE [signalProcessingThread] shutdown: removing fs lock... c20003| 2018-01-24T19:13:59.308-0800 I CONTROL [signalProcessingThread] now exiting c20003| 2018-01-24T19:13:59.308-0800 I CONTROL [signalProcessingThread] shutting down with code:0 c20003| 2018-01-24T19:13:59.308-0800 I CONTROL [initandlisten] shutting down with code:0 c20002| 2018-01-24T19:13:59.313-0800 I - [conn8] end connection 127.0.0.1:61476 (9 connections now open) c20002| 2018-01-24T19:13:59.314-0800 I - [conn2] end connection 127.0.0.1:61459 (8 connections now open) c20002| 2018-01-24T19:13:59.314-0800 I CONTROL [signalProcessingThread] got signal 15 (Terminated: 15), will terminate after current cmd ends c20002| 2018-01-24T19:13:59.314-0800 I SHARDING [Balancer] CSRS balancer is now stopped c20002| 2018-01-24T19:13:59.314-0800 I NETWORK [signalProcessingThread] shutdown: going to close listening sockets... c20002| 2018-01-24T19:13:59.314-0800 I NETWORK [signalProcessingThread] closing listening socket: 10 c20002| 2018-01-24T19:13:59.314-0800 I NETWORK [signalProcessingThread] closing listening socket: 11 c20002| 2018-01-24T19:13:59.314-0800 I NETWORK [signalProcessingThread] removing socket file: /tmp/mongodb-20002.sock c20002| 2018-01-24T19:13:59.314-0800 I NETWORK [signalProcessingThread] shutdown: going to flush diaglog... c20002| 2018-01-24T19:13:59.314-0800 I REPL [signalProcessingThread] shutting down replication subsystems c20002| 2018-01-24T19:13:59.314-0800 I REPL [signalProcessingThread] Stopping replication reporter thread c20002| 2018-01-24T19:13:59.315-0800 I REPL [signalProcessingThread] Stopping replication fetcher thread c20002| 2018-01-24T19:13:59.315-0800 I REPL [signalProcessingThread] Stopping replication applier thread c20002| 2018-01-24T19:13:59.852-0800 I REPL [signalProcessingThread] Stopping replication snapshot thread c20002| 2018-01-24T19:13:59.852-0800 I REPL [signalProcessingThread] Stopping replication storage threads c20002| 2018-01-24T19:13:59.852-0800 W SHARDING [signalProcessingThread] cant reload ShardRegistry :: caused by :: CallbackCanceled: Callback canceled c20002| 2018-01-24T19:13:59.852-0800 I FTDC [signalProcessingThread] Shutting down full-time diagnostic data capture c20002| 2018-01-24T19:13:59.858-0800 I STORAGE [signalProcessingThread] WiredTigerKVEngine shutting down c20002| 2018-01-24T19:14:00.030-0800 I STORAGE [signalProcessingThread] shutdown: removing fs lock... c20002| 2018-01-24T19:14:00.031-0800 I CONTROL [signalProcessingThread] now exiting c20002| 2018-01-24T19:14:00.031-0800 I CONTROL [signalProcessingThread] shutting down with code:0 d20001| 2018-01-24T19:14:00.037-0800 I - [conn4] end connection 127.0.0.1:61559 (4 connections now open) d20000| 2018-01-24T19:14:00.037-0800 I - [conn7] end connection 127.0.0.1:61574 (5 connections now open) d20000| 2018-01-24T19:14:00.037-0800 I - [conn4] end connection 127.0.0.1:61557 (4 connections now open) d20001| 2018-01-24T19:14:00.037-0800 I - [conn2] end connection 127.0.0.1:61536 (3 connections now open) d20000| 2018-01-24T19:14:00.037-0800 I - [conn2] end connection 127.0.0.1:61527 (3 connections now open) d20001| 2018-01-24T19:14:00.037-0800 I CONTROL [signalProcessingThread] got signal 15 (Terminated: 15), will terminate after current cmd ends d20001| 2018-01-24T19:14:00.037-0800 I NETWORK [signalProcessingThread] shutdown: going to close listening sockets... d20001| 2018-01-24T19:14:00.037-0800 I NETWORK [signalProcessingThread] closing listening socket: 9 d20001| 2018-01-24T19:14:00.037-0800 I NETWORK [signalProcessingThread] closing listening socket: 10 d20001| 2018-01-24T19:14:00.038-0800 I NETWORK [signalProcessingThread] removing socket file: /tmp/mongodb-20001.sock d20001| 2018-01-24T19:14:00.038-0800 I NETWORK [signalProcessingThread] shutdown: going to flush diaglog... d20001| 2018-01-24T19:14:00.038-0800 W SHARDING [signalProcessingThread] cant reload ShardRegistry :: caused by :: CallbackCanceled: Callback canceled d20001| 2018-01-24T19:14:00.038-0800 I FTDC [signalProcessingThread] Shutting down full-time diagnostic data capture d20001| 2018-01-24T19:14:00.041-0800 W SHARDING [signalProcessingThread] error encountered while cleaning up distributed ping entry for st-bartle1:20001:1516849978:-7640502118447977931 :: caused by :: InterruptedAtShutdown: interrupted at shutdown d20001| 2018-01-24T19:14:00.041-0800 I STORAGE [signalProcessingThread] WiredTigerKVEngine shutting down d20001| 2018-01-24T19:14:00.157-0800 I STORAGE [signalProcessingThread] shutdown: removing fs lock... d20001| 2018-01-24T19:14:00.158-0800 I CONTROL [signalProcessingThread] now exiting d20001| 2018-01-24T19:14:00.158-0800 I CONTROL [signalProcessingThread] shutting down with code:0 d20000| 2018-01-24T19:14:00.162-0800 I - [conn8] end connection 127.0.0.1:61577 (2 connections now open) d20000| 2018-01-24T19:14:00.163-0800 I CONTROL [signalProcessingThread] got signal 15 (Terminated: 15), will terminate after current cmd ends d20000| 2018-01-24T19:14:00.163-0800 I NETWORK [signalProcessingThread] shutdown: going to close listening sockets... d20000| 2018-01-24T19:14:00.163-0800 I NETWORK [signalProcessingThread] closing listening socket: 8 d20000| 2018-01-24T19:14:00.163-0800 I NETWORK [signalProcessingThread] closing listening socket: 9 d20000| 2018-01-24T19:14:00.163-0800 I NETWORK [signalProcessingThread] removing socket file: /tmp/mongodb-20000.sock d20000| 2018-01-24T19:14:00.163-0800 I NETWORK [signalProcessingThread] shutdown: going to flush diaglog... d20000| 2018-01-24T19:14:00.163-0800 W SHARDING [signalProcessingThread] cant reload ShardRegistry :: caused by :: CallbackCanceled: Callback canceled d20000| 2018-01-24T19:14:00.163-0800 I FTDC [signalProcessingThread] Shutting down full-time diagnostic data capture d20000| 2018-01-24T19:14:00.166-0800 W SHARDING [signalProcessingThread] error encountered while cleaning up distributed ping entry for st-bartle1:20000:1516849978:-7692937668685162276 :: caused by :: InterruptedAtShutdown: interrupted at shutdown d20000| 2018-01-24T19:14:00.166-0800 I STORAGE [signalProcessingThread] WiredTigerKVEngine shutting down d20000| 2018-01-24T19:14:00.264-0800 I STORAGE [signalProcessingThread] shutdown: removing fs lock... d20000| 2018-01-24T19:14:00.264-0800 I CONTROL [signalProcessingThread] now exiting d20000| 2018-01-24T19:14:00.264-0800 I CONTROL [signalProcessingThread] shutting down with code:0