[ 
https://issues.apache.org/jira/browse/FLINK-34434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17816961#comment-17816961
 ] 

Matthias Pohl edited comment on FLINK-34434 at 2/13/24 11:11 AM:
-----------------------------------------------------------------

[~guoyangze] can you have a look at this? Maybe, I'm missing something here.


was (Author: mapohl):
[~guoyangze] can you have a look at this?

> DefaultSlotStatusSyncer doesn't complete the returned future
> ------------------------------------------------------------
>
>                 Key: FLINK-34434
>                 URL: https://issues.apache.org/jira/browse/FLINK-34434
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Coordination
>    Affects Versions: 1.17.2, 1.19.0, 1.18.1, 1.20.0
>            Reporter: Matthias Pohl
>            Priority: Major
>
> When looking into FLINK-34427 (unrelated), I noticed an odd line in 
> [DefaultSlotStatusSyncer:155|https://github.com/apache/flink/blob/15fe1653acec45d7c7bac17071e9773a4aa690a4/flink-runtime/src/main/java/org/apache/flink/runtime/resourcemanager/slotmanager/DefaultSlotStatusSyncer.java#L155]
>  where we complete a future that should be already completed (because the 
> callback is triggered after the {{requestFuture}} is already completed in 
> some way. Shouldn't we complete the {{returnedFuture}} instead?
> I'm keeping the priority at {{Major}} because it doesn't seem to have been an 
> issue in the past.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to