nextcloud/lib/private/Lock
Morris Jobke 243516d785
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: Morris Jobke <hey@morrisjobke.de>
2018-11-13 14:05:16 +01:00
..
AbstractLockingProvider.php Update with robin 2016-07-21 18:13:58 +02:00
DBLockingProvider.php Fix UniqueConstraintViolationException while insert into oc_file_locks 2018-11-13 14:05:16 +01:00
MemcacheLockingProvider.php prevent lock values from going negative with memcache backend 2018-07-10 17:50:45 +02:00
NoopLockingProvider.php Update with robin 2016-07-21 18:13:58 +02:00