Repository navigation
fix(dav): avoid nesting transactions in sync services - #65937
SebastianKrupinski wants to merge 1 commit into
Conversation
|
/backport to stable35 |
|
/backport to stable34 |
|
/backport to stable33 |
|
Why would these be long-running transactions since only one card is updated at a time ? |
Sorry, I used the wrong wording! The issue is nesting, I am working to improving how long the sync takes also and mixed the two up The nested transactions case a dead lock error: An exception occurred while executing a query: SQLSTATE[42000]: Syntax error or access violation: 1305 SAVEPOINT DOCTRINE_2 does not exist As createCard(), updateCard() and deleteCard() each open their own atomic() there is no point in wrapping them in another transaction |
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
d0ff8dc to
ba88d55
Compare
Well, the need was read-after-write kind of issue, but there's very low risk in these cases, and no way to avoid your issue anyway. |
Summary
Checklist
3. to review, feature component)stable32)AI (if applicable)