Commit ba1f235d authored by Alok Joshi's avatar Alok Joshi
Browse files

always clear list cache when deleting partition

parent 8400d1ca
......@@ -87,9 +87,8 @@ public class CachedPartitionServiceImpl implements IPartitionService {
if (partitionService.deletePartition(partitionId)) {
if (partitionServiceCache.get(partitionId) != null) {
partitionServiceCache.delete(partitionId);
partitionListCache.clearAll();
}
partitionListCache.clearAll();
return true;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment