Rui Fan created FLINK-32965:
-------------------------------
Summary: Remove the deprecated MutableObjectMode
Key: FLINK-32965
URL: https://issues.apache.org/jira/browse/FLINK-32965
Project: Flink
Issue Type: Technical Debt
Reporter: Rui Fan
Assignee: Rui Fan
FLINK-1285 updated the MutableObjectMode to ObjectReuse, and
TaskConfig#getMutableObjectMode() is not used for a long long time. So it can
be removed.
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)