Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-664

Only suppress OperationFailure when doing batch inserts

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.9.2
    • Affects Version/s: 1.9.1
    • Component/s: 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 Emily Stolfo
            Reporter:
            emily.stolfo Emily Stolfo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: