From: <tho...@us...> - 2010-11-18 19:18:50
|
Revision: 3968 http://bigdata.svn.sourceforge.net/bigdata/?rev=3968&view=rev Author: thompsonbry Date: 2010-11-18 19:18:43 +0000 (Thu, 18 Nov 2010) Log Message: ----------- Updated to leave the version which works uncommented. Modified Paths: -------------- branches/JOURNAL_HA_BRANCH/bigdata/src/samples/com/bigdata/samples/btree/JournalReadOnlyTxExample.java Modified: branches/JOURNAL_HA_BRANCH/bigdata/src/samples/com/bigdata/samples/btree/JournalReadOnlyTxExample.java =================================================================== --- branches/JOURNAL_HA_BRANCH/bigdata/src/samples/com/bigdata/samples/btree/JournalReadOnlyTxExample.java 2010-11-18 19:14:05 UTC (rev 3967) +++ branches/JOURNAL_HA_BRANCH/bigdata/src/samples/com/bigdata/samples/btree/JournalReadOnlyTxExample.java 2010-11-18 19:18:43 UTC (rev 3968) @@ -182,9 +182,9 @@ * try to read it. */ // Obtaining a tx here protects against recycling. -// final long tx2 = store.newTx(ITx.READ_COMMITTED); + final long tx2 = store.newTx(ITx.READ_COMMITTED); // Using a historical read w/o a tx does NOT protect against recycling. - final long tx2 = store.getLastCommitTime(); +// final long tx2 = store.getLastCommitTime(); try { // lookup the UNISOLATED B+Tree. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |