Zouxxyy commented on code in PR #7615:
URL: https://github.com/apache/hudi/pull/7615#discussion_r1089688817
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/HoodieTimelineArchiver.java:
##########
@@ -479,6 +479,8 @@ private Stream<HoodieInstant> getCommitInstantsToArchive()
throws IOException {
}
private Stream<HoodieInstant> getInstantsToArchive() throws IOException {
+ metaClient.reloadActiveTimeline();
+
Review Comment:
@danny0405 just the results can be confusing, like set
`hoodie.keep.max.commits=5` , but after 10 commits, there will be 6 commits
(more than 5) in active timeline.
And like you say, they would be archived after the next commit
--
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]