Github user aljoscha commented on a diff in the pull request:
https://github.com/apache/flink/pull/2948#discussion_r95979296
--- Diff:
flink-runtime/src/main/java/org/apache/flink/runtime/state/OperatorStateCheckpointOutputStream.java
---
@@ -66,8 +66,10 @@ OperatorStateHandle closeAndGetHandle() throws
IOException {
startNewPartition();
}
- Map<String, long[]> offsetsMap = new HashMap<>(1);
-
offsetsMap.put(DefaultOperatorStateBackend.DEFAULT_OPERATOR_STATE_NAME,
partitionOffsets.toArray());
+ Map<String, OperatorStateHandle.StateMetaInfo> offsetsMap = new
HashMap<>(1);
+ OperatorStateHandle.StateMetaInfo metaInfo =
+ new
OperatorStateHandle.StateMetaInfo(partitionOffsets.toArray(),
OperatorStateHandle.Mode.BROADCAST);
--- End diff --
I think this should be `SPLIT_REDISTRIBUTE` to conform to the old behaviour.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---