mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
Fix possible dead locks when running the propagator caused by two requests updating the same amount rows in transactions. - Lock rows always in the same deterministic order by sorting the path_hash first - On all database outside of sqlite, also do first a SELECT FOR UPDATE to lock all the rows used in batch UPDATE calls, afterward to decrease the risk of two requests trying to lock the same rows Signed-off-by: Carl Schwan <carlschwan@kde.org> |
||
|---|---|---|
| .. | ||
| Wrapper | ||
| Cache.php | ||
| CacheDependencies.php | ||
| CacheEntry.php | ||
| CacheQueryBuilder.php | ||
| FailedCache.php | ||
| FileAccess.php | ||
| HomeCache.php | ||
| HomePropagator.php | ||
| LocalRootScanner.php | ||
| MoveFromCacheTrait.php | ||
| NullWatcher.php | ||
| Propagator.php | ||
| QuerySearchHelper.php | ||
| Scanner.php | ||
| SearchBuilder.php | ||
| Storage.php | ||
| StorageGlobal.php | ||
| Updater.php | ||
| Watcher.php | ||