[
https://issues.apache.org/jira/browse/KYLIN-5863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
liyang closed KYLIN-5863.
-------------------------
> Concurrent model deletions cause abnormal query result
> ------------------------------------------------------
>
> Key: KYLIN-5863
> URL: https://issues.apache.org/jira/browse/KYLIN-5863
> Project: Kylin
> Issue Type: Bug
> Components: Modeling, Query Engine
> Affects Versions: 5.0-alpha
> Reporter: pengfei.zhan
> Assignee: pengfei.zhan
> Priority: Major
> Fix For: 5.0.0
>
> Attachments: 42536.1.png, 42536.2.png
>
>
> Concurrent model deletions will throw NPE by the API
> /kylin/api/tables/project_tables.
> 4fa383f6-6231-85af-227a-62580883c72f /kylin/api/tables/project_tables This
> request comes in and fetches the list of models once, which contains the AUTO
> _ MODEL_V_PDR_F_CUST_ in the second red box.
> BAL_SUM_1C253CDC6D0145DE907A8B47DF592DC6_84, when the request /project_tables
> execution to the third red box of the getStorageSize method, and at this time
> the model has been deleted, but previously obtained the model list contains
> the model, so at this time the data is null. The data retrieved is null, and
> a null popup appears on the interface.
> !42536.1.png|width=1030,height=384!!42536.2.png|width=1027,height=330!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)