[
https://issues.apache.org/jira/browse/FLINK-32965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17759773#comment-17759773
]
Rui Fan commented on FLINK-32965:
---------------------------------
Merged <master:1.19> via 3fa046ef7c461554b50d2d791dc4846cd8ff75b7
> Remove the deprecated MutableObjectMode
> ---------------------------------------
>
> Key: FLINK-32965
> URL: https://issues.apache.org/jira/browse/FLINK-32965
> Project: Flink
> Issue Type: Technical Debt
> Components: Runtime / Configuration
> Reporter: Rui Fan
> Assignee: Rui Fan
> Priority: Major
>
> FLINK-1285 updated the MutableObjectMode to ObjectReuse. The
> TaskConfig#getMutableObjectMode() is not used for a long long time, and it's
> internal class, so it can be removed directly.
> Also, we should update the GroupReduceDriverTest:
> * Updating the _testAllReduceDriverAccumulatingImmutable()_ from
> `context.setMutableObjectMode({color:#cc7832}false{color}){color:#cc7832};{color}`
> to
> `context.getExecutionConfig().disableObjectReuse(){color:#cc7832};{color}`.
> * Updating the _testAllReduceDriverIncorrectlyAccumulatingMutable()_ to
> `context.getExecutionConfig().disableObjectReuse(){color:#cc7832};{color}`,
> and fix the assert.
>
> More details can be get from
> [https://github.com/apache/flink/pull/23233#discussion_r1304595960]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)