src/java/org/apache/cassandra/db/SystemTable.java
/**
     * Remove stored token being used by another node
     */
Remove stored token being used by another node
Remove stored token being used by another node
public static synchronized void removeToken(Token token)
    {
        IPartitioner p = StorageService.getPartitioner();
        RowMutation rm = new RowMutation(Table.SYSTEM_TABLE, RING_KEY);
        rm.delete(new QueryPath(STATUS_CF, null, p.getTokenFactory().toByteArray(token)), LamportClock.getVersion());
        try
        {
            rm.apply();
        }
        catch (IOException e)
        {
            throw new IOError(e);
        }
        forceBlockingFlush(STATUS_CF);
    }
public static synchronized void removeToken ( Token token ) { IPartitioner p = StorageService . getPartitioner ( ) ; RowMutation rm = new RowMutation ( Table . SYSTEM_TABLE , RING_KEY ) ; rm . delete ( new QueryPath ( STATUS_CF , null , p . getTokenFactory ( ) . toByteArray ( token ) ) , LamportClock . getVersion ( ) ) ; try { rm . apply ( ) ; } catch ( IOException e ) { throw new IOError ( e ) ; } forceBlockingFlush ( STATUS_CF ) ; }
Remove stored token being used by another node
Remove stored token being used by another node