summaryrefslogtreecommitdiff
path: root/src/mongo/db/client.cpp
diff options
context:
space:
mode:
authorEric Milkie <milkie@10gen.com>2013-04-26 11:55:36 -0400
committerEric Milkie <milkie@10gen.com>2013-04-30 15:58:08 -0400
commitbc7aee5b23c1b467638d8e1cb2171a2d0d2af994 (patch)
tree4b026673fc6c9c87d23b3658d9c6b94a9bf21144 /src/mongo/db/client.cpp
parentfc65245aa15da959d628d79b579a8c18c3f8740c (diff)
downloadmongo-bc7aee5b23c1b467638d8e1cb2171a2d0d2af994.tar.gz
SERVER-9333 clear ghostcache at reconfig time
Diffstat (limited to 'src/mongo/db/client.cpp')
-rw-r--r--src/mongo/db/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/client.cpp b/src/mongo/db/client.cpp
index 628b0a9adb5..d40ac0ac644 100644
--- a/src/mongo/db/client.cpp
+++ b/src/mongo/db/client.cpp
@@ -405,7 +405,7 @@ namespace mongo {
_handshake = b.obj();
if (theReplSet && o.hasField("member")) {
- theReplSet->ghost->associateSlave(_remoteId, o["member"].Int());
+ theReplSet->registerSlave(_remoteId, o["member"].Int());
}
}