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

Remove invalid gle call in removec.js test

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.6.0-rc0
    • None
    • None
    • None
    • ALL
    • Hide

      Create a new cursor in the shell, force a failure on the next getMore, ensure that an exception is thrown.

      Show
      Create a new cursor in the shell, force a failure on the next getMore, ensure that an exception is thrown.

    Description

      Original title: v8_db.cpp::internalCursorNext() does not use DBClientCursor::nextSafe()

      Without using nextSafe(), iteration of DBClientCursors do not throw exceptions when getMore() fails, for instance, because they interpret the result as a valid final document of the form

      { $err : "message" }

      .

      This code should be audited to ensure that it throws the exception or is handled in a different way.

      Attachments

        Activity

          People

            randolph@mongodb.com Randolph Tan
            greg_10gen Greg Studer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: