You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2022/11/09 06:24:28 UTC
[GitHub] [hudi] danny0405 commented on a diff in pull request #7166: [MINOR] Refactor the code for CkpMetadata
danny0405 commented on code in PR #7166:
URL: https://github.com/apache/hudi/pull/7166#discussion_r1017473954
##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/sink/meta/CkpMetadata.java:
##########
@@ -61,7 +61,9 @@ public class CkpMetadata implements Serializable {
private static final Logger LOG = LoggerFactory.getLogger(CkpMetadata.class);
- protected static final int MAX_RETAIN_CKP_NUM = 3;
+ // 1 is actually enough for fetching the latest pending instant,
+ // keep 3 instants here for purpose of debugging.
+ private static final int MAX_RETAIN_CKP_NUM = 3;
Review Comment:
We do not add user options for internal functionalities.
--
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