#106713UniqueConstraintViolationException in Registry::set()
Description
If there are concurrent calls to Registry::set() with the same registry entry key, the following database exception may be thrown:
Doctrine\DBAL\Exception\UniqueConstraintViolationException An exception occurred while executing 'INSERT INTO `sys_registry` (`entry_namespace`, `entry_key`, `entry_value`) VALUES (?, ?, ?)': Duplicate entry 'tx_scheduler-lastRun' for key 'entry_identifier'
We noticed that when clicking “run task” in the scheduler backend on multiple tasks on TYPO3 v10 and TYPO3 v11.
Reviews 1
History 07
-
Gerrit Code Review pushed patch set 1 for main to change 89418 status
NewUnder Review <span data-processor="relativetime" data-value="2025-05-16T08:03:19+00:00" > 05/16/25, 08:03 </span> -
Gerrit Code Review pushed patch set 2 for main to change 89418 <span data-processor="relativetime" data-value="2025-05-19T06:54:03+00:00" > 05/19/25, 06:54 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 89418 <span data-processor="relativetime" data-value="2025-05-19T21:24:28+00:00" > 05/19/25, 21:24 </span>
-
Gerrit Code Review pushed patch set 4 for main to change 89418 <span data-processor="relativetime" data-value="2025-05-20T23:02:43+00:00" > 05/20/25, 23:02 </span>
-
Gerrit Code Review pushed patch set 5 for main to change 89418 <span data-processor="relativetime" data-value="2026-04-22T06:34:10+00:00" > 04/22/26, 06:34 </span>
-
Gerrit Code Review pushed patch set 6 for main to change 89418 <span data-processor="relativetime" data-value="2026-04-22T09:43:33+00:00" > 04/22/26, 09:43 </span>
-
Gerrit Code Review pushed patch set 7 for main to change 89418 <span data-processor="relativetime" data-value="2026-10-19T14:15:26+00:00" > 10/19/26, 14:15 </span>