[
https://issues.apache.org/jira/browse/FLINK-27686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gyula Fora closed FLINK-27686.
------------------------------
Resolution: Fixed
merged to
main 0e537308975f29a6dc129d047f3db337122cc3ca
release-1.0 8f4cc547b898804852f82b5ee058e46e5c853537
> 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
> Assignee: Gyula Fora
> Priority: Critical
> Labels: pull-request-available
> 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)