Hi,

I met a scenario that a user set the ttl wrongly as second precision, so he can 
not query the data.


I checked the parameter description in iotdb-engine.properties, it is described 
as this:


# Default TTL for storage groups that are not set TTL by statements, in ms. If 
not set (default),
# the TTL will be unlimited.
# Notice: if this property is changed, previous created storage group which are 
not set TTL will
# also be affected. And negative values are accepted, which means you can only 
insert future
# data.
# default_ttl=36000000


I think some users may do not read the descriptions, should we add the unit to 
the parameter name? E.g., sstable_size_in_mb in Cassandra.


We could rename the default_ttl to default_ttl_in_ms, so as to other 
parameters. 

Thanks,
--
Jialin Qiao
School of Software, Tsinghua University

乔嘉林
清华大学 软件学院

Reply via email to