[ 
https://issues.apache.org/jira/browse/KYLIN-2672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16342468#comment-16342468
 ] 

kangkaisen commented on KYLIN-2672:
-----------------------------------

The basic idea for this patch is adding a new api for cube migration and only 
reloading necessary cacheļ¼Œ
not any clear operation.

The metadata reloading must be by the follwing order:
- table
- project
- model
- cube desc
- cube instance
- project l2 cache

The reason please refer the code comment.

The meaning for this patch is improving the Kylin QueryServer availability and 
Fixing the "Table not found" bug when migrate cube.

> Only clean necessary cache for CubeMigrationCLI
> -----------------------------------------------
>
>                 Key: KYLIN-2672
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2672
>             Project: Kylin
>          Issue Type: Improvement
>          Components: Tools, Build and Test
>    Affects Versions: v2.0.0
>            Reporter: kangkaisen
>            Assignee: kangkaisen
>            Priority: Major
>             Fix For: v2.3.0
>
>         Attachments: KYLIN-2672.patch
>
>
> Currently, we simply clear ALL cache in  CubeMigrationCLI. which will make a 
> few of queries slower in prod env when we have many tables, models, cubes and 
> migrate cube often.
> So, we could only clean necessary cache for CubeMigrationCLI.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to