jt2594838 commented on code in PR #12122: URL: https://github.com/apache/iotdb/pull/12122#discussion_r1580434946
########## iotdb-core/node-commons/src/assembly/resources/conf/iotdb-common.properties: ########## @@ -450,6 +450,25 @@ data_replication_factor=1 # Unit: ms # default_ttl_in_ms=-1 +# The threshold for the number of TTL stored in the system, the default is 1000. +# Negative value means the threshold is unlimited. +# Datatype: int +# ttl_count_threshold=1000 + +# The interval of ttl check task in each database. Default is 2 hours. +# Notice: It is not recommended to change it too small, as it will affect the read and write performance of the system. +# Unit: ms +# ttl_check_interval=7200000 + +# The max expired time of device set with ttl. If the expired time exceeds this value, then the expired data will be cleaned by compaction. Default is 1 month. +# Notice: It is not recommended to change it too small, as it will affect the read and write performance of the system. +# Unit: ms +# max_expired_time=2592000000 + +# The expired device rate. If the number of expired devices in one tsfile exceeds this value, then expired data of this tsfile will be cleaned by compaction. Review Comment: The same issues are found in IoTDBConfig, please check there. Also, it seems that only the comments are changed, but the names of the config remain. -- 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: reviews-unsubscr...@iotdb.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org