nextcloud/tests
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
..
apps chore: Add SPDX header 2024-05-13 17:41:36 +02:00
blueprints chore: split frontend building into legacy Vue 2 and Vue 3 2025-10-22 17:10:28 +02:00
Core fix: add X-User-Id header to logout response before clearing the user session 2026-02-06 17:18:48 +00:00
data feat: Add mimetype aliases/mapping/names for .toml and .ovpn 2026-01-26 07:24:33 +00:00
docker chore: Add SPDX header 2024-05-13 17:41:36 +02:00
lib fix(propagator): Improve lock behavior of propagator 2026-02-11 16:25:12 +01:00
objectstore chore: Add SPDX header 2024-05-22 19:58:12 +02:00
autoload.php chore: Add an autoload.php file for tests relying on core class 2025-05-19 11:30:37 +02:00
bootstrap.php test: add env option to disable loading all installed apps during tests 2025-08-11 13:35:57 +02:00
databases-all-config.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
drone-run-php-tests.sh chore: Add SPDX header 2024-05-13 17:41:36 +02:00
drone-wait-objectstore.sh chore: Add SPDX header 2024-05-13 17:41:36 +02:00
enable_all.php chore: Replace last calls to OC_App::enable by IAppManager 2025-08-18 17:09:39 +02:00
phpunit-autotest-external.xml ci: Migrate PHPUnit configs 2025-06-06 14:36:31 +02:00
phpunit-autotest.xml ci: Migrate PHPUnit configs 2025-06-06 14:36:31 +02:00
preseed-config.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
redis-cluster.config.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
redis.config.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
startsessionlistener.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00