Skip to content

Conversation

@keepConcentration
Copy link
Contributor

What changes were proposed in this pull request?

Fixed log messages in TreeLock.lock() and TreeLock.unlock() to output the actual lock type (type) used.

Why are the changes needed?

Reflect the real lock type applied at each node at log.

Fix: #8199

Does this PR introduce any user-facing change?

Yes, Log messages will now output the actual lock type in TreeLock.lock() and TreeLock.unlock().

How was this patch tested?

Verified log output manually during lock/unlock operations.

@yuqi1129 yuqi1129 merged commit 2b32964 into apache:main Aug 26, 2025
28 checks passed
diqiu50 pushed a commit to diqiu50/gravitino that referenced this pull request Sep 15, 2025
…ssages (apache#8268)

### What changes were proposed in this pull request?

Fixed log messages in `TreeLock.lock()` and `TreeLock.unlock()` to
output the actual lock type (`type`) used.

### Why are the changes needed?

Reflect the real lock type applied at each node at log.

Fix: apache#8199

### Does this PR introduce _any_ user-facing change?

Yes, Log messages will now output the actual lock type in
`TreeLock.lock()` and `TreeLock.unlock()`.

### How was this patch tested?

Verified log output manually during lock/unlock operations.
bharos pushed a commit to bharos/gravitino that referenced this pull request Oct 3, 2025
…ssages (apache#8268)

### What changes were proposed in this pull request?

Fixed log messages in `TreeLock.lock()` and `TreeLock.unlock()` to
output the actual lock type (`type`) used.

### Why are the changes needed?

Reflect the real lock type applied at each node at log.

Fix: apache#8199

### Does this PR introduce _any_ user-facing change?

Yes, Log messages will now output the actual lock type in
`TreeLock.lock()` and `TreeLock.unlock()`.

### How was this patch tested?

Verified log output manually during lock/unlock operations.
bharos pushed a commit to bharos/gravitino that referenced this pull request Oct 7, 2025
…ssages (apache#8268)

### What changes were proposed in this pull request?

Fixed log messages in `TreeLock.lock()` and `TreeLock.unlock()` to
output the actual lock type (`type`) used.

### Why are the changes needed?

Reflect the real lock type applied at each node at log.

Fix: apache#8199

### Does this PR introduce _any_ user-facing change?

Yes, Log messages will now output the actual lock type in
`TreeLock.lock()` and `TreeLock.unlock()`.

### How was this patch tested?

Verified log output manually during lock/unlock operations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Improvement] Fix lockType in TreeLock.java

2 participants