swuferhong commented on code in PR #2179:
URL: https://github.com/apache/fluss/pull/2179#discussion_r2702399391
##########
fluss-server/src/main/java/org/apache/fluss/server/kv/snapshot/CompletedSnapshotStore.java:
##########
@@ -200,14 +208,21 @@ interface SubsumeAction {
void subsume(CompletedSnapshot snapshot) throws Exception;
}
- private static boolean canSubsume(CompletedSnapshot next,
CompletedSnapshot latest) {
+ /** A function to determine whether a snapshot can be subsumed. */
+ @FunctionalInterface
+ public interface CanSubsume {
Review Comment:
Rename to `SubsumptionChecker `.
--
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]