Skip to content

1213 Deadlock found when trying to get lock #8933

Closed
@w130pmpo

Description

@w130pmpo

Preconditions

  1. Magento 2.1.3
  2. Php 7.0.13-1 and Apache2

Steps to reproduce

  1. Importing Product (Saving to Magento) from 3rd party API from CLI Script
  2. Run above process in parallel since too many products exist
  3. Index - Update by Schedule. (Meaning no index works when importing product)

Expected result

  1. Product Should be successfully saved to the system

Actual result

  1. Following problem happen oftenly,
  • PDOException: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock
  1. If I try to edit product related value on Admin page while importing product, that error happen too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: CatalogFixed in 2.3.xThe issue has been fixed in 2.3 release lineFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.1.xThe issue has been reproduced on latest 2.1 releaseReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 releasehelp wanted

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions