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

Dong Lin commented on FLINK-32663:
----------------------------------

[~fanrui] Thanks for the investigation!

FLINK-27386 is expected to trigger an immediate checkpoint only if checkpoint 
is enabled. According to our offline discussion, it appears that 
`StateWithExecutionGraph#notifyEndOfData` triggers an immediate checkpoint for 
this test.

Currently, `StateWithExecutionGraph#notifyEndOfData` relies on 
`checkpointCoordinatorConfiguration != null` to check whether checkpoint is 
enabled. I agree it is useful to additionally check whether checkpointInterval 
is in range (0, Long.MAX_VALUE), similar to what is done in 
`JobGraph#isCheckpointingEnabled`.

 

> RescalingITCase.testSavepointRescalingInPartitionedOperatorStateList fails on 
> AZP
> ---------------------------------------------------------------------------------
>
>                 Key: FLINK-32663
>                 URL: https://issues.apache.org/jira/browse/FLINK-32663
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Coordination
>    Affects Versions: 1.18.0
>            Reporter: Sergey Nuyanzin
>            Assignee: Yanfei Lei
>            Priority: Blocker
>              Labels: test-stability
>         Attachments: screenshot-1.png
>
>
> This build 
> https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=51501&view=logs&j=8fd9202e-fd17-5b26-353c-ac1ff76c8f28&t=ea7cf968-e585-52cb-e0fc-f48de023a7ca&l=8665
> fails as
> {noformat}
> Jul 21 01:24:54 01:24:54.146 [ERROR] 
> RescalingITCase.testSavepointRescalingInPartitionedOperatorStateList  Time 
> elapsed: 1.485 s  <<< FAILURE!
> Jul 21 01:24:54 java.lang.AssertionError: expected:<530> but was:<30>
> Jul 21 01:24:54       at org.junit.Assert.fail(Assert.java:89)
> Jul 21 01:24:54       at org.junit.Assert.failNotEquals(Assert.java:835)
> Jul 21 01:24:54       at org.junit.Assert.assertEquals(Assert.java:647)
> Jul 21 01:24:54       at org.junit.Assert.assertEquals(Assert.java:633)
> Jul 21 01:24:54       at 
> org.apache.flink.test.checkpointing.RescalingITCase.testSavepointRescalingPartitionedOperatorState(RescalingITCase.java:621)
> Jul 21 01:24:54       at 
> org.apache.flink.test.checkpointing.RescalingITCase.testSavepointRescalingInPartitionedOperatorStateList(RescalingITCase.java:508)
> Jul 21 01:24:54       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)
> Jul 21 01:24:54       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> Jul 21 01:24:54       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:4
> ...
> {noformat}



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

Reply via email to