You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Tajdar Siddiqui (JIRA)" <ji...@apache.org> on 2016/09/23 16:04:20 UTC

[jira] [Created] (KYLIN-2042) QueryController puts entry in Cache w/o checking QueryCacheEnabled

Tajdar Siddiqui created KYLIN-2042:
--------------------------------------

             Summary: QueryController puts entry in Cache w/o checking QueryCacheEnabled
                 Key: KYLIN-2042
                 URL: https://issues.apache.org/jira/browse/KYLIN-2042
             Project: Kylin
          Issue Type: Improvement
          Components: REST Service
            Reporter: Tajdar Siddiqui
            Assignee: Zhong,Jason


org.apache.kylin.rest.controller.QueryController

around line 168

private SQLResponse doQueryWithCache(SQLRequest sqlRequest)


cacheManager.getCache(SUCCESS_QUERY_CACHE).put(new Element(sqlRequest, sqlResponse));

This should be conditional on KylinConfig.getInstanceFromEnv().isQueryCacheEnabled() as well ?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)