apache/gravitino

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

Open

#8,729 opened on Sep 30, 2025

View on GitHub
 (8 comments) (0 reactions) (2 assignees)Java (887 forks)auto 404
good first issueimprovement

Repository metrics

Stars
 (3,058 stars)
PR merge metrics
 (PR metrics pending)

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