[RSS Feed/News] ALLOW_DEADLOCK_RERUN combined with Entity#save

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Several calls to AbstractAdapter#executeTransaction in the UserAlert repository pass the ALLOW_DEADLOCK_RERUN option, but that option can't be combined with entities unless forceSet is set on the affected entities. Any attempt to re-run the closure in response to a deadlock will result in a LogicException, thereby masking the underlying deadlock and making it difficult to debug. This is especially painful given how difficult it is to debug deadlocks in the first place.

There are...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom