KillCursor always sent to master and never the slave

XMLWordPrintableJSON

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

      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 Horowitz (Inactive)
            Reporter:
            Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: