问题描述

  1. 用户反应提交任务提不上去,一直卡死

问题排查

  1. 去CM中搜索相关错误,发现有死锁的错误

    1. Unable to acquire IMPLICIT, EXCLUSIVE lock xxxxx after 100 attempts.

    image.png

  2. 使用show locks可以看到该表有个排他锁

    show locks tablename;
    

    image.png

问题解决

  1. 释放该表中的锁
    unlock table tablename;