question: @ Override public void onFailure ( Throwable cause ) { LOG . error ( "Encountered failures on writing record as (lid = {}, eid = {}) :" , new Object [ ] { currentLogSegmentSeqNo , currentEntryId , cause } ) ; errorsFound . set ( true ) ; syncLatch . countDown ( ) ; }
target:  Invoked if the computation completes unsuccessfully