nextcloud/lib
Carl Schwan cbe4a26156
fix(propagator): Improve lock behavior of propagator
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>
(cherry picked from commit cae742d182)
2026-02-17 10:39:11 +01:00
..
composer fix(propagator): Improve lock behavior of propagator 2026-02-17 10:39:11 +01:00
l10n fix(l10n): Update translations from Transifex 2026-02-16 00:20:59 +00:00
private fix(propagator): Improve lock behavior of propagator 2026-02-17 10:39:11 +01:00
public fix(propagator): Improve lock behavior of propagator 2026-02-17 10:39:11 +01:00
unstable fix(lexicon): missing doc 2025-07-24 15:56:35 -01:00
base.php fix: fall-back to hardcoded values if debug mode is enabled 2026-01-29 08:16:18 +00:00
versioncheck.php feat(PHP): Allow PHP 8.4 2024-11-08 12:59:12 +01:00