@ Override public boolean open ( ) throws IOException { lock . acquireExclusiveLock ( ) ; try { // IGNORE IF IT'S SOFTLY CLOSED super . open ( ) ; // CHECK FOR PENDING TRANSACTION ENTRIES TO RECOVER recoverTransactions ( ) ; return true ; } finally { lock . releaseExclusiveLock ( ) ; } }
Opens the file segment and recovers pending transactions if any