[ https://issues.apache.org/jira/browse/KYLIN-3400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16507221#comment-16507221 ]
liyang edited comment on KYLIN-3400 at 6/10/18 1:05 AM: -------------------------------------------------------- This seems introduced by commit: [https://github.com/apache/kylin/commit/a88403ae0050f6b1b2f903534f2330f03996603c] Reverting the related lines in the commit is a fix candidate. {{ public ProjectInstance reloadProjectQuietly(String project) throws IOException {}} {{ try (AutoLock lock = prjMapLock.lockForWrite()) {}} {{ ProjectInstance prj = crud.reloadQuietly(project);}} {{- clearL2Cache();}} {{+ reloadProjectL2Cache(project);}} {{ return prj;}} \{{ } }} \{{ } }} was (Author: liyang.g...@gmail.com): This seems introduced by commit: [https://github.com/apache/kylin/commit/a88403ae0050f6b1b2f903534f2330f03996603c] Reverting the related lines in the commit is a fix candidate. {{ public ProjectInstance reloadProjectQuietly(String project) throws IOException {}} {{ try (AutoLock lock = prjMapLock.lockForWrite()) {}} {{ ProjectInstance prj = crud.reloadQuietly(project);}} {{- clearL2Cache();}} {{+ reloadProjectL2Cache(project);}} {{ return prj;}} {{ }}} {{ }}} > wipeCache and createCubeDesc make deadlock happenning > ------------------------------------------------------ > > Key: KYLIN-3400 > URL: https://issues.apache.org/jira/browse/KYLIN-3400 > Project: Kylin > Issue Type: Bug > Components: REST Service > Affects Versions: v2.3.0 > Reporter: powerinf > Priority: Major > Attachments: kylin_deadlock.log > > > When using the rest API create cube , deadlock occasionally appears,the > kylin web ui hang,and cound not login ,See the [^kylin_deadlock.log] -- This message was sent by Atlassian JIRA (v7.6.3#76005)