ZhengshuaiPENG commented on a change in pull request #633: KYLIN-3994:
StorageCleanupJob may delete cube id data of new built segment because of cube
cache in CubeManager
URL: https://github.com/apache/kylin/pull/633#discussion_r288895567
##########
File path: core-cube/src/main/java/org/apache/kylin/cube/CubeManager.java
##########
@@ -188,6 +188,11 @@ public void onEntityChange(Broadcaster broadcaster,
String entity, Event event,
}
}
+ public List<CubeInstance> reloadAndListAllCubes() throws IOException {
+ crud.reloadAll();
Review comment:
It's better to add lock here to avoid W/R conflict
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services