You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Shao Feng Shi (Jira)" <ji...@apache.org> on 2020/02/28 13:41:00 UTC

[jira] [Closed] (KYLIN-4230) 使用的过程中会导致死锁的情况

     [ https://issues.apache.org/jira/browse/KYLIN-4230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shao Feng Shi closed KYLIN-4230.
--------------------------------
    Resolution: Incomplete

> 使用的过程中会导致死锁的情况
> --------------
>
>                 Key: KYLIN-4230
>                 URL: https://issues.apache.org/jira/browse/KYLIN-4230
>             Project: Kylin
>          Issue Type: Bug
>          Components: Metadata
>    Affects Versions: v2.3.1
>         Environment: kylin-2.3.1,centos 7
>            Reporter: 谢沛辰
>            Priority: Major
>         Attachments: lock.log
>
>
> 创建模型后,立马创建立方体会导致死锁。
> 查看代码发现创建立方体会锁住cube,然后请求project的锁。而模型创建成功会去更新project缓存,这个会先锁住project,后期拿立方体信息,会去请求cube的锁。这样在一定情况下会导致资源竞争,最后导致整个系统阻塞的情况。



--
This message was sent by Atlassian Jira
(v8.3.4#803005)