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,11 +257,9 @@ public class CassandraBaseTimeseriesDao extends AbstractCassandraBaseTimeseriesD
for (Long partition : partitionsToDelete) { for (Long partition : partitionsToDelete) {
CassandraPartitionCacheKey key = new CassandraPartitionCacheKey(entityId, query.getKey(), partition); CassandraPartitionCacheKey key = new CassandraPartitionCacheKey(entityId, query.getKey(), partition);
if (cassandraTsPartitionsCache.has(key)) {
cassandraTsPartitionsCache.invalidate(key); cassandraTsPartitionsCache.invalidate(key);
} }
} }
}
@Override @Override
public void onFailure(Throwable t) { public void onFailure(Throwable t) {