Skip to content
Unverified Commit f7e3cf20 authored by Morris Jobke's avatar Morris Jobke
Browse files

Fix UniqueConstraintViolationException while insert into oc_file_locks



* fixes #9305 by not being prone to the race condition in insertIfNotExists
* fixes #6899 by not using a query that can result in a deadlock
* replaces the insertIfNotExists call with an insert which is wrapped into a try-catch block
* followup to #12371

Signed-off-by: default avatarMorris Jobke <hey@morrisjobke.de>
parent 859dd1e7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment