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

KillCursor always sent to master and never the slave

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.7.6
    • Affects Version/s: None
    • Component/s: Internal Client
    • None
    • ALL

      client/dbclient_rs.cpp
      void DBClientReplicaSet::killCursor( long long cursorID )

      { checkMaster()->killCursor( cursorID ); }

      if any cursored query has been send to a slave we should probably send the killCursor message to the slave as well.

      One issue could be the possibility of master and slave using the same cursorID for different queries, but that would negatively effect the current implementation as well.

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: