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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
Roman Khachatryan created FLINK-23035:
-----------------------------------------

             Summary: Add explicit method to StateChangelogWriter to write metadata
                 Key: FLINK-23035
                 URL: https://issues.apache.org/jira/browse/FLINK-23035
             Project: Flink
          Issue Type: Sub-task
          Components: Runtime / State Backends
            Reporter: Roman Khachatryan
             Fix For: 1.14.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.3.4#803005)