Uh oh!
There was an error while loading. Please reload this page.
[HUDI-4287] Optimize Flink checkpoint meta mechanism to fix mistaken pending instants - #5913
[HUDI-4287] Optimize Flink checkpoint meta mechanism to fix mistaken pending instants#5913chenshzh wants to merge 3 commits into
Conversation
wxplovecc
commented
Jun 22, 2022
+1 for fix |
Fix conflicts with https://issues.apache.org/jira/projects/HUDI/issues/HUDI-4311 , which also has attempted to fix the rollback data lose in batch write scene. And this pr might be still needed because rollback could happen during runtime, such as StreamWriteOperatorCoordinator#notifyCheckpointComplete when commitInstant, and it won't crash the job for CkpMeta to rebootstrap. |
chenshzh
commented
Jul 1, 2022
@danny0405 updated already, pls take a review to see whether it's ok. |
danny0405
commented
Jul 3, 2022
We already add stats for write functions to recoveer and recommit if the job fails during instant commition |
leesf
commented
Dec 9, 2022
@chenshzh would you please rebase to latest master first? |
chenshzh
commented
Dec 12, 2022
alexeykudinkin
commented
Dec 20, 2022
@chenshzh can you please check on the CI failures? |
chenshzh
commented
Dec 26, 2022
@hudi-bot run azure |
chenshzh
commented
Dec 27, 2022
@alexeykudinkin would you help review the CI failure once more? I have rebased to the latest and it seems not the problem of this PR's specific changes ? Because we find it failed in |
danny0405
commented
Dec 28, 2022
Hello @chenshzh , do you think this is still an issue here ? We can have an offline talk if possible, are you in the Hudi DingTalk group now ? |
@danny0405 Yes, I'm in the group now, and would be glad to discuss it. |
danny0405
commented
Dec 28, 2022
You can add me as a friend and we can have a talk. |
nsivabalan
commented
Feb 8, 2023
@danny0405 : is this still a valid patch. can you follow up. |
danny0405
commented
Feb 8, 2023
No, it should have been fixed in master. |
Change Logs
Details added in https://issues.apache.org/jira/projects/HUDI/issues/HUDI-4287
To optimize the mechanism with CANCELLED CkpMessage state in the highest priority corresponding with DELETE instant during rollback action.
Revert back to re-send pending instants to ckp_meta when bootstrap.
Include scenes of compaction and clustering.
Impact
Last successful instant will be kept when recovering for recommit
Risk level (write none, low medium or high below)
medium. It will be fast verified by data quality check.
Documentation Update
none
Contributor's checklist