This is an automated email from the ASF dual-hosted git repository.
zhangchen pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new 81ef26d6416 [fix](cloud-mow) print the correct lock owner when geting
lock timeout (#43407)
81ef26d6416 is described below
commit 81ef26d6416752a692362c90f0facc37b6b98fe6
Author: huanghaibin <[email protected]>
AuthorDate: Fri Nov 8 20:32:36 2024 +0800
[fix](cloud-mow) print the correct lock owner when geting lock timeout
(#43407)
now the lock owner is wrong, this pr fix it.
Cherry-picked from https://github.com/apache/doris/pull/42063
Co-authored-by: huanghaibin <[email protected]>
---
fe/fe-core/src/main/java/org/apache/doris/catalog/Table.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/catalog/Table.java
b/fe/fe-core/src/main/java/org/apache/doris/catalog/Table.java
index 75a3f1ce9ae..d85d98a8ea5 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/catalog/Table.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/catalog/Table.java
@@ -324,7 +324,7 @@ public abstract class Table extends MetaObject implements
Writable, TableIf, Gso
boolean res = this.commitLock.tryLock(timeout, unit);
if (!res && unit.toSeconds(timeout) >= 1) {
LOG.warn("Failed to try table {}'s cloud commit lock. timeout
{} {}. Current owner: {}",
- name, timeout, unit.name(), rwLock.getOwner());
+ name, timeout, unit.name(),
this.commitLock.getOwner());
}
return res;
} catch (InterruptedException e) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]