Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-198

Ensure panics are handled when running functions in goroutines

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Error Handling

    Description

      In the mongo/collection.go file there are a number of places where we invoke a function and do not handle the case of a panic occurring. Since any unhandled panic will crash the process, we need to handle these panics, even if we throw it out.

      Additionally, we might want to change these methods so they are always concurrent and use channels to send the results back to the caller.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: