[ https://issues.apache.org/jira/browse/KYLIN-2780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Billy Liu resolved KYLIN-2780. ------------------------------ Resolution: Duplicate Fix Version/s: v2.1.0 > QueryController.getMetadata and CacheController.wipeCache may be deadlock > ------------------------------------------------------------------------- > > Key: KYLIN-2780 > URL: https://issues.apache.org/jira/browse/KYLIN-2780 > Project: Kylin > Issue Type: Bug > Components: Query Engine > Affects Versions: v1.5.4.1, v2.0.0 > Reporter: Fangyuan Deng > Assignee: liyang > Fix For: v2.1.0 > > Attachments: jstack.log, KYLIN-2780.0.patch > > > When we send update metadata request to the query sever manually, > while some getMetadata requests come, > deadlock may happen. > The jstack log is listed below. > and we add a double check in Broadcaster.getInstance to prevent lock each > time. > public static Broadcaster getInstance(KylinConfig config) { > Broadcaster r = CACHE.get(config); > if (r != null) { > return r; > } > synchronized (CACHE) { > r = CACHE.get(config); > if (r != null) { > return r; > } -- This message was sent by Atlassian JIRA (v6.4.14#64029)