You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Gyula Fora (Jira)" <ji...@apache.org> on 2022/05/18 15:45:00 UTC

[jira] [Created] (FLINK-27686) Only patch status when the status actually changed

Gyula Fora created FLINK-27686:
----------------------------------

             Summary: Only patch status when the status actually changed
                 Key: FLINK-27686
                 URL: https://issues.apache.org/jira/browse/FLINK-27686
             Project: Flink
          Issue Type: Improvement
          Components: Kubernetes Operator
            Reporter: Gyula Fora
             Fix For: kubernetes-operator-1.0.0


The StatusHelper class currently always patches the status regardless if it changed or not.

We should use an ObjectMapper and simply compare the ObjectNode representations and only patch if there is any change.

 

(I think we cannot directly compare the status objects because some of the content comes from getters and are not part of the equals implementation)



--
This message was sent by Atlassian Jira
(v8.20.7#820007)