You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/11/02 06:44:00 UTC

[jira] [Updated] (FLINK-29842) Change commitIdentifier in Table Store snapshot to long value

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

ASF GitHub Bot updated FLINK-29842:
-----------------------------------
    Labels: pull-request-available  (was: )

> Change commitIdentifier in Table Store snapshot to long value
> -------------------------------------------------------------
>
>                 Key: FLINK-29842
>                 URL: https://issues.apache.org/jira/browse/FLINK-29842
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table Store
>    Affects Versions: table-store-0.3.0, table-store-0.2.2
>            Reporter: Caizhi Weng
>            Assignee: Caizhi Weng
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: table-store-0.3.0, table-store-0.2.2
>
>
> Currently {{commitIdentifier}} in {{Snapshot}} is a {{String}} value. However there are many scenarios where we need to compare two identifiers to find out which one is newer. For example
> * In FLINK-29840, we need to store the latest modified commit for each writer. Only when the latest snapshot is newer than this commit can we safely close the writer.
> * In FLINK-29805, we can read the commit identifier of the latest snapshot. All identifiers older than that should be filtered out.
> * In FLINK-29752, we need to trigger full compaction once in a few commits. We can read the latest commit identifier and compare it with the full compaction identifier to check if full compaction is successfully committed.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)