[
https://issues.apache.org/jira/browse/FLINK-23035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17597059#comment-17597059
]
Yanfei Lei commented on FLINK-23035:
------------------------------------
Currently, one {{StateChange}} has one {{{}keyGroup{}}}, I guess we use
{{keyGroup}} for rescaling.
If an explicit append() without keygroup is introduced, where should
{{keyGroup}} stay?
> Add explicit method to StateChangelogWriter to write metadata
> -------------------------------------------------------------
>
> Key: FLINK-23035
> URL: https://issues.apache.org/jira/browse/FLINK-23035
> Project: Flink
> Issue Type: Technical Debt
> Components: Runtime / State Backends
> Reporter: Roman Khachatryan
> Priority: Minor
> Fix For: 1.16.0
>
>
> Currently, metadata is written to the state changelog using the same
> StateChangelogWriter.append() method as data.
> However, it doesn't belong to a specific group, and should be read first on
> recovery. Because of that, -1 is used.
> An explicit append() without keygroup would be less fragile (probably still
> using -1 under the hood).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)