diff --git a/dao/src/main/java/org/thingsboard/server/dao/timeseries/CassandraBaseTimeseriesDao.java b/dao/src/main/java/org/thingsboard/server/dao/timeseries/CassandraBaseTimeseriesDao.java index 466068533d..736b234eb9 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/timeseries/CassandraBaseTimeseriesDao.java +++ b/dao/src/main/java/org/thingsboard/server/dao/timeseries/CassandraBaseTimeseriesDao.java @@ -185,7 +185,7 @@ public class CassandraBaseTimeseriesDao extends AbstractCassandraBaseTimeseriesD if (isFixedPartitioning()) { return Futures.immediateFuture(null); } - // DO NOT apply custom to partition, otherwise, short TTL will remove partition too early + // DO NOT apply custom TTL to partition, otherwise, short TTL will remove partition too early // partitions must remain in the DB forever or be removed only by systemTtl // removal of empty partition is too expensive (we need to scan all data keys for these partitions with ALLOW FILTERING) long ttl = computeTtl(0);