当前位置:网站首页>Solve liquibase – waiting for changelog lock Cause database deadlock
Solve liquibase – waiting for changelog lock Cause database deadlock
2022-07-05 09:42:00 【zch981964】
- The cause may be idea Frequent operation , Lead to Jar Packet start error , Workflow table part log table is locked , The exception may be caused by the last abnormal termination of the program .
2021-02-14 13:45:13.735 [main] INFO liquibase - Waiting for changelog lock....
2021-02-14 13:45:23.739 [main] INFO liquibase - Waiting for changelog lock....
2021-02-14 13:45:33.744 [main] INFO liquibase - Waiting for changelog lock....
2021-02-14 13:45:43.750 [main] INFO liquibase - Waiting for changelog lock....
2021-02-14 13:45:53.755 [main] INFO liquibase - Waiting for changelog lock....
2021-02-14 13:46:03.762 [main] INFO liquibase - Waiting for changelog lock....
2021-02-14 13:46:13.767 [main] INFO liquibase - Waiting for changelog lock....
2021-02-14 13:46:23.773 [main] INFO liquibase - Waiting for changelog lock....
- Learn from the Internet and say that the table is locked , Just unlock it , You can execute the following statement , But the prompt cannot find the table or the attempt does not exist
# Query the locked table
SELECT * FROM DATABASECHANGELOGLOCK;
# Unlock
UPDATE DATABASECHANGELOGLOCK SET locked=0, lockgranted=null, lockedby=null WHERE id=1
- terms of settlement ( All with DATABASECHANGELOGLOCK Check all the tables at the end , And modify it locked The value of the field is 0 that will do , Such as : chart 2
4、 Rerun the project , It shows that the operation is normal .
边栏推荐
- Talking about the difference between unittest and pytest
- Kotlin introductory notes (VIII) collection and traversal
- [team PK competition] the task of this week has been opened | question answering challenge to consolidate the knowledge of commodity details
- How to improve the operation efficiency of intra city distribution
- 基于STM32单片机的测温仪(带人脸检测)
- 干货整理!ERP在制造业的发展趋势如何,看这一篇就够了
- Creation and reference of applet
- VS Code问题:长行的长度可通过 “editor.maxTokenizationLineLength“ 进行配置
- mysql安装配置以及创建数据库和表
- Why do offline stores need cashier software?
猜你喜欢
[reading notes] Figure comparative learning gnn+cl
一次 Keepalived 高可用的事故,让我重学了一遍它
The popularity of B2B2C continues to rise. What are the benefits of enterprises doing multi-user mall system?
A keepalived high availability accident made me learn it again
揭秘百度智能测试在测试自动执行领域实践
LeetCode 31. 下一个排列
[listening for an attribute in the array]
What should we pay attention to when entering the community e-commerce business?
SMT32H7系列DMA和DMAMUX的一点理解
OpenGL - Coordinate Systems
随机推荐
Applet data attribute method
22-07-04 西安 尚好房-项目经验总结(01)
LeetCode 31. 下一个排列
【对象数组a与对象数组b取出id不同元素赋值给新的数组】
基于宽表的数据建模应用
Svg optimization by svgo
高性能Spark_transformation性能
OpenGL - Lighting
揭秘百度智能测试在测试自动执行领域实践
图神经网络+对比学习,下一步去哪?
[listening for an attribute in the array]
Project practice | excel export function
C form click event did not respond
OpenGL - Model Loading
MySQL does not take effect in sorting string types
Kotlin introductory notes (II) a brief introduction to kotlin functions
A detailed explanation of the general process and the latest research trends of map comparative learning (gnn+cl)
【sourceTree配置SSH及使用】
搞数据库是不是越老越吃香?
使用el-upload封装得组件怎么清空已上传附件