summaryrefslogtreecommitdiff
path: root/src/mongo/db/clientcursor.cpp
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@mongodb.com>2015-03-26 18:45:22 -0400
committerAndy Schwerin <schwerin@mongodb.com>2015-04-06 10:16:23 -0400
commit90b7f774b818a1038cc525a9fca14207d8d5ff71 (patch)
tree604285e3d69ef379626ddd8f0a57068c287ea2ef /src/mongo/db/clientcursor.cpp
parent387e39a07522aec114a64146871eab2e015d7444 (diff)
downloadmongo-90b7f774b818a1038cc525a9fca14207d8d5ff71.tar.gz
SERVER-17817 Move replication-specific data from Client into ReplClientInfo decoration.
Diffstat (limited to 'src/mongo/db/clientcursor.cpp')
-rw-r--r--src/mongo/db/clientcursor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/clientcursor.cpp b/src/mongo/db/clientcursor.cpp
index abbdfed817a..26bea429d2a 100644
--- a/src/mongo/db/clientcursor.cpp
+++ b/src/mongo/db/clientcursor.cpp
@@ -47,6 +47,7 @@
#include "mongo/db/curop.h"
#include "mongo/db/jsobj.h"
#include "mongo/db/operation_context_impl.h"
+#include "mongo/db/repl/repl_client_info.h"
#include "mongo/db/repl/replication_coordinator_global.h"
#include "mongo/db/server_parameters.h"
#include "mongo/util/exit.h"
@@ -189,7 +190,7 @@ namespace mongo {
Client* c = curop.getClient();
verify(c);
- OID rid = c->getRemoteID();
+ OID rid = repl::ReplClientInfo::forClient(c).getRemoteID();
if (!rid.isSet())
return;