You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "danny0405 (via GitHub)" <gi...@apache.org> on 2023/01/28 08:02:29 UTC

[GitHub] [hudi] danny0405 commented on a diff in pull request #7615: [HUDI-5510] Reload active timeline when commit finish

danny0405 commented on code in PR #7615:
URL: https://github.com/apache/hudi/pull/7615#discussion_r1089677311


##########
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:
   Good catch, what is actualy the effect then? The instants would be sill archived for the next commit right?



-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org