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)

Reply via email to