Goroutine may leak in `DumpIntents` function

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 100.13.0
    • Affects Version/s: None
    • Component/s: None
    • 0
    • Tools and Replicator
    • 0

      https://github.com/mongodb/mongo-tools/blob/r4.3.2/mongodump/mongodump.go#L458

      `resultChan` is an unbuffered chan, goroutine may leak if dumpIntent fails. A buffered chan is better.

              Assignee:
              Dave Rolsky
              Reporter:
              Chao Yin
              Erich Ess, James Zhang, Shyam Subramaniyam
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: