Core review updates
This commit is contained in:
parent
3881c809fe
commit
4c78121cc5
@ -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) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user