[
https://issues.apache.org/jira/browse/FLINK-32698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17747772#comment-17747772
]
Rui Fan commented on FLINK-32698:
---------------------------------
bq. I found the sink operator in `Paimon` is a `OneInputStreamOperator` which
is also `public` in flink and it has `snapshotState` method which has
`snapshotType` in `CheckpointOptions`, maybe we can consider it first.
Hi [~Ming Li], if the `OneInputStreamOperator` is enough, do you think this
jira is necessary?
> Add getCheckpointOptions interface in ManagedSnapshotContext
> ------------------------------------------------------------
>
> Key: FLINK-32698
> URL: https://issues.apache.org/jira/browse/FLINK-32698
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / Checkpointing
> Reporter: Ming Li
> Priority: Major
>
> Currently only {{checkpointID}} and {{checkpointTimestamp}} information are
> provided in {{{}ManagedSnapshotContext{}}}. We hope to provide more
> information about {{{}CheckpointOptions{}}}, so that operators can adopt
> different logics when performing {{{}SnapshotState{}}}.
>
> An example is to adopt different behaviors according to the type of
> checkpoint. For example, in {{{}Paimon{}}}, we hope that the paimon‘s
> snapshot written by {{checkpoint}} can expire automatically, while the
> paimon‘s snapshot written by {{savepoint}} can be persisted.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)