1996fanrui opened a new pull request, #29744:
URL: https://github.com/apache/flink/pull/29744

   ## What is the purpose of the change
   
   Backport of #27466 to release-2.2.
   
   ## Verifying this change
   
   - `./mvnw -pl flink-tests -am -Pskip-webui-build 
-Dtest='UnalignedCheckpointFailureHandlingITCase' 
-Dsurefire.failIfNoSpecifiedTests=false package` (JDK 17), run 5 times: `BUILD 
SUCCESS` every time, each with `Tests run: 1, Failures: 0, Errors: 0, Skipped: 
0`
   - `./mvnw -q -pl flink-tests spotless:check checkstyle:check` (JDK 17): 
passed
   - The test method, `triggerFailingCheckpoint`, and the runtime code on the 
failure path (`ChannelStateCheckpointWriter`, 
`DefaultOperatorStateBackendSnapshotStrategy`) on release-2.2 were read and 
compared with the code the original fix was written against: the race is 
present here.
   
   ## Difference from the original
   
   | Original commit | Conflict | Byte-identical | Changes |
   | --- | --- | --- | --- |
   | fdf1a2e9dfc | No | Yes | None |
   
   ## Notes
   
   - This is a test-only flakiness fix, so there is no main-code change to 
revert. The flake was not reproduced on this branch before the change; the 5 
runs show the test passes with the fix, not that the race was observed.
   
   cc @mateczagany @ferenc-csaky
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes (please specify the tool below)
   
   Generated-by: Claude Code 2.1.316 (Claude Opus 5.5)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to