Skip to content

Commit

Permalink
[fix](tablet stat) fix tablet stat thread block #29151
Browse files Browse the repository at this point in the history
  • Loading branch information
yujun777 authored Dec 27, 2023
1 parent 0cc4ee5 commit 0bff387
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,18 @@ protected void runAfterCatalogReady() {
result.getTabletsStatsSize());
updateTabletStat(backend.getId(), result);
ok = true;
} catch (Exception e) {
} 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("client pool recyle error. backend[{}]", backend.getId(), e);
}
});
}).join();
Expand Down

0 comments on commit 0bff387

Please sign in to comment.