New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FLINK-18429][DataStream API] Make CheckpointListener.notifyCheckpointAborted(checkpointId) a default method. #12767
Conversation
…tAborted(checkpointId) a default method. This avoid breaking many user programs that use this interface.
Thanks a lot for your contribution to the Apache Flink project. I'm the @flinkbot. I help the community Automated ChecksLast check on commit cf0c7ec (Wed Jun 24 16:20:19 UTC 2020) Warnings:
Mention the bot in a comment to re-run the automated checks. Review Progress
Please see the Pull Request Review Guide for a full explanation of the review process. The Bot is tracking the review progress through labels. Labels are applied according to the order of the review items. For consensus, approval by a Flink committer of PMC member is required Bot commandsThe @flinkbot bot supports the following commands:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for providing a fix and resolving the confusion :)
…pointListener as @public This closes apache#12767
…tAborted(checkpointId) a default method. This avoid breaking many user programs that use this interface. This closes apache#12767
…pointListener as @public This closes apache#12767
Purpose / Brief change log
This PR prevents breaking existing user programs by making the newly added method
CheckpointListener.notifyCheckpointAborted(checkpointId)
a default method.In addition, this PR upgrades the stability of
CheckpointListener
andCheckpointedFunction
to@Public
to reflect that we should not break them and make sure this is caught by our tooling.Original Confusion about (Not) Having a Default Method
(Copying the description from the JIRA issue here)
There was confusion about this originally, going back to a comment by myself suggesting this should not be a default method, incorrectly thinking of it as an internal interface: #8693 (comment)
See clarification email on the mailing list:
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:
@Public(Evolving)
: yesDocumentation