protected boolean isSlopDead ( Cluster cluster , Set < String > storeNames , Slop slop ) { // destination node , no longer exists if ( ! cluster . getNodeIds ( ) . contains ( slop . getNodeId ( ) ) ) { return true ; } // destination store, no longer exists if ( ! storeNames . contains ( slop . getStoreName ( ) ) ) { return true ; } // else. slop is alive return false ; }
A slop is dead if the destination node or the store does not exist anymore on the cluster .