[ https://issues.apache.org/jira/browse/FLINK-32965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rui Fan resolved FLINK-32965. ----------------------------- Fix Version/s: 1.19.0 Resolution: Fixed > 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 > Fix For: 1.19.0 > > > 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)