- 🇨🇦Canada minoroffense Ottawa, Canada
Tested the old MR and it actually breaks cron in some scenarios. If a job gets stuck it'll never let it finish.
Sometimes on cron run I have error:
Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction: INSERT INTO {ultimate_cron_lock} ("name", "current", "expire") VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2); Array ( [:db_insert_placeholder_0] => ultimate_cron_serial_launcher_1 [:db_insert_placeholder_1] => 0 [:db_insert_placeholder_2] => 1602613917.0116 ) в Drupal\ultimate_cron\Lock\Lock->lock() (строка 87 из /DATA/home-sites/drupal_8/web/modules/contrib/ultimate_cron/src/Lock/Lock.php)
#0 /DATA/home-sites/drupal_8/web/core/lib/Drupal/Core/Database/Connection.php(769): Drupal\Core\Database\Connection->handleQueryException(Object(PDOException), 'INSERT INTO {ul...', Array, Array)
#1 /DATA/home-sites/drupal_8/web/core/lib/Drupal/Core/Database/Driver/mysql/Connection.php(91): Drupal\Core\Database\Connection->query('INSERT INTO {ul...', Array, Array)
#2 /DATA/home-sites/drupal_8/web/core/lib/Drupal/Core/Database/Driver/mysql/Insert.php(32): Drupal\Core\Database\Driver\mysql\Connection->query('INSERT INTO {ul...', Array, Array)
#3 /DATA/home-sites/drupal_8/web/modules/contrib/ultimate_cron/src/Lock/Lock.php(87): Drupal\Core\Database\Driver\mysql\Insert->execute()
#4 /DATA/home-sites/drupal_8/web/modules/contrib/ultimate_cron/src/Plugin/ultimate_cron/Launcher/SerialLauncher.php(242): Drupal\ultimate_cron\Lock\Lock->lock('ultimate_cron_s...', 55)
#5 /DATA/home-sites/drupal_8/web/modules/contrib/ultimate_cron/src/Plugin/ultimate_cron/Launcher/SerialLauncher.php(302): Drupal\ultimate_cron\Plugin\ultimate_cron\Launcher\SerialLauncher->findFreeThread(true, 55, 1)
#6 /DATA/home-sites/drupal_8/web/modules/contrib/ultimate_cron/src/UltimateCron.php(64): Drupal\ultimate_cron\Plugin\ultimate_cron\Launcher\SerialLauncher->launchJobs(Array)
#7 /DATA/home-sites/drupal_8/web/modules/contrib/ultimate_cron/src/ProxyClass/UltimateCron.php(73): Drupal\ultimate_cron\UltimateCron->run()
#8 /DATA/home-sites/drupal_8/web/core/modules/system/src/CronController.php(46): Drupal\ultimate_cron\ProxyClass\UltimateCron->run()
#9 [internal function]: Drupal\system\CronController->run()
#10 /DATA/home-sites/drupal_8/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)
#11 /DATA/home-sites/drupal_8/web/core/lib/Drupal/Core/Render/Renderer.php(573): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#12 /DATA/home-sites/drupal_8/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#13 /DATA/home-sites/drupal_8/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array)
#14 /DATA/home-sites/drupal_8/vendor/symfony/http-kernel/HttpKernel.php(158): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#15 /DATA/home-sites/drupal_8/vendor/symfony/http-kernel/HttpKernel.php(80): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#16 /DATA/home-sites/drupal_8/web/core/lib/Drupal/Core/StackMiddleware/Session.php(57): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#17 /DATA/home-sites/drupal_8/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#18 /DATA/home-sites/drupal_8/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(191): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#19 /DATA/home-sites/drupal_8/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(128): Drupal\page_cache\StackMiddleware\PageCache->fetch(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#20 /DATA/home-sites/drupal_8/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(82): Drupal\page_cache\StackMiddleware\PageCache->lookup(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#21 /DATA/home-sites/drupal_8/web/core/modules/ban/src/BanMiddleware.php(50): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#22 /DATA/home-sites/drupal_8/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47): Drupal\ban\BanMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#23 /DATA/home-sites/drupal_8/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(52): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#24 /DATA/home-sites/drupal_8/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#25 /DATA/home-sites/drupal_8/web/core/lib/Drupal/Core/DrupalKernel.php(705): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#26 /DATA/home-sites/drupal_8/web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#27 {main}
.
Needs work
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Tested the old MR and it actually breaks cron in some scenarios. If a job gets stuck it'll never let it finish.