shaofengshi commented on a change in pull request #381: ProjectL2Cache don't be 
invalidated when adding override config in cu…
URL: https://github.com/apache/kylin/pull/381#discussion_r240447948
 
 

 ##########
 File path: core-cube/src/main/java/org/apache/kylin/cube/CubeManager.java
 ##########
 @@ -151,11 +151,13 @@ protected CubeInstance 
initEntityAfterReload(CubeInstance cube, String resourceN
 
         @Override
         public void onProjectSchemaChange(Broadcaster broadcaster, String 
project) throws IOException {
-            for (IRealization real : 
ProjectManager.getInstance(config).listAllRealizations(project)) {
+            ProjectManager projectManager = ProjectManager.getInstance(config);
+            for (IRealization real : 
projectManager.listAllRealizations(project)) {
 
 Review comment:
   Hello, I can't see the difference; can you elaborate on it? Thank you.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to