fixed cassandra persistenc STM tests + added generic Map and Seq traits to Transactional datastructures
This commit is contained in:
parent
1a06a67cfc
commit
9349bc3ad8
18 changed files with 689 additions and 439 deletions
|
|
@ -67,7 +67,10 @@ class Transaction extends Logging {
|
|||
else false
|
||||
}}.exists(_ == true)
|
||||
} else false
|
||||
if (haveAllPreCommitted) status = TransactionStatus.Completed
|
||||
if (haveAllPreCommitted) {
|
||||
participants.foreach(_.transactionalItems.foreach(_.commit))
|
||||
status = TransactionStatus.Completed
|
||||
}
|
||||
else rollback(server)
|
||||
}
|
||||
participants.clear
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue