Skip to content

Commit

Permalink
[fix](tablet stat) fix tablet stat thread block apache#29151 (apache#…
Browse files Browse the repository at this point in the history
…31190)

Conflicts:
	fe/fe-core/src/main/java/org/apache/doris/catalog/TabletStatMgr.java
  • Loading branch information
yujun777 authored and weixingyu12 committed Mar 6, 2024
1 parent 0fda292 commit 226501c
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,16 +69,16 @@ protected void runAfterCatalogReady() {
ok = true;
} catch (Throwable e) {
LOG.warn("task exec error. backend[{}]", backend.getId(), e);
} finally {
try {
if (ok) {
ClientPool.backendPool.returnObject(address, client);
} else {
ClientPool.backendPool.invalidateObject(address, client);
}
} catch (Throwable e) {
LOG.warn("task exec error. backend[{}]", backend.getId(), e);
}

try {
if (ok) {
ClientPool.backendPool.returnObject(address, client);
} else {
ClientPool.backendPool.invalidateObject(address, client);
}
} catch (Throwable e) {
LOG.warn("client pool recyle error. backend[{}]", backend.getId(), e);
}
});
}).join();
Expand Down

0 comments on commit 226501c

Please sign in to comment.