Deadlock issue
-
Hi after latest update to 4.9.0 I observe regular issues with deadlocks:
WordPress database error Deadlock found when trying to get lock; try restarting transaction for query DELETE FROM XXX_postmeta WHERE post_id = 1 AND meta_key = 'wpdesk_migration_XXXXXXXXXXXXXXXXXXX' AND CAST(CASE WHEN LOCATE('|', meta_value) > 0 THEN SUBSTRING_INDEX(meta_value, '|', -1) ELSE SUBSTRING_INDEX(meta_value, '_', -1) END AS UNSIGNED) < UNIX_TIMESTAMP() made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, WPDesk\ShopMagic\Plugin->WPDesk\ShopMagic\{closure}, do_action('shopmagic/core/initialized/v2'), WP_Hook->do_action, WP_Hook->apply_filters, WPDesk\ShopMagicCart\Plugin->WPDesk\ShopMagicCart\{closure}, ShopMagicVendor\WPDesk\Migrations\WpdbMigrator->migrate, ShopMagicVendor\WPDesk\Mutex\WordpressPostLease->acquireLock, ShopMagicVendor\WPDesk\Mutex\WordpressPostLease->deleteExpiredLocks
PHP Fatal error: Uncaught ShopMagicVendor\WPDesk\Mutex\MutexException: Unable to clean expired post leases. Deadlock found when trying to get lock; try restarting transaction in /XXX/public_html/wp-content/plugins/shopmagic-for-woocommerce/vendor_prefixed/wpdesk/wp-mutex/src/WPDesk/Mutex/WordpressPostLease.php:158
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.