Skip to content

Magento 2.3.1 Cron Deadlocks for cron_schedule #22438

Closed
@seansan

Description

@seansan

Preconditions (*)

  1. Magento 2.3.1
  2. MSI

Steps to reproduce (*)

  1. Vanilla install
  2. Run CRON every 1 minutes 3 jobs main, setup and upgrade

Expected result (*)

  1. No CRON problems, especially no deadlocks for a simple table .... truncating the table only works 1time ... need a structural solution or some kind of retry method

Actual result (*)

  1. See below

This really should not happen

https://magento.stackexchange.com/questions/270856/magento-2-v2-3-1-cron-causing-intermittent-deadlock-for-cron-schedule

https://magento.stackexchange.com/questions/238454/cron-job-error-sqlstate40001-serialization-failure-1213-deadlock-found-when?rq=1

https://magento.stackexchange.com/questions/203107/magento-2-cron-schedule-table-increasing-and-cpu-100

https://magento.stackexchange.com/questions/270813/magento-2-3-1-vanilla-cron-error-serialization-failure-1213-deadlock-found-whe

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: CronFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: Cannot ReproduceCannot reproduce the issue on the latest `2.4-develop` branchIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for development

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions