protected synchronized void doWriteObjects ( boolean isFlush ) throws TransactionAbortedException , LockNotGrantedException { /* arminw: if broker isn't in PB-tx, start tx */ if ( ! getBroker ( ) . isInTransaction ( ) ) { if ( log . isDebugEnabled ( ) ) log . debug ( "call beginTransaction() on PB instance" ) ; broker . beginTransaction ( ) ; } // Notify objects of impending commits. performTransactionAwareBeforeCommit ( ) ; // Now perfom the real work objectEnvelopeTable . writeObjects ( isFlush ) ; // now we have to perform the named objects namedRootsMap . performDeletion ( ) ; namedRootsMap . performInsert ( ) ; namedRootsMap . afterWriteCleanup ( ) ; }
Write objects to data store but don t release the locks . I don t know what we should do if we are in a checkpoint and we need to abort .