[ https://issues.apache.org/jira/browse/FLINK-23035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17648379#comment-17648379 ]
Yanfei Lei commented on FLINK-23035: ------------------------------------ Merged [6b357b|https://github.com/apache/flink/commit/6b357b4c55569d4b4b55f101287475a73a2a209d] into master. > 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 > Assignee: Xinbin Huang > Priority: Minor > Labels: pull-request-available > Fix For: 1.17.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)