private void processDeleteResponse ( ClientResponse response ) { //Continue snapshotting even if a delete fails. setState ( State . WAITING ) ; if ( response . getStatus ( ) != ClientResponse . SUCCESS ) { logFailureResponse ( "Delete of snapshots failed" , response ) ; return ; } final VoltTable results [ ] = response . getResults ( ) ; final String err = SnapshotUtil . didSnapshotRequestFailWithErr ( results ) ; if ( err != null ) { SNAP_LOG . warn ( "Snapshot delete failed with failure response: " + err ) ; return ; } }
Process a response to a request to delete snapshots . Always transitions to the waiting state even if the delete fails . This ensures the system will continue to snapshot until the disk is full in the event that there is an administration error or a bug .