[
https://issues.apache.org/jira/browse/KYLIN-5863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17865949#comment-17865949
]
ASF subversion and git services commented on KYLIN-5863:
--------------------------------------------------------
Commit 098862e0b9d9eb3bd89a5d7d12f927a6ae2c5efe in kylin's branch
refs/heads/kylin5 from Hongrong Cao 曹鸿荣
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=098862e0b9 ]
KYLIN-5863 Fix query bug caused by concurrent model deletions
> 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)