Upgraded to new fresh Multiverse with CountDownCommitBarrier bugfix

This commit is contained in:
Jonas Bonér 2010-07-15 21:14:02 +02:00
parent 580f8f71f2
commit 58bead88ad
8 changed files with 760 additions and 15 deletions

View file

@ -156,7 +156,6 @@ class GlobalStm extends TransactionManagement with Logging {
val result = body
val txSet = getTransactionSetInScope
log.ifTrace("Committing global transaction [" + mtx + "]\n\tand joining transaction set [" + txSet + "]")
mtx.commit
// Need to catch IllegalStateException until we have fix in Multiverse, since it throws it by mistake
try { txSet.tryJoinCommit(mtx, TransactionConfig.TIMEOUT, TimeUnit.MILLISECONDS) } catch { case e: IllegalStateException => {} }
result