[ 
https://issues.apache.org/jira/browse/FLINK-33897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17803535#comment-17803535
 ] 

Piotr Nowojski commented on FLINK-33897:
----------------------------------------

By real world motivation, I meant if that really is an issue that someone 
complained about? If not, and this is just a theoretical possibility that comes 
from your observation when implementing FLINK-6755 "it could be implemented, 
someone might find it useful", I would put it aside for the time being. 
Honestly, I doubt many users would use this feature. In most cases just 
cancelling the job and restarting with new configuration would be faster vs 
someone first trying to find out in the docs/user mailing list/stack overflow 
that he can actually trigger unaligned checkpoint from CLI first. This would be 
only useful to a handful of power users, but those should already know about 
that it's better to use unaligned checkpoints from the get go.

{quote}
I'm not very familiar with this part so if you think this is a big change, I 
won't insist on doing it.
{quote}
Adding a new BarrierHandlerState maybe is not a very big change per se, but 
will visible increase complexity of the code when someone needs to 
read/understand it.

{quote}
I do agree we could enable timeout for aligned cp by default, which greatly 
reduce this case
{quote}
Let me start the dev mailing list discussion about that.

> Allow triggering unaligned checkpoint via CLI
> ---------------------------------------------
>
>                 Key: FLINK-33897
>                 URL: https://issues.apache.org/jira/browse/FLINK-33897
>             Project: Flink
>          Issue Type: New Feature
>          Components: Command Line Client, Runtime / Checkpointing
>            Reporter: Zakelly Lan
>            Assignee: Zakelly Lan
>            Priority: Major
>
> After FLINK-6755, user could trigger checkpoint through CLI. However I 
> noticed there would be value supporting trigger it in unaligned way, since 
> the job may encounter a high back-pressure and an aligned checkpoint would 
> fail.
>  
> I suggest we provide an option '-unaligned' in CLI to support that.
>  
> Similar option would also be useful for REST api



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

Reply via email to