Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-4230

使用的过程中会导致死锁的情况

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • v2.3.1
    • None
    • Metadata
    • None
    • kylin-2.3.1,centos 7

    Description

      创建模型后,立马创建立方体会导致死锁。

      查看代码发现创建立方体会锁住cube,然后请求project的锁。而模型创建成功会去更新project缓存,这个会先锁住project,后期拿立方体信息,会去请求cube的锁。这样在一定情况下会导致资源竞争,最后导致整个系统阻塞的情况。

      Attachments

        1. lock.log
          658 kB
          谢沛辰

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            x_pc 谢沛辰
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment