Browse Source

Core review updates

pull/6950/head
Volodymyr Babak 4 years ago
parent
commit
4c78121cc5
  1. 4
      dao/src/main/java/org/thingsboard/server/dao/timeseries/CassandraBaseTimeseriesDao.java

4
dao/src/main/java/org/thingsboard/server/dao/timeseries/CassandraBaseTimeseriesDao.java

@ -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);
}
}

Loading…
Cancel
Save