valepakh commented on code in PR #5495: URL: https://github.com/apache/ignite-3/pull/5495#discussion_r2013679930
########## modules/compute/src/main/java/org/apache/ignite/internal/compute/ExecutionManager.java: ########## @@ -123,7 +123,7 @@ public CompletableFuture<List<JobState>> localStatesAsync() { */ public CompletableFuture<@Nullable JobState> stateAsync(UUID jobId) { JobExecution<?> execution = executions.get(jobId); - if (execution != null) { + if (execution != null && !(execution instanceof RemoteJobExecution)) { Review Comment: I moved the remote executions to separate map ########## modules/compute/src/main/java/org/apache/ignite/internal/compute/ExecutionManager.java: ########## @@ -123,7 +123,7 @@ public CompletableFuture<List<JobState>> localStatesAsync() { */ public CompletableFuture<@Nullable JobState> stateAsync(UUID jobId) { JobExecution<?> execution = executions.get(jobId); - if (execution != null) { + if (execution != null && !(execution instanceof RemoteJobExecution)) { Review Comment: I moved remote executions to separate map ########## modules/compute/src/main/java/org/apache/ignite/internal/compute/ExecutionManager.java: ########## @@ -123,7 +123,7 @@ public CompletableFuture<List<JobState>> localStatesAsync() { */ public CompletableFuture<@Nullable JobState> stateAsync(UUID jobId) { JobExecution<?> execution = executions.get(jobId); - if (execution != null) { + if (execution != null && !(execution instanceof RemoteJobExecution)) { Review Comment: I moved remote executions to separate map. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org