src/java/org/apache/cassandra/gms/Gossiper.java
/**
     * Removes the endpoint from Gossip but retains endpoint state
     */
Removes the endpoint from Gossip but retains endpoint state
Removes the endpoint from Gossip but retains endpoint state
public void removeEndpoint(InetAddress endpoint)
    {
        for (IEndpointStateChangeSubscriber subscriber : subscribers)
            subscriber.onRemove(endpoint);
        liveEndpoints.remove(endpoint);
        unreachableEndpoints.remove(endpoint);
        FailureDetector.instance.remove(endpoint);
        versions.remove(endpoint);
        justRemovedEndpoints.put(endpoint, System.currentTimeMillis());
        if (logger.isDebugEnabled())
            logger.debug("removing endpoint " + endpoint);
    }
public void removeEndpoint ( InetAddress endpoint ) { for ( IEndpointStateChangeSubscriber subscriber : subscribers ) subscriber . onRemove ( endpoint ) ; liveEndpoints . remove ( endpoint ) ; unreachableEndpoints . remove ( endpoint ) ; FailureDetector . instance . remove ( endpoint ) ; versions . remove ( endpoint ) ; justRemovedEndpoints . put ( endpoint , System . currentTimeMillis ( ) ) ; if ( logger . isDebugEnabled ( ) ) logger . debug ( "removing endpoint " + endpoint ) ; }
Removes the endpoint from Gossip but retains endpoint state
Removes the endpoint from Gossip but retains endpoint state
// do subscribers first so anything in the subscriber that depends on gossiper state won't get confused // do not remove endpointState until the quarantine expires