You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yanfei Lei (Jira)" <ji...@apache.org> on 2022/12/16 07:38:00 UTC

[jira] [Resolved] (FLINK-23035) Add explicit method to StateChangelogWriter to write metadata

     [ https://issues.apache.org/jira/browse/FLINK-23035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yanfei Lei resolved FLINK-23035.
--------------------------------
      Assignee: Yanfei Lei  (was: Xinbin Huang)
    Resolution: Resolved

> 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: Yanfei Lei
>            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)