Skip to content

Commit 0cd1616

Browse files
committed
fix detail task may failed by log file expired
1 parent 9e4d244 commit 0cd1616

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/odc-service/src/main/java/com/oceanbase/odc/service/flow/FlowTaskInstanceService.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
import java.util.function.Predicate;
3535
import java.util.stream.Collectors;
3636

37+
import javax.annotation.Nullable;
3738
import javax.validation.constraints.NotNull;
3839

3940
import org.apache.commons.collections4.CollectionUtils;
@@ -801,6 +802,7 @@ private void setDownloadUrlsIfNecessary(Long taskId, List<? extends FlowTaskResu
801802
}
802803
}
803804

805+
@Nullable
804806
private TaskDownloadUrls getTaskDownloadUrls(Long taskId) {
805807
try {
806808
return databaseChangeOssUrlCache.get(taskId);

0 commit comments

Comments
 (0)