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

Leonard Xu resolved FLINK-35129.
--------------------------------
    Resolution: Implemented

Implemented via master: 5b28d1a579919b29acac6acded46d9bee5596bde

> Postgres source commits the offset after every multiple checkpoint cycles.
> --------------------------------------------------------------------------
>
>                 Key: FLINK-35129
>                 URL: https://issues.apache.org/jira/browse/FLINK-35129
>             Project: Flink
>          Issue Type: Improvement
>          Components: Flink CDC
>    Affects Versions: cdc-3.1.0
>            Reporter: Hongshun Wang
>            Assignee: Muhammet Orazov
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: cdc-3.2.0
>
>
> After entering the Stream phase, the offset consumed by the global slot is 
> committed upon the completion of each checkpoint, preventing log files from 
> being unable to be recycled continuously, which could lead to insufficient 
> disk space.
> However, the job can only restart from the latest checkpoint or savepoint. if 
> restored from an earlier state, WAL may already have been recycled.
>  
> The way to solve it is to commit the offset after every multiple checkpoint 
> cycles. The number of checkpoint cycles is determine by connector option, and 
> the default value is 3.



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

Reply via email to