From efbdf428fc5d96b2b587bc97cf0c23476fb4c09e Mon Sep 17 00:00:00 2001 From: Asias He Date: Thu, 30 Jul 2015 15:26:47 +0800 Subject: [PATCH] gossip: Remove commented code of resetVersion and destroyConnectionPool Our messaging service is completely different. No need to reset version or destroy connection pool. --- gms/gossiper.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gms/gossiper.cc b/gms/gossiper.cc index 9e66550fb1..0085ac4004 100644 --- a/gms/gossiper.cc +++ b/gms/gossiper.cc @@ -360,12 +360,7 @@ void gossiper::remove_endpoint(inet_address endpoint) { _unreachable_endpoints.erase(endpoint); // do not remove endpointState until the quarantine expires get_local_failure_detector().remove(endpoint); - // FIXME: MessagingService - //MessagingService.instance().resetVersion(endpoint); - warn(unimplemented::cause::GOSSIP); quarantine_endpoint(endpoint); - // FIXME: MessagingService - //MessagingService.instance().destroyConnectionPool(endpoint); logger.debug("removing endpoint {}", endpoint); }