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

Remove invalid gle call in removec.js test

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.6.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      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.

      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.

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

              Created:
              Updated:
              Resolved: