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

KillCursor always sent to master and never the slave

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.7.6
    • None
    • Internal Client
    • None
    • ALL

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: