nextcloud/lib/private/Lock
Morris Jobke ec5c11d284
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 13:59:24 +01:00
..
AbstractLockingProvider.php Made locking providers strict 2018-01-16 21:54:20 +01:00
DBLockingProvider.php Fix UniqueConstraintViolationException while insert into oc_file_locks 2018-11-13 13:59:24 +01:00
MemcacheLockingProvider.php prevent lock values from going negative with memcache backend 2018-07-05 14:39:10 +02:00
NoopLockingProvider.php Made locking providers strict 2018-01-16 21:54:20 +01:00