gossip: Remove commented code of resetVersion and destroyConnectionPool

Our messaging service is completely different. No need to reset version
or destroy connection pool.
This commit is contained in:
Asias He
2015-07-30 15:26:47 +08:00
parent 43c7ff217d
commit efbdf428fc

View File

@@ -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);
}