StefanRRichter commented on a change in pull request #7163: [FLINK-10471][State TTL] State TTL cleanup using RocksDb compaction filter URL: https://github.com/apache/flink/pull/7163#discussion_r254209654
########## File path: docs/dev/stream/state/state.md ########## @@ -488,7 +494,13 @@ by activating debug level for `FlinkCompactionFilter`: `log4j.logger.org.rocksdb.FlinkCompactionFilter=DEBUG` -**Note:** Calling of TTL filter during compaction slows it down. +**Notes:** +- Calling of TTL filter during compaction slows it down. +The TTL filter has to parse timestamp of last access and check its expiration +for every stored state entry per key which is being compacted. +In case of collection state type (list or map) the check is also invoked per stored element. +- For existing jobs, this cleanup strategy can be activated or disactivated anytime in `StateTtlConfig`, Review comment: disactivated -> deactivated ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
