Uh oh!
There was an error while loading. Please reload this page.
[HUDI-4866] Fixes the issue that the archive operation is invalid whe… - #6703
[HUDI-4866] Fixes the issue that the archive operation is invalid whe…#6703watermelon12138 wants to merge 1 commit into
Conversation
…n the savepoint is created.
hudi-bot
commented
Sep 17, 2022
nsivabalan
commented
Sep 26, 2022
@watermelon12138 : sorry. I am not sure I understand the fix. C1, C2, C3, C4, SP_C4, C5, C6, C7. if archival kicks in, only C1 -> C3 can be archived. we can't proceed further until the savepoint is deleted. this is the expected behavior. |
watermelon12138
commented
Sep 30, 2022
@nsivabalan |
nsivabalan
commented
Oct 19, 2022
by SP_C4, what it essentially means is that, if at C4, if someone does snaphot query, hudi serves data from N data files. those N data files will be tracked by SP_C4 and cleaner will never touch those files. wrt MOR delete savepoint, yes, we had a bug which we fixed it later. #6744 |
nsivabalan
commented
Oct 20, 2022
@watermelon12138 : let me know if the patch still makes sense. I can take another look. |
Change Logs
The result of filter will be NOT. Therefore, an instant whose value is less than firstSavepoint is selected for archiving. The expected result is that an instant greater than firstSavepoint is selected for archiving.
Impact
When a savepoint exists, the archiving condition is incorrect.
Risk level: none | low | medium | high
Choose one. If medium or high, explain what verification was done to mitigate the risks.
Contributor's checklist