-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.2.12
-
Component/s: mongorestore
-
None
-
Environment:MongoDB shell version: 3.2.0
3-node replica set running 3.2.12
MacBook Pro, 16 GB
running Mac OS X 10.12.1
I'm unable to complete a successful mongorestore on a .bson doc that is 232 MB large.
The job begins running normally, but inevitably times out somewhere between 10% and 50% through. I've tried to re-run and haven't been able to get past that point. Once, I got the stack trace included below, but more often, the failure is silent.
My server appears to have normal hardware metrics around the times I've run these jobs and the target of this job is a brand new replica set running the latest available version for CloudManager (3.2.12). A similar timeout issue was happening while performing the related mongodump, but after multiple restarts, that job ultimately completed successfully. I've seen these timeouts happen for other mongorestore jobs I've run today, but those completed after many retries, too.
fatal error: unexpected signal during runtime execution [signal 0xb code=0x1 addr=0xf2ea04f6d2e pc=0xd3620] goroutine 26 [running]: runtime.throw(0x3f4d80, 0x2a) /usr/local/Cellar/go/1.5.2/libexec/src/runtime/panic.go:527 +0x90 fp=0xc8238cdaf0 sp=0xc8238cdad8 runtime.sigpanic() /usr/local/Cellar/go/1.5.2/libexec/src/runtime/sigpanic_unix.go:12 +0x5a fp=0xc8238cdb40 sp=0xc8238cdaf0 sync.(*Pool).Get(0x8b9240, 0x0, 0x0) /usr/local/Cellar/go/1.5.2/libexec/src/sync/pool.go:101 +0x40 fp=0xc8238cdb90 sp=0xc8238cdb40 fmt.newPrinter(0xc823c4bbd0) /usr/local/Cellar/go/1.5.2/libexec/src/fmt/print.go:133 +0x27 fp=0xc8238cdbd0 sp=0xc8238cdb90 fmt.Fprintf(0x9c8380, 0xc820034018, 0x38af80, 0x6, 0xc8238cdcc8, 0x2, 0x2, 0xc823bcb880, 0x0, 0x0) /usr/local/Cellar/go/1.5.2/libexec/src/fmt/print.go:187 +0x30 fp=0xc8238cdc18 sp=0xc8238cdbd0 github.com/mongodb/mongo-tools/common/log.(*ToolLogger).log(0xc820016720, 0xc823bcb880, 0xd6) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/common/log/tool_logger.go:84 +0x20e fp=0xc8238cdcf0 sp=0xc8238cdc18 github.com/mongodb/mongo-tools/common/log.(*ToolLogger).Logf(0xc820016720, 0x0, 0x397170, 0x9, 0xc8238cde68, 0x1, 0x1) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/common/log/tool_logger.go:67 +0x129 fp=0xc8238cdd50 sp=0xc8238cdcf0 github.com/mongodb/mongo-tools/common/log.Logf(0x0, 0x397170, 0x9, 0xc8238cde68, 0x1, 0x1) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/common/log/tool_logger.go:129 +0x5f fp=0xc8238cdd90 sp=0xc8238cdd50 github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).RestoreCollectionToDB.func2(0xc8201021a0, 0xc8200fc0c0, 0xc8200696c0, 0xc8200f43c0, 0xc8200f4420, 0xc8200f22e0) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:272 +0x74b fp=0xc8238cdf60 sp=0xc8238cdd90 runtime.goexit() /usr/local/Cellar/go/1.5.2/libexec/src/runtime/asm_amd64.s:1721 +0x1 fp=0xc8238cdf68 sp=0xc8238cdf60 created by github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).RestoreCollectionToDB /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:288 +0xa02 goroutine 1 [chan receive]: github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).RestoreIntents(0xc8200696c0, 0x0, 0x0) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:57 +0x42a github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).Restore(0xc8200696c0, 0x0, 0x0) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/mongorestore.go:368 +0x1918 main.main() /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/mongorestore/main/mongorestore.go:69 +0x7f3 goroutine 17 [syscall, locked to thread]: runtime.goexit() /usr/local/Cellar/go/1.5.2/libexec/src/runtime/asm_amd64.s:1721 +0x1 goroutine 5 [syscall]: os/signal.loop() /usr/local/Cellar/go/1.5.2/libexec/src/os/signal/signal_unix.go:22 +0x18 created by os/signal.init.1 /usr/local/Cellar/go/1.5.2/libexec/src/os/signal/signal_unix.go:28 +0x37 goroutine 6 [select]: gopkg.in/mgo%2ev2.(*mongoCluster).syncServersLoop(0xc82009e000) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/cluster.go:394 +0x61f created by gopkg.in/mgo%2ev2.newCluster /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/cluster.go:78 +0x1d0 goroutine 19 [chan receive]: github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).handleSignals(0xc8200696c0) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/mongorestore.go:447 +0x1de created by github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).Restore /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/mongorestore.go:366 +0x1907 goroutine 18 [IO wait]: net.runtime_pollWait(0xa06000, 0x72, 0xc8200121f0) /usr/local/Cellar/go/1.5.2/libexec/src/runtime/netpoll.go:157 +0x60 net.(*pollDesc).Wait(0xc8200b40d0, 0x72, 0x0, 0x0) /usr/local/Cellar/go/1.5.2/libexec/src/net/fd_poll_runtime.go:73 +0x3a net.(*pollDesc).WaitRead(0xc8200b40d0, 0x0, 0x0) /usr/local/Cellar/go/1.5.2/libexec/src/net/fd_poll_runtime.go:78 +0x36 net.(*netFD).Read(0xc8200b4070, 0xc8200ac240, 0x24, 0x24, 0x0, 0x9c4050, 0xc8200121f0) /usr/local/Cellar/go/1.5.2/libexec/src/net/fd_unix.go:232 +0x23a net.(*conn).Read(0xc8200b6008, 0xc8200ac240, 0x24, 0x24, 0x0, 0x0, 0x0) /usr/local/Cellar/go/1.5.2/libexec/src/net/net.go:172 +0xe4 gopkg.in/mgo%2ev2.fill(0xa060f0, 0xc8200b6008, 0xc8200ac240, 0x24, 0x24, 0x0, 0x0) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/socket.go:531 +0x6c gopkg.in/mgo%2ev2.(*mongoSocket).readLoop(0xc8200ba1c0) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/socket.go:548 +0x132 created by gopkg.in/mgo%2ev2.newSocket /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/socket.go:195 +0x402 goroutine 10 [sleep]: time.Sleep(0x12a05f200) /usr/local/Cellar/go/1.5.2/libexec/src/runtime/time.go:59 +0xf9 gopkg.in/mgo%2ev2.(*mongoServer).pinger(0xc8200ba000, 0x1) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/server.go:297 +0x1b0 created by gopkg.in/mgo%2ev2.newServer /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/server.go:90 +0x162 goroutine 20 [select]: github.com/mongodb/mongo-tools/common/progress.(*Manager).start(0xc8200c0640) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/common/progress/manager.go:126 +0x149 created by github.com/mongodb/mongo-tools/common/progress.(*Manager).Start /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/common/progress/manager.go:115 +0xd2 goroutine 34 [chan send]: github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).RestoreCollectionToDB.func1(0xc8200f22a0, 0xc8200696c0, 0x7fff5fbff704, 0x4, 0x7fff5fbff70c, 0xa, 0xc8200f0440, 0xc8200f43c0, 0xc8200f0480) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:239 +0x3de created by github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).RestoreCollectionToDB /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:244 +0x897 goroutine 25 [select, locked to thread]: runtime.gopark(0x7a20e0, 0xc82002df28, 0x38edb0, 0x6, 0xf318, 0x2) /usr/local/Cellar/go/1.5.2/libexec/src/runtime/proc.go:185 +0x163 runtime.selectgoImpl(0xc82002df28, 0x0, 0x18) /usr/local/Cellar/go/1.5.2/libexec/src/runtime/select.go:392 +0xa64 runtime.selectgo(0xc82002df28) /usr/local/Cellar/go/1.5.2/libexec/src/runtime/select.go:212 +0x12 runtime.ensureSigM.func1() /usr/local/Cellar/go/1.5.2/libexec/src/runtime/signal1_unix.go:227 +0x323 runtime.goexit() /usr/local/Cellar/go/1.5.2/libexec/src/runtime/asm_amd64.s:1721 +0x1 goroutine 24 [chan receive]: github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).RestoreCollectionToDB(0xc8200696c0, 0x7fff5fbff704, 0x4, 0x7fff5fbff70c, 0xa, 0xc8200f22a0, 0xe80d804, 0x0, 0x0, 0x0) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:296 +0xa87 github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).RestoreIntent(0xc8200696c0, 0xc8200e2480, 0x0, 0x0) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:170 +0x18e2 github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).RestoreIntents.func1(0xc8200696c0, 0xc8200bc540, 0x3) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:45 +0x2aa created by github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).RestoreIntents /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:52 +0x3bc goroutine 35 [semacquire]: sync.runtime_Semacquire(0xc8254a40a4) /usr/local/Cellar/go/1.5.2/libexec/src/runtime/sema.go:43 +0x26 sync.(*Mutex).Lock(0xc8254a40a0) /usr/local/Cellar/go/1.5.2/libexec/src/sync/mutex.go:82 +0x1c4 gopkg.in/mgo%2ev2.(*mongoSocket).SimpleQuery(0xc8200ba1c0, 0xc8221061c0, 0x0, 0x0, 0x0, 0x0, 0x0) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/socket.go:368 +0x2a4 gopkg.in/mgo%2ev2.(*Database).run(0xc820015080, 0xc8200ba1c0, 0x31b680, 0xc8224abc40, 0x28c440, 0xc8200bc420, 0x0, 0x0) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/session.go:2846 +0x339 gopkg.in/mgo%2ev2.(*Collection).writeCommand(0xc820017830, 0xc8200ba1c0, 0xc8200fa1c0, 0x28ba20, 0xc8239ce0c0, 0xc821ec4050, 0x0, 0x0) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/session.go:4203 +0x497 gopkg.in/mgo%2ev2.(*Collection).writeQuery(0xc820017830, 0x28ba20, 0xc8239ce0c0, 0x0, 0x0, 0x0) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/session.go:4103 +0x30f gopkg.in/mgo%2ev2.(*Bulk).Run(0xc8239ce090, 0x7a17e8, 0x0, 0x0) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/bulk.go:66 +0x102 github.com/mongodb/mongo-tools/common/db.(*BufferedBulkInserter).Flush(0xc8242bbf28, 0x0, 0x0) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/common/db/buffered_bulk.go:69 +0x7c github.com/mongodb/mongo-tools/common/db.(*BufferedBulkInserter).Insert(0xc8242bbf28, 0x342ac0, 0xc821944f60, 0x0, 0x0) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/common/db/buffered_bulk.go:54 +0x311 github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).RestoreCollectionToDB.func2(0xc8201021a0, 0xc8200fc0c0, 0xc8200696c0, 0xc8200f43c0, 0xc8200f4420, 0xc8200f22e0) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:265 +0x615 created by github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).RestoreCollectionToDB /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:288 +0xa02 goroutine 36 [semacquire]: sync.runtime_Semacquire(0xc822f3c104) /usr/local/Cellar/go/1.5.2/libexec/src/runtime/sema.go:43 +0x26 sync.(*Mutex).Lock(0xc822f3c100) /usr/local/Cellar/go/1.5.2/libexec/src/sync/mutex.go:82 +0x1c4 gopkg.in/mgo%2ev2.(*mongoSocket).SimpleQuery(0xc8200bab60, 0xc822106460, 0x0, 0x0, 0x0, 0x0, 0x0) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/socket.go:368 +0x2a4 gopkg.in/mgo%2ev2.(*Database).run(0xc8200f2300, 0xc8200bab60, 0x31b680, 0xc8224abee0, 0x28c440, 0xc8200bc300, 0x0, 0x0) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/session.go:2846 +0x339 gopkg.in/mgo%2ev2.(*Collection).writeCommand(0xc8200fc0f0, 0xc8200bab60, 0xc8200fa1c0, 0x28ba20, 0xc8200ac030, 0xc821ec40a0, 0x0, 0x0) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/session.go:4203 +0x497 gopkg.in/mgo%2ev2.(*Collection).writeQuery(0xc8200fc0f0, 0x28ba20, 0xc8200ac030, 0x0, 0x0, 0x0) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/session.go:4103 +0x30f gopkg.in/mgo%2ev2.(*Bulk).Run(0xc8251fe030, 0x7a17e8, 0x0, 0x0) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/bulk.go:66 +0x102 github.com/mongodb/mongo-tools/common/db.(*BufferedBulkInserter).Flush(0xc8242bff28, 0x0, 0x0) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/common/db/buffered_bulk.go:69 +0x7c github.com/mongodb/mongo-tools/common/db.(*BufferedBulkInserter).Insert(0xc8242bff28, 0x342ac0, 0xc8224ab980, 0x0, 0x0) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/common/db/buffered_bulk.go:54 +0x311 github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).RestoreCollectionToDB.func2(0xc8201021a0, 0xc8200fc0c0, 0xc8200696c0, 0xc8200f43c0, 0xc8200f4420, 0xc8200f22e0) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:265 +0x615 created by github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).RestoreCollectionToDB /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:288 +0xa02 goroutine 27 [semacquire]: sync.runtime_Semacquire(0xc821818644) /usr/local/Cellar/go/1.5.2/libexec/src/runtime/sema.go:43 +0x26 sync.(*Mutex).Lock(0xc821818640) /usr/local/Cellar/go/1.5.2/libexec/src/sync/mutex.go:82 +0x1c4 gopkg.in/mgo%2ev2.(*mongoSocket).SimpleQuery(0xc822106380, 0xc8226af960, 0x0, 0x0, 0x0, 0x0, 0x0) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/socket.go:368 +0x2a4 gopkg.in/mgo%2ev2.(*Database).run(0xc821787160, 0xc822106380, 0x31b680, 0xc82256a280, 0x28c440, 0xc823ace0c0, 0x0, 0x0) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/session.go:2846 +0x339 gopkg.in/mgo%2ev2.(*Collection).writeCommand(0xc8200ac060, 0xc822106380, 0xc8200fa1c0, 0x28ba20, 0xc8239ce000, 0xc820010780, 0x0, 0x0) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/session.go:4203 +0x497 gopkg.in/mgo%2ev2.(*Collection).writeQuery(0xc8200ac060, 0x28ba20, 0xc8239ce000, 0x0, 0x0, 0x0) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/session.go:4103 +0x30f gopkg.in/mgo%2ev2.(*Bulk).Run(0xc821cc0bd0, 0x7a17e8, 0x0, 0x0) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/bulk.go:66 +0x102 github.com/mongodb/mongo-tools/common/db.(*BufferedBulkInserter).Flush(0xc8212d5f38, 0x0, 0x0) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/common/db/buffered_bulk.go:69 +0x7c github.com/mongodb/mongo-tools/common/db.(*BufferedBulkInserter).Insert(0xc8212d5f38, 0x342ac0, 0xc821b52360, 0x0, 0x0) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/common/db/buffered_bulk.go:54 +0x311 github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).RestoreCollectionToDB.func2(0xc8201021a0, 0xc8200fc0c0, 0xc8200696c0, 0xc8200f43c0, 0xc8200f4420, 0xc8200f22e0) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:265 +0x615 created by github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).RestoreCollectionToDB /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:288 +0xa02 goroutine 28 [IO wait]: net.runtime_pollWait(0xa05f40, 0x72, 0xc8200121f0) /usr/local/Cellar/go/1.5.2/libexec/src/runtime/netpoll.go:157 +0x60 net.(*pollDesc).Wait(0xc8200b4060, 0x72, 0x0, 0x0) /usr/local/Cellar/go/1.5.2/libexec/src/net/fd_poll_runtime.go:73 +0x3a net.(*pollDesc).WaitRead(0xc8200b4060, 0x0, 0x0) /usr/local/Cellar/go/1.5.2/libexec/src/net/fd_poll_runtime.go:78 +0x36 net.(*netFD).Read(0xc8200b4000, 0xc8200167b0, 0x24, 0x24, 0x0, 0x9c4050, 0xc8200121f0) /usr/local/Cellar/go/1.5.2/libexec/src/net/fd_unix.go:232 +0x23a net.(*conn).Read(0xc8200b6000, 0xc8200167b0, 0x24, 0x24, 0x0, 0x0, 0x0) /usr/local/Cellar/go/1.5.2/libexec/src/net/net.go:172 +0xe4 gopkg.in/mgo%2ev2.fill(0xa060f0, 0xc8200b6000, 0xc8200167b0, 0x24, 0x24, 0x0, 0x0) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/socket.go:531 +0x6c gopkg.in/mgo%2ev2.(*mongoSocket).readLoop(0xc8200bab60) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/socket.go:548 +0x132 created by gopkg.in/mgo%2ev2.newSocket /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/socket.go:195 +0x402 goroutine 15 [IO wait]: net.runtime_pollWait(0xa05e80, 0x72, 0xc8200121f0) /usr/local/Cellar/go/1.5.2/libexec/src/runtime/netpoll.go:157 +0x60 net.(*pollDesc).Wait(0xc82001a140, 0x72, 0x0, 0x0) /usr/local/Cellar/go/1.5.2/libexec/src/net/fd_poll_runtime.go:73 +0x3a net.(*pollDesc).WaitRead(0xc82001a140, 0x0, 0x0) /usr/local/Cellar/go/1.5.2/libexec/src/net/fd_poll_runtime.go:78 +0x36 net.(*netFD).Read(0xc82001a0e0, 0xc8230aa0f0, 0x24, 0x24, 0x0, 0x9c4050, 0xc8200121f0) /usr/local/Cellar/go/1.5.2/libexec/src/net/fd_unix.go:232 +0x23a net.(*conn).Read(0xc821136008, 0xc8230aa0f0, 0x24, 0x24, 0x0, 0x0, 0x0) /usr/local/Cellar/go/1.5.2/libexec/src/net/net.go:172 +0xe4 gopkg.in/mgo%2ev2.fill(0xa060f0, 0xc821136008, 0xc8230aa0f0, 0x24, 0x24, 0x0, 0x0) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/socket.go:531 +0x6c gopkg.in/mgo%2ev2.(*mongoSocket).readLoop(0xc8200a0b60) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/socket.go:548 +0x132 created by gopkg.in/mgo%2ev2.newSocket /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/socket.go:195 +0x402 goroutine 37 [IO wait]: net.runtime_pollWait(0xa05dc0, 0x72, 0xc8200121f0) /usr/local/Cellar/go/1.5.2/libexec/src/runtime/netpoll.go:157 +0x60 net.(*pollDesc).Wait(0xc8230a8060, 0x72, 0x0, 0x0) /usr/local/Cellar/go/1.5.2/libexec/src/net/fd_poll_runtime.go:73 +0x3a net.(*pollDesc).WaitRead(0xc8230a8060, 0x0, 0x0) /usr/local/Cellar/go/1.5.2/libexec/src/net/fd_poll_runtime.go:78 +0x36 net.(*netFD).Read(0xc8230a8000, 0xc823899aac, 0x2bb1a, 0x2bb1a, 0x0, 0x9c4050, 0xc8200121f0) /usr/local/Cellar/go/1.5.2/libexec/src/net/fd_unix.go:232 +0x23a net.(*conn).Read(0xc820034000, 0xc823899aac, 0x2bb1a, 0x2bb1a, 0x0, 0x0, 0x0) /usr/local/Cellar/go/1.5.2/libexec/src/net/net.go:172 +0xe4 gopkg.in/mgo%2ev2.fill(0xa060f0, 0xc820034000, 0xc823888004, 0x3d5c2, 0x3d5c2, 0x0, 0x0) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/socket.go:534 +0x108 gopkg.in/mgo%2ev2.(*mongoSocket).readLoop(0xc822106380) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/socket.go:607 +0xe29 created by gopkg.in/mgo%2ev2.newSocket /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/socket.go:195 +0x402 goroutine 29 [IO wait]: net.runtime_pollWait(0xa05d00, 0x72, 0xc8200121f0) /usr/local/Cellar/go/1.5.2/libexec/src/runtime/netpoll.go:157 +0x60 net.(*pollDesc).Wait(0xc82001a1b0, 0x72, 0x0, 0x0) /usr/local/Cellar/go/1.5.2/libexec/src/net/fd_poll_runtime.go:73 +0x3a net.(*pollDesc).WaitRead(0xc82001a1b0, 0x0, 0x0) /usr/local/Cellar/go/1.5.2/libexec/src/net/fd_poll_runtime.go:78 +0x36 net.(*netFD).Read(0xc82001a150, 0xc8236f40f0, 0x24, 0x24, 0x0, 0x9c4050, 0xc8200121f0) /usr/local/Cellar/go/1.5.2/libexec/src/net/fd_unix.go:232 +0x23a net.(*conn).Read(0xc821136010, 0xc8236f40f0, 0x24, 0x24, 0x0, 0x0, 0x0) /usr/local/Cellar/go/1.5.2/libexec/src/net/net.go:172 +0xe4 gopkg.in/mgo%2ev2.fill(0xa060f0, 0xc821136010, 0xc8236f40f0, 0x24, 0x24, 0x0, 0x0) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/socket.go:531 +0x6c gopkg.in/mgo%2ev2.(*mongoSocket).readLoop(0xc8236e00e0) /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/socket.go:548 +0x132 created by gopkg.in/mgo%2ev2.newSocket /private/tmp/mongodb20151209-31186-4zrwg2/mongodb-src-r3.2.0/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/socket.go:195 +0x402
- duplicates
-
TOOLS-1450 The go 1.6 runtime is completely broken on MacOS Sierra 10.12
- Closed