schnappi17 commented on code in PR #2911:
URL: https://github.com/apache/incubator-paimon/pull/2911#discussion_r1515802726


##########
paimon-core/src/main/java/org/apache/paimon/utils/SnapshotManager.java:
##########
@@ -451,12 +460,18 @@ public Long readHint(String fileName, String branchName) {
 
     private Long findByListFiles(BinaryOperator<Long> reducer, String 
branchName)
             throws IOException {
-        Path snapshotDir = snapshotDirByBranch(branchName);
+        Path snapshotDir = snapshotDirectory(branchName);
         return listVersionedFiles(fileIO, snapshotDir, SNAPSHOT_PREFIX)
                 .reduce(reducer)
                 .orElse(null);
     }
 
+    public void deleteLatestHint(String branchName) throws IOException {

Review Comment:
   This is not used.



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