vinothchandar commented on a change in pull request #3210:
URL: https://github.com/apache/hudi/pull/3210#discussion_r687429575



##########
File path: 
hudi-common/src/main/java/org/apache/hudi/metadata/HoodieTableMetadata.java
##########
@@ -106,5 +109,13 @@ static HoodieTableMetadata create(HoodieEngineContext 
engineContext, HoodieMetad
    */
   Option<String> getSyncedInstantTime();
 
+  /**
+   * Get the instant time to which the metadata is synced w.r.t data timeline 
on the reader side.
+   *
+   * This is different from the getSyncedInstantTime() because the reader 
should sync all completed instants
+   * from the data timeline in order to always provide the most up to date 
view of the files within the dataset.
+   */
+  Option<String> getSyncedInstantTimeForReader();

Review comment:
       Can we avoid this if we can. This is a pretty important interface, 
having additional methods for testing may be an overkill.?
   Happy to take this up




-- 
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]


Reply via email to