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

ASF subversion and git services commented on KYLIN-5845:
--------------------------------------------------------

Commit 0bbb74ee794beb17a8a501f5df5dfcc421bfd2a1 in kylin's branch 
refs/heads/kylin5 from Pengfei Zhan
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=0bbb74ee79 ]

KYLIN-5845 Avoid model initialization for multi-thread


> Updating the model metadata when getting the model list with high concurrency 
> may cause the model metadata cache to be abnormal and the model status to 
> become broken
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KYLIN-5845
>                 URL: https://issues.apache.org/jira/browse/KYLIN-5845
>             Project: Kylin
>          Issue Type: Bug
>          Components: Metadata
>    Affects Versions: 5.0-beta
>            Reporter: Zhimin Wu
>            Assignee: Zhimin Wu
>            Priority: Major
>             Fix For: 5.0.0
>
>
> Fix the issue caused by concurrent initialization by checking if the model 
> has already been initialized. If so, skip the initialization step. Otherwise, 
> perform a copy operation first and then initialize the model to avoid 
> concurrent initialization problems.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to