Deadlock occurs when competing with Jdbc Repository Update. [DATAJDBC-488] #714
Labels
in: relational
Relational module
in: repository
Repositories abstraction
type: enhancement
A general enhancement
Milestone
MyeongHyeonLee opened DATAJDBC-488 and commented
Deadlock occurs when UPDATE races with the same ID of an AggregateRoot with an association.
When UPDATE is executed, the WritingContext executes in the following order.
If many requests occur at the same time, a deadlock occurs between the Root and Referenced tables.
Deadlock occurs in the test case below.
https://github.com/spring-projects/spring-data-jdbc/pull/191/files#diff-96c4ebdaa99aec19171b092995e4e765R70
Affects: 2.0 M3 (Neumann)
Reference URL: https://github.com/spring-projects/spring-data-jdbc/pull/191/files#diff-96c4ebdaa99aec19171b092995e4e765R70
Referenced from: pull request #191
Backported to: 1.1.5 (Moore SR5)
The text was updated successfully, but these errors were encountered: