Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-2407

mongorestore panic: send on closed channel

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: No versions
    • Component/s: None
    • Labels:
      None

      Description

      2019-10-26T17:58:15.344+0330 IBSng.connection_log 241GB
      2019-10-26T17:58:18.344+0330 IBSng.connection_log 241GB
      2019-10-26T17:58:19.832+0330 IBSng.connection_log 241GB
      panic: send on closed channel
       
      goroutine 13 [running]:
      github.com/mongodb/mongo-tools/vendor/github.com/mongodb/mongo-tools-common/archive.(*RegularCollectionReceiver).Write(0xc000094000, 0xc0021f8010, 0x3a8, 0x1000000, 0xc00017a1a8, 0x1, 0x0)
       /data/mci/f6e74a821f5e4db4596aa072159186ae/src/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/github.com/mongodb/mongo-tools-common/archive/demultiplexer.go:334 +0x5b
      github.com/mongodb/mongo-tools/vendor/github.com/mongodb/mongo-tools-common/archive.(*Demultiplexer).BodyBSON(0xc0011f6000, 0xc0021f8010, 0x3a8, 0x1000000, 0x0, 0x0)
       /data/mci/f6e74a821f5e4db4596aa072159186ae/src/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/github.com/mongodb/mongo-tools-common/archive/demultiplexer.go:214 +0x1ec
      github.com/mongodb/mongo-tools/vendor/github.com/mongodb/mongo-tools-common/archive.(*Parser).ReadBlock(0xc0021f8000, 0xadf6a0, 0xc0011f6000, 0xc000020000, 0xc0011cef00)
       /data/mci/f6e74a821f5e4db4596aa072159186ae/src/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/github.com/mongodb/mongo-tools-common/archive/parser.go:147 +0x146
      github.com/mongodb/mongo-tools/vendor/github.com/mongodb/mongo-tools-common/archive.(*Parser).ReadAllBlocks(0xc0021f8000, 0xadf6a0, 0xc0011f6000, 0x0, 0x0)
       /data/mci/f6e74a821f5e4db4596aa072159186ae/src/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/github.com/mongodb/mongo-tools-common/archive/parser.go:111 +0x49
      github.com/mongodb/mongo-tools/vendor/github.com/mongodb/mongo-tools-common/archive.(*Demultiplexer).Run(0xc0011f6000, 0x0, 0x0)
       /data/mci/f6e74a821f5e4db4596aa072159186ae/src/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/github.com/mongodb/mongo-tools-common/archive/demultiplexer.go:67 +0xa9
      github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).Restore.func1(0xc00013e000, 0xc000049800, 0xc0000683c0)
       /data/mci/f6e74a821f5e4db4596aa072159186ae/src/src/mongo/gotools/src/github.com/mongodb/mongo-tools/mongorestore/mongorestore.go:493 +0x36
      created by github.com/mongodb/mongo-tools/mongorestore.(*MongoRestore).Restore
       /data/mci/f6e74a821f5e4db4596aa072159186ae/src/src/mongo/gotools/src/github.com/mongodb/mongo-tools/mongorestore/mongorestore.go:492 +0x72e
      

      ---------------------------------------------------------------------------------------------------------------------------
      we have a problem with mongorestore 4.2.0

      It  happens when we restore dump about 241G

      important  information :

      • we made dump on mongodump 3.6
      • the last mongo cluster was 3.6
      • now we are using mongod 4.2.0

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              david.golden David Golden
              Reporter:
              nima64ir@gmail.com Nima Tehrani
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: