apache / apache/gravitino

[Improvement] Reset the TreeLock’s internal state after releasing all held locks

Closed
#8,729 8 comments 0 reactions 2 assignees Claimed by @yuqi1129 View on GitHub
good first issue improvement
Dominant language
Java
Stars
3.2k
Forks
935
Avg merge
1d 16h
Merged PRs (30d)
298

Description

### What would you like to be improved?

The TreeLock’s internal state isn't reset after releasing all held locks. While this may not cause an issue, it does leave it in an inconsistent state.

### How should we improve?

Set lockType to null after releasing all held locks.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.