You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@seata.apache.org by "zhengyue12 (via GitHub)" <gi...@apache.org> on 2025/11/28 03:26:09 UTC

[I] Global lock wait timeout\n; Global lock wait timeout; 要怎么释放锁 #7810 [incubator-seata]

zhengyue12 opened a new issue, #7814:
URL: https://github.com/apache/incubator-seata/issues/7814

   ### Check Ahead
   
   - [x] I have searched the [issues](https://github.com/seata/seata/issues) of this repository and believe that this is not a duplicate.
   
   - [x] I am willing to try to fix this bug myself.
   
   
   ### Ⅰ. Issue Description
   
   服务端修改某条记录的时候都获取不到锁。查看global_table的状态是12,要怎么能释放掉锁
   
   <img width="1706" height="887" alt="Image" src="https://github.com/user-attachments/assets/fbf73f64-09a8-4dcf-9b8b-8321b2859272" />
   
   <img width="869" height="752" alt="Image" src="https://github.com/user-attachments/assets/e9ec2421-d67e-4130-8696-5dd432ffe3b4" />
   
   <img width="653" height="753" alt="Image" src="https://github.com/user-attachments/assets/a2ba4486-250d-4f93-bef2-1dadbac5025b" />
   
   ### Ⅱ. Describe what happened
   
   业务方法中调用了mqtt消息发布,但当时mqtt down掉了。后面就出现锁一直无法释放的情况
   
   ### Ⅲ. Describe what you expected to happen
   
   能否直接删除lock_table的记录释放掉锁
   
   ### Ⅳ. How to reproduce it (as minimally and precisely as possible)
   
   _No response_
   
   ### Ⅴ. Anything else we need to know?
   
   _No response_
   
   ### Ⅵ. Environment
   
   - JDK 8
   - Seata 2.2.0


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org


Re: [I] Global lock wait timeout\n; Global lock wait timeout; global_table的状态是12,要怎么释放锁 [incubator-seata]

Posted by "zhengyue12 (via GitHub)" <gi...@apache.org>.
zhengyue12 commented on issue #7814:
URL: https://github.com/apache/incubator-seata/issues/7814#issuecomment-3587835103

   Thank you, I'll give it a try


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org


Re: [I] Global lock wait timeout\n; Global lock wait timeout; global_table的状态是12,要怎么释放锁 [incubator-seata]

Posted by "zhengyue12 (via GitHub)" <gi...@apache.org>.
zhengyue12 closed issue #7814: Global lock wait timeout\n; Global lock wait timeout; global_table的状态是12,要怎么释放锁
URL: https://github.com/apache/incubator-seata/issues/7814


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org


Re: [I] Global lock wait timeout\n; Global lock wait timeout; global_table的状态是12,要怎么释放锁 [incubator-seata]

Posted by "funky-eyes (via GitHub)" <gi...@apache.org>.
funky-eyes commented on issue #7814:
URL: https://github.com/apache/incubator-seata/issues/7814#issuecomment-3587809082

   Search the RM-side logs by branch ID to identify which data was dirty‑written. After manually adjusting the data to match the value recorded in the after‑image, set the global status to 5 to trigger a rollback; alternatively, if you manually revert the data to the value in the before‑image, you can directly remove the lock and the corresponding branch transaction.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org