Core review updates

This commit is contained in:
Volodymyr Babak 2022-07-15 13:17:18 +03:00
parent 3881c809fe
commit 4c78121cc5

View File

@ -257,9 +257,7 @@ public class CassandraBaseTimeseriesDao extends AbstractCassandraBaseTimeseriesD
for (Long partition : partitionsToDelete) {
CassandraPartitionCacheKey key = new CassandraPartitionCacheKey(entityId, query.getKey(), partition);
if (cassandraTsPartitionsCache.has(key)) {
cassandraTsPartitionsCache.invalidate(key);
}
cassandraTsPartitionsCache.invalidate(key);
}
}