Skip to content

Instantly share code, notes, and snippets.

@rpechayr
Created October 15, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rpechayr/abc563fd2e029dab5283 to your computer and use it in GitHub Desktop.
Save rpechayr/abc563fd2e029dab5283 to your computer and use it in GitHub Desktop.
Mongorestore Error
2015-10-15T15:43:54.412+0200 restoring some_db.some_collection from file dump/some_db/some_collection.bson
panic: runtime error: slice bounds out of range
goroutine 96 [running]:
github.com/mongodb/mongo-tools/common/db.(*BSONSource).LoadNextInto(0xc214119bc0, 0xc208176000, 0x1000000, 0x1000000, 0xc216cdaac0)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/common/db/bson_stream.go:98 +0x689
github.com/mongodb/mongo-tools/common/db.(*DecodedBSONSource).Next(0xc20c6cefc0, 0x2722e0, 0xc216cdaac0, 0xc20eab8000)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/common/db/bson_stream.go:56 +0x59
github.com/mongodb/mongo-tools/mongorestore.func·003()
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:232 +0x8b
created by github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).RestoreCollectionToDB
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:238 +0x991
goroutine 1 [chan receive, 14 minutes]:
github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).RestoreIntents(0xc208070000, 0x0, 0x0)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:60 +0x42d
github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).Restore(0xc208070000, 0x0, 0x0)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/mongorestore.go:230 +0xab8
main.main()
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/mongorestore/main/mongorestore.go:71 +0x84e
goroutine 5 [syscall, 14 minutes]:
os/signal.loop()
/usr/local/Cellar/go/1.4.2/libexec/src/os/signal/signal_unix.go:21 +0x1f
created by os/signal.init·1
/usr/local/Cellar/go/1.4.2/libexec/src/os/signal/signal_unix.go:27 +0x35
goroutine 6 [chan receive, 14 minutes]:
github.com/mongodb/mongo-tools/common/signals.Handle()
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/common/signals/signals_unix.go:16 +0x209
created by main.main
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/mongorestore/main/mongorestore.go:16 +0x34
goroutine 7 [select]:
gopkg.in/mgo%2ev2.(*mongoCluster).syncServersLoop(0xc208084000)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/cluster.go:391 +0x606
created by gopkg.in/mgo%2ev2.newCluster
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/cluster.go:76 +0x20b
goroutine 50 [IO wait]:
net.(*pollDesc).Wait(0xc2080c60d0, 0x72, 0x0, 0x0)
/usr/local/Cellar/go/1.4.2/libexec/src/net/fd_poll_runtime.go:84 +0x47
net.(*pollDesc).WaitRead(0xc2080c60d0, 0x0, 0x0)
/usr/local/Cellar/go/1.4.2/libexec/src/net/fd_poll_runtime.go:89 +0x43
net.(*netFD).Read(0xc2080c6070, 0xc2080b0240, 0x24, 0x24, 0x0, 0x611a90, 0xc208028d38)
/usr/local/Cellar/go/1.4.2/libexec/src/net/fd_unix.go:242 +0x40f
net.(*conn).Read(0xc2080c8008, 0xc2080b0240, 0x24, 0x24, 0x0, 0x0, 0x0)
/usr/local/Cellar/go/1.4.2/libexec/src/net/net.go:121 +0xdc
gopkg.in/mgo%2ev2.fill(0x612db0, 0xc2080c8008, 0xc2080b0240, 0x24, 0x24, 0x0, 0x0)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/socket.go:502 +0x75
gopkg.in/mgo%2ev2.(*mongoSocket).readLoop(0xc2080cc0e0)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/socket.go:519 +0x126
created by gopkg.in/mgo%2ev2.newSocket
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/socket.go:166 +0x3d3
goroutine 49 [syscall, 14 minutes, locked to thread]:
runtime.goexit()
/usr/local/Cellar/go/1.4.2/libexec/src/runtime/asm_amd64.s:2232 +0x1
goroutine 8 [sleep]:
gopkg.in/mgo%2ev2.(*mongoServer).pinger(0xc2080cc000, 0x1)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/server.go:297 +0x169
created by gopkg.in/mgo%2ev2.newServer
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/server.go:90 +0x196
goroutine 9 [select]:
github.com/mongodb/mongo-tools/common/progress.(*Manager).start(0xc2080bfdc0)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/common/progress/manager.go:117 +0x140
created by github.com/mongodb/mongo-tools/common/progress.(*Manager).Start
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/common/progress/manager.go:106 +0xc7
goroutine 10 [chan receive]:
github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).RestoreCollectionToDB(0xc208070000, 0x7fff5fbff626, 0xf, 0xc2080b0555, 0xd, 0xc20c6cefc0, 0x9f151ce, 0x0, 0x0)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:290 +0xc6d
github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).RestoreIntent(0xc208070000, 0xc20802b270, 0x0, 0x0)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:179 +0x1a04
github.com/mongodb/mongo-tools/mongorestore.func·002(0x0)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:48 +0x2b2
created by github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).RestoreIntents
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:55 +0x3a9
goroutine 11 [chan receive, 2 minutes]:
github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).RestoreCollectionToDB(0xc208070000, 0x7fff5fbff626, 0xf, 0xc208096825, 0xf, 0xc20ebb86c0, 0x12426fce, 0x0, 0x0)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:290 +0xc6d
github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).RestoreIntent(0xc208070000, 0xc2080ece60, 0x0, 0x0)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:179 +0x1a04
github.com/mongodb/mongo-tools/mongorestore.func·002(0x1)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:48 +0x2b2
created by github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).RestoreIntents
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:55 +0x3a9
goroutine 12 [chan receive, 14 minutes]:
github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).RestoreCollectionToDB(0xc208070000, 0x7fff5fbff626, 0xf, 0xc20809b115, 0x6, 0xc208034140, 0x16a61677c, 0x0, 0x0)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:290 +0xc6d
github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).RestoreIntent(0xc208070000, 0xc20802a7d0, 0x0, 0x0)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:179 +0x1a04
github.com/mongodb/mongo-tools/mongorestore.func·002(0x2)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:48 +0x2b2
created by github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).RestoreIntents
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:55 +0x3a9
goroutine 13 [chan receive, 8 minutes]:
github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).RestoreCollectionToDB(0xc208070000, 0x7fff5fbff626, 0xf, 0xc208034655, 0x21, 0xc217022b80, 0x127e67cc, 0x0, 0x0)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:290 +0xc6d
github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).RestoreIntent(0xc208070000, 0xc2080ed040, 0x0, 0x0)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:179 +0x1a04
github.com/mongodb/mongo-tools/mongorestore.func·002(0x3)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:48 +0x2b2
created by github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).RestoreIntents
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:55 +0x3a9
goroutine 16 [chan send]:
github.com/mongodb/mongo-tools/mongorestore.func·003()
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:235 +0x193
created by github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).RestoreCollectionToDB
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:238 +0x991
goroutine 66 [semacquire]:
sync.(*Mutex).Lock(0xc21ef12000)
/usr/local/Cellar/go/1.4.2/libexec/src/sync/mutex.go:66 +0xd3
gopkg.in/mgo%2ev2.(*Collection).writeQuery(0xc20812e090, 0x205c20, 0xc20812e060, 0x0, 0x0, 0x0)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/session.go:3921 +0x58c
gopkg.in/mgo%2ev2.(*Bulk).Run(0xc20812e120, 0xc222ede540, 0x0, 0x0)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/bulk.go:66 +0x106
github.com/mongodb/mongo-tools/common/db.(*BufferedBulkInserter).Flush(0xc20812e0f0, 0x0, 0x0)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/common/db/buffered_bulk.go:69 +0x83
github.com/mongodb/mongo-tools/common/db.(*BufferedBulkInserter).Insert(0xc20812e0f0, 0x299160, 0xc222ede540, 0x0, 0x0)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/common/db/buffered_bulk.go:54 +0x2fa
github.com/mongodb/mongo-tools/mongorestore.func·004()
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:259 +0x4b7
created by github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).RestoreCollectionToDB
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:282 +0xbdd
goroutine 20 [IO wait]:
net.(*pollDesc).Wait(0xc208010220, 0x72, 0x0, 0x0)
/usr/local/Cellar/go/1.4.2/libexec/src/net/fd_poll_runtime.go:84 +0x47
net.(*pollDesc).WaitRead(0xc208010220, 0x0, 0x0)
/usr/local/Cellar/go/1.4.2/libexec/src/net/fd_poll_runtime.go:89 +0x43
net.(*netFD).Read(0xc2080101c0, 0xc20812e030, 0x24, 0x24, 0x0, 0x611a90, 0xc209db51e0)
/usr/local/Cellar/go/1.4.2/libexec/src/net/fd_unix.go:242 +0x40f
net.(*conn).Read(0xc208168010, 0xc20812e030, 0x24, 0x24, 0x0, 0x0, 0x0)
/usr/local/Cellar/go/1.4.2/libexec/src/net/net.go:121 +0xdc
gopkg.in/mgo%2ev2.fill(0x612db0, 0xc208168010, 0xc20812e030, 0x24, 0x24, 0x0, 0x0)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/socket.go:502 +0x75
gopkg.in/mgo%2ev2.(*mongoSocket).readLoop(0xc20cf22460)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/socket.go:519 +0x126
created by gopkg.in/mgo%2ev2.newSocket
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/socket.go:166 +0x3d3
goroutine 67 [IO wait]:
net.(*pollDesc).Wait(0xc20813a060, 0x72, 0x0, 0x0)
/usr/local/Cellar/go/1.4.2/libexec/src/net/fd_poll_runtime.go:84 +0x47
net.(*pollDesc).WaitRead(0xc20813a060, 0x0, 0x0)
/usr/local/Cellar/go/1.4.2/libexec/src/net/fd_poll_runtime.go:89 +0x43
net.(*netFD).Read(0xc20813a000, 0xc20814c0c0, 0x24, 0x24, 0x0, 0x611a90, 0xc20eca6170)
/usr/local/Cellar/go/1.4.2/libexec/src/net/fd_unix.go:242 +0x40f
net.(*conn).Read(0xc2080e2058, 0xc20814c0c0, 0x24, 0x24, 0x0, 0x0, 0x0)
/usr/local/Cellar/go/1.4.2/libexec/src/net/net.go:121 +0xdc
gopkg.in/mgo%2ev2.fill(0x612db0, 0xc2080e2058, 0xc20814c0c0, 0x24, 0x24, 0x0, 0x0)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/socket.go:502 +0x75
gopkg.in/mgo%2ev2.(*mongoSocket).readLoop(0xc2080cc1c0)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/socket.go:519 +0x126
created by gopkg.in/mgo%2ev2.newSocket
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/socket.go:166 +0x3d3
goroutine 68 [IO wait]:
net.(*pollDesc).Wait(0xc208010300, 0x72, 0x0, 0x0)
/usr/local/Cellar/go/1.4.2/libexec/src/net/fd_poll_runtime.go:84 +0x47
net.(*pollDesc).WaitRead(0xc208010300, 0x0, 0x0)
/usr/local/Cellar/go/1.4.2/libexec/src/net/fd_poll_runtime.go:89 +0x43
net.(*netFD).Read(0xc2080102a0, 0xc20812e150, 0x24, 0x24, 0x0, 0x611a90, 0xc20809d660)
/usr/local/Cellar/go/1.4.2/libexec/src/net/fd_unix.go:242 +0x40f
net.(*conn).Read(0xc2080e2050, 0xc20812e150, 0x24, 0x24, 0x0, 0x0, 0x0)
/usr/local/Cellar/go/1.4.2/libexec/src/net/net.go:121 +0xdc
gopkg.in/mgo%2ev2.fill(0x612db0, 0xc2080e2050, 0xc20812e150, 0x24, 0x24, 0x0, 0x0)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/socket.go:502 +0x75
gopkg.in/mgo%2ev2.(*mongoSocket).readLoop(0xc20cf22540)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/socket.go:519 +0x126
created by gopkg.in/mgo%2ev2.newSocket
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/socket.go:166 +0x3d3
goroutine 53 [IO wait]:
net.(*pollDesc).Wait(0xc2080103e0, 0x72, 0x0, 0x0)
/usr/local/Cellar/go/1.4.2/libexec/src/net/fd_poll_runtime.go:84 +0x47
net.(*pollDesc).WaitRead(0xc2080103e0, 0x0, 0x0)
/usr/local/Cellar/go/1.4.2/libexec/src/net/fd_poll_runtime.go:89 +0x43
net.(*netFD).Read(0xc208010380, 0xc20814c420, 0x24, 0x24, 0x0, 0x611a90, 0xc20eca6b98)
/usr/local/Cellar/go/1.4.2/libexec/src/net/fd_unix.go:242 +0x40f
net.(*conn).Read(0xc208168018, 0xc20814c420, 0x24, 0x24, 0x0, 0x0, 0x0)
/usr/local/Cellar/go/1.4.2/libexec/src/net/net.go:121 +0xdc
gopkg.in/mgo%2ev2.fill(0x612db0, 0xc208168018, 0xc20814c420, 0x24, 0x24, 0x0, 0x0)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/socket.go:502 +0x75
gopkg.in/mgo%2ev2.(*mongoSocket).readLoop(0xc2080cc2a0)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/socket.go:519 +0x126
created by gopkg.in/mgo%2ev2.newSocket
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/socket.go:166 +0x3d3
goroutine 29 [chan send]:
github.com/mongodb/mongo-tools/mongorestore.func·003()
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:235 +0x193
created by github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).RestoreCollectionToDB
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:238 +0x991
goroutine 90 [chan send]:
github.com/mongodb/mongo-tools/mongorestore.func·003()
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:235 +0x193
created by github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).RestoreCollectionToDB
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:238 +0x991
goroutine 30 [semacquire]:
sync.(*Mutex).Lock(0xc216200000)
/usr/local/Cellar/go/1.4.2/libexec/src/sync/mutex.go:66 +0xd3
gopkg.in/mgo%2ev2.(*Collection).writeQuery(0xc2080968a0, 0x205c20, 0xc20812e000, 0x0, 0x0, 0x0)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/session.go:3921 +0x58c
gopkg.in/mgo%2ev2.(*Bulk).Run(0xc2080b07b0, 0xc20e0bd000, 0x0, 0x0)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/bulk.go:66 +0x106
github.com/mongodb/mongo-tools/common/db.(*BufferedBulkInserter).Flush(0xc208096900, 0x0, 0x0)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/common/db/buffered_bulk.go:69 +0x83
github.com/mongodb/mongo-tools/common/db.(*BufferedBulkInserter).Insert(0xc208096900, 0x299160, 0xc20e0bd000, 0x0, 0x0)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/common/db/buffered_bulk.go:54 +0x2fa
github.com/mongodb/mongo-tools/mongorestore.func·004()
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:259 +0x4b7
created by github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).RestoreCollectionToDB
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:282 +0xbdd
goroutine 91 [semacquire]:
sync.(*Mutex).Lock(0xc2124cc000)
/usr/local/Cellar/go/1.4.2/libexec/src/sync/mutex.go:66 +0xd3
gopkg.in/mgo%2ev2.(*Collection).writeQuery(0xc2080b1d10, 0x205c20, 0xc20803a5a0, 0x0, 0x0, 0x0)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/session.go:3921 +0x58c
gopkg.in/mgo%2ev2.(*Bulk).Run(0xc208096480, 0xc2124c4f60, 0x0, 0x0)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/vendor/src/gopkg.in/mgo.v2/bulk.go:66 +0x106
github.com/mongodb/mongo-tools/common/db.(*BufferedBulkInserter).Flush(0xc2080b1d40, 0x0, 0x0)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/common/db/buffered_bulk.go:69 +0x83
github.com/mongodb/mongo-tools/common/db.(*BufferedBulkInserter).Insert(0xc2080b1d40, 0x299160, 0xc2124c4f60, 0x0, 0x0)
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/common/db/buffered_bulk.go:54 +0x2fa
github.com/mongodb/mongo-tools/mongorestore.func·004()
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:259 +0x4b7
created by github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).RestoreCollectionToDB
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:282 +0xbdd
goroutine 97 [runnable]:
github.com/mongodb/mongo-tools/mongorestore.func·004()
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:251 +0x209
created by github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).RestoreCollectionToDB
/private/tmp/mongodb20150616-1405-r3yzp4/mongodb-src-r3.0.4/src/github.com/mongodb/mongo-tools/.gopath/src/github.com/mongodb/mongo-tools/mongorestore/restore.go:282 +0xbdd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment