dmvk commented on code in PR #22506: URL: https://github.com/apache/flink/pull/22506#discussion_r1195440132
########## flink-runtime/src/main/java/org/apache/flink/runtime/executiongraph/ErrorInfo.java: ########## @@ -39,6 +44,10 @@ public class ErrorInfo implements Serializable { private final long timestamp; + private final transient CompletableFuture<Map<String, String>> labelsFuture; + /** Labels associated with the exception, set as soon as labelsFuture is completed. */ + private Map<String, String> labels; Review Comment: we should just make sure labels field is marked as volatile, because it could be set from a different thread -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org