masteryhx commented on code in PR #21835: URL: https://github.com/apache/flink/pull/21835#discussion_r1259127175
########## flink-core/src/main/java/org/apache/flink/api/common/state/StateTtlConfig.java: ########## @@ -433,6 +461,13 @@ public static class RocksdbCompactFilterCleanupStrategy implements CleanupStrategies.CleanupStrategy { private static final long serialVersionUID = 3109278796506988980L; + /** + * Default value lets RocksDB control this feature as needed. For now, RocksDB will change + * this value to 30 days (i.e 30 * 24 * 60 * 60) so that every file goes through the + * compaction process at least once every 30 days if not compacted sooner. + */ + static final Time DEFAULT_PERIODIC_COMPACTION_TIME = Time.seconds(0xfffffffffffffffeL); Review Comment: As discussed offline, we will set the default value to 30 days in Flink to avoid the unpredictable change in rocksdb. -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org