Skip to content

Commit e2d77e4

Browse files
committed
fix compile error
1 parent dc61a7b commit e2d77e4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

fe/fe-core/src/main/java/org/apache/doris/task/AgentTaskCleanupDaemon.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ public AgentTaskCleanupDaemon() {
4545
protected void runAfterCatalogReady() {
4646
LOG.info("Begin to clean up inactive agent tasks");
4747
SystemInfoService infoService = Env.getCurrentSystemInfo();
48-
infoService.getAllClusterBackends(false)
48+
infoService.getAllClusterBackendsNoException()
49+
.values()
4950
.forEach(backend -> {
5051
long id = backend.getId();
5152
if (backend.isAlive()) {

0 commit comments

Comments
 (0)