src/java/org/apache/cassandra/service/StorageService.java
/**
     * Broadcast leaving status and update local tokenMetadata_ accordingly
     */
Broadcast leaving status and update local tokenMetadata_ accordingly
Broadcast leaving status and update local tokenMetadata_ accordingly
private void startLeaving()
    {
        Gossiper.instance.addLocalApplicationState(ApplicationState.STATUS, valueFactory.leaving(getLocalToken()));
        tokenMetadata_.addLeavingEndpoint(FBUtilities.getBroadcastAddress());
        calculatePendingRanges();
    }
private void startLeaving ( ) { Gossiper . instance . addLocalApplicationState ( ApplicationState . STATUS , valueFactory . leaving ( getLocalToken ( ) ) ) ; tokenMetadata_ . addLeavingEndpoint ( FBUtilities . getBroadcastAddress ( ) ) ; calculatePendingRanges ( ) ; }
Broadcast leaving status and update local tokenMetadata_ accordingly
Broadcast leaving status and update local tokenMetadata_ accordingly