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

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

    • Server Tooling & Methods
    • ALL
    • Hide

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

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

      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.

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

              Created:
              Updated:
              Resolved: