Only suppress OperationFailure when doing batch inserts

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.9.2
    • Affects Version/s: 1.9.1
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      A number of exceptions are suppressed when doing batch inserts with continue_on_error = true. Only an OperationFailure should be suppressed, as all other errors are client-side.

      Relevant lines of code:
      https://github.com/mongodb/mongo-ruby-driver/blob/1.x-stable/lib/mongo/collection.rb#L1112

              Assignee:
              Emily Stolfo (Inactive)
              Reporter:
              Emily Stolfo (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: