nextcloud/lib/composer
Carl Schwan cae742d182
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>
2026-02-11 16:25:12 +01:00
..
composer fix(propagator): Improve lock behavior of propagator 2026-02-11 16:25:12 +01:00
autoload.php feat(OCM-invites): Implementation of invitation flow 2025-06-12 11:20:26 +02:00