Closed mikomarrache closed 1 year ago
Regarding the first exception, should we replace the ArrayDeque
by ConcurrentLinkedDeque
?
Agreed - I think using ConcurrentLinkedDeque
probably makes sense here so please feel free to provide a PR.
Regarding the second exception, it seems that cancelling the transaction somehow modifies the outstandingTransactions set.
Since synchronized blocks are re-entrant, modifying the set while iterating is possible.
I'm not sure yet how to solve it though.
This should be closed with #1375
We found other issues related to concurrency:
We are investigating how to solve it.