Description
It seems that the new bulk createOrUpdate() implementation in RDB is prone for the deadlocks. It isn't a bug in the Oak code, but rather something related to the database implementations. The bug can be observed if we have multiple simultaneous bulk updates and some of the rows repeat among them. The attached patch contains an unit test testConcurrentWithConflict presenting the issue.