Thanks to visit codestin.com
Credit goes to github.com

Skip to content

console has queried the released lock #5265

@renliangyu857

Description

@renliangyu857
  • I have searched the issues of this repository and believe that this is not a duplicate.

Ⅰ. Issue Description

在file存储模式下,锁相关信息维护在内存BranchSession对象中的LockHolder中,目前console控制台查询全局锁的接口实现是直接查询BranchSession来做的。二阶段提交后,锁已释放,但Session的删除是异步的,在控制台会看到已经解锁的branch还显示持有锁的情况。
ec714b3396cfc3388b7164f362289470
1674957647(1)

Ⅱ. Describe what happened

If there is an exception, please attach the exception trace:

Just paste your stack trace here!

Ⅲ. Describe what you expected to happen

Ⅳ. How to reproduce it (as minimally and precisely as possible)

  1. xxx
  2. xxx
  3. xxx

Ⅴ. Anything else we need to know?

Ⅵ. Environment:

  • JDK version :
  • Seata version:
  • OS :
  • Others:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions