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

Ensure panics are handled when running functions in goroutines

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Error Handling

      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.

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

              Created:
              Updated:
              Resolved: