bk-ci
bk-ci copied to clipboard
bug: Job互斥组锁因父流水线并发取消导致锁未释放
What happened: 互斥锁A: Build1 Job1 获取锁定 Build2 Job2 等待锁定 当此时出现故障,例如DB故障、Job1构建机调度出错,Job1被取消了, 但锁定仍然会被Job1持有,导致Job2 一直在等待互斥锁
What you expected to happen: 互斥组需要一种自助触锁机制,保障用户自助解锁
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
- bk-ci version (use
cat VERSION
in installed dir): - Cloud provider or hardware configuration:
- OS (e.g:
cat /etc/os-release
): - Kernel (e.g.
uname -a
): - Install tools:
- Others: