nextcloud/lib/private/DB/QueryBuilder
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
..
ExpressionBuilder fix(db): Fix Oracle JSON handling 2025-11-18 11:58:33 +01:00
FunctionBuilder fix: fix oci string length with empty strings 2025-08-01 17:45:35 +02:00
Partitioned fix: get all available previews on Oracle 2025-10-23 14:10:15 +02:00
Sharded fix(comments): Check comment object 2025-12-11 07:55:55 +01:00
CompositeExpression.php chore(deps): Bump nextcloud/coding-standard in /vendor-bin/cs-fixer 2024-10-19 07:57:35 +02:00
ExtendedQueryBuilder.php fix(propagator): Improve lock behavior of propagator 2026-02-11 16:25:12 +01:00
Literal.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
Parameter.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
QueryBuilder.php fix(propagator): Improve lock behavior of propagator 2026-02-11 16:25:12 +01:00
QueryFunction.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
QuoteHelper.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00