Commit 7be8572364336869c40fcee90c89154180a23cf5
Committed by
Andrew Shvayka
1 parent
ee13f53e
Comment improve #2
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -185,7 +185,7 @@ public class CassandraBaseTimeseriesDao extends AbstractCassandraBaseTimeseriesD | @@ -185,7 +185,7 @@ public class CassandraBaseTimeseriesDao extends AbstractCassandraBaseTimeseriesD | ||
185 | if (isFixedPartitioning()) { | 185 | if (isFixedPartitioning()) { |
186 | return Futures.immediateFuture(null); | 186 | return Futures.immediateFuture(null); |
187 | } | 187 | } |
188 | - // DO NOT apply custom to partition, otherwise, short TTL will remove partition too early | 188 | + // DO NOT apply custom TTL to partition, otherwise, short TTL will remove partition too early |
189 | // partitions must remain in the DB forever or be removed only by systemTtl | 189 | // partitions must remain in the DB forever or be removed only by systemTtl |
190 | // removal of empty partition is too expensive (we need to scan all data keys for these partitions with ALLOW FILTERING) | 190 | // removal of empty partition is too expensive (we need to scan all data keys for these partitions with ALLOW FILTERING) |
191 | long ttl = computeTtl(0); | 191 | long ttl = computeTtl(0); |