/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
lib/internal/Magento/Framework/DB/DeadlockRecoveryExecutorInterface.php
26 строк
675 B
Oleksandr Dubovyk
ACP2E-4913: OrderMutex::execute() missing DeadlockException retry causes permanent ShipOrder/InvoiceOrder failure-
02 июн 2026, 16:46
02 июн 2026, 16:46
39e6f05
Код
Авторство
О чём код?
<?php /** * Copyright 2026 Adobe * All Rights Reserved. */ declare(strict_types=1); namespace Magento\Framework\DB; use Magento\Framework\DB\Adapter\AdapterInterface; /** * Executes database operations with automatic retry handling for deadlock failures in concurrent environments. */ interface DeadlockRecoveryExecutorInterface { /** * Executes a database operation and automatically retries it when a deadlock error occurs. * * @param AdapterInterface $connection * @param callable $callable * @param array $args * @return mixed */ public function execute(AdapterInterface $connection, callable $callable, array $args); }