Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-37042

Handle exceptions from cursor.next in ReplSetTest

    • Fully Compatible
    • ALL
    • v4.0
    • 13

      The `checkOplogs` function in ReplSetTest assumes that if a cursors `hasNext()` function does not throw an error that that cursors `next()` function will also not throw an error. This is not true, however. There are some cases where `hasNext()` could return true and `next()` throws an error. The `checkOplogs` function should handle those cases.

            Assignee:
            david.bradford@mongodb.com David Bradford (Inactive)
            Reporter:
            david.bradford@mongodb.com David Bradford (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: