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)

Reply via email to