[
https://issues.apache.org/jira/browse/FLINK-7461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16129008#comment-16129008
]
ASF GitHub Bot commented on FLINK-7461:
---------------------------------------
Github user zentol commented on a diff in the pull request:
https://github.com/apache/flink/pull/4550#discussion_r133490130
--- Diff:
flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/OperatorSubtaskState.java
---
@@ -228,12 +195,11 @@ public StreamStateHandle getLegacyOperatorState() {
public void discardState() {
try {
List<StateObject> toDispose =
- new ArrayList<>(1 +
+ new ArrayList<>(
managedOperatorState.size() +
- rawOperatorState.size() +
- managedKeyedState.size() +
- rawKeyedState.size());
- toDispose.add(legacyOperatorState);
+ rawOperatorState.size() +
--- End diff --
odd indentation
> Remove Backwards compatibility for Flink 1.1 from Flink 1.4
> -----------------------------------------------------------
>
> Key: FLINK-7461
> URL: https://issues.apache.org/jira/browse/FLINK-7461
> Project: Flink
> Issue Type: Improvement
> Affects Versions: 1.4.0
> Reporter: Stefan Richter
> Assignee: Stefan Richter
>
> This issue tracks the removal of Flink 1.1 backwards compatibility from Flink
> 1.4. This step is helpful for further developments because it will remove
> many old code paths and special cases. In particular, we can drop all
> handling for non-partitionable state, i.e. state that was created with the
> old {{Checkpointed}} interface.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)