fix: add pessimistic lock when fetching next qs batch and marking failed#721
Conversation
7f9b7c3 to
e179804
Compare
|
Generally this looks great to me, I'm just still lacking a bit database knowledge and am curious where the unlocking does happen again, is it something Laravel takes care of in its connection teardown or something or is it even the DB itself that does it? Just asking out of interest and trying to see if there's footgun potential (but I don't think so actually) |
|
Generally this looks great to me, I'm just still lacking a bit database knowledge and am curious where the unlocking does happen again, is it something Laravel takes care of in its connection teardown or something or is it even the DB itself that does it? Just asking out of interest and trying to see if there's footgun potential (but I don't think so actually) From what I understand the |
e179804 to
2e9e831
Compare
Ticket https://phabricator.wikimedia.org/T354797