Commit ee13f53eca3c61d750bda25a85176cf09d3113f1

Authored by Volodymyr Babak
Committed by Andrew Shvayka
1 parent d5319c9d

Comment improve

... ... @@ -185,9 +185,9 @@ public class CassandraBaseTimeseriesDao extends AbstractCassandraBaseTimeseriesD
185 185 if (isFixedPartitioning()) {
186 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 to partition, otherwise, short TTL will remove partition too early
189 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 this 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 191 long ttl = computeTtl(0);
192 192 long partition = toPartitionTs(tsKvEntryTs);
193 193 if (cassandraTsPartitionsCache == null) {
... ...