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

Handle exceptions from cursor.next in ReplSetTest

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.0.3, 4.1.4
    • Testing Infrastructure
    • None
    • Fully Compatible
    • ALL
    • v4.0
    • 13

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: