[
https://issues.apache.org/jira/browse/FLINK-32965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rui Fan updated FLINK-32965:
----------------------------
Description:
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]
was:
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
> 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)