private synchronized long catchUp ( long nextSequenceNumber ) { JournalReader journalReader = new UfsJournalReader ( this , nextSequenceNumber , true ) ; try { return catchUp ( journalReader ) ; } finally { try { journalReader . close ( ) ; } catch ( IOException e ) { LOG . warn ( "Failed to close journal reader: {}" , e . toString ( ) ) ; } } }
Reads and applies all journal entries starting from the specified sequence number .