Skip to content

Commit

Permalink
[Enhancement](tablet-stat) No need to get stream load record if backe…
Browse files Browse the repository at this point in the history
…nd is not alive.
  • Loading branch information
wangxiangyu committed Dec 19, 2023
1 parent 355120d commit f074988
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,9 @@ protected void runAfterCatalogReady() {
int pullRecordSize = 0;
Map<Long, Long> beIdToLastStreamLoad = Maps.newHashMap();
for (Backend backend : backends.values()) {
if (!backend.isAlive()) {
continue;
}
BackendService.Client client = null;
TNetworkAddress address = null;
boolean ok = false;
Expand Down

0 comments on commit f074988

Please sign in to comment.