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

DBClientCursor returns a getMore() error as a result (in some cases)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: 2.2.3
    • Fix Version/s: None
    • Component/s: Internal Client, Shell
    • Labels:
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

      SERVER-8940 fails with a count error because of this problem.

      Show
      SERVER-8940 fails with a count error because of this problem.

      Description

      In at least some cases, the DBClientCursor treats an error on getMore() as a query result, returns it to the client as a document, and stops iterating the cursor. There isn't any indication to the client, at least to a mongo shell client, that the invalid getMore document is not just a document in the collection.

      see DBClientCursor::dataReceived - the error is flagged, but this does not affect what is returned.

      Unclear if this affects master.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-stm Backlog - Server Tooling and Methods (STM)
              Reporter:
              greg_10gen Greg Studer
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: