Yuki Morishita created CASSANDRA-4313:
-----------------------------------------

             Summary: CFS always try to load key cache
                 Key: CASSANDRA-4313
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4313
             Project: Cassandra
          Issue Type: Bug
    Affects Versions: 1.2
            Reporter: Yuki Morishita
            Assignee: Yuki Morishita
            Priority: Trivial
             Fix For: 1.2
         Attachments: 4313.txt

Inside constructor, below condition is always evaluated to true:

if (caching != Caching.NONE || caching != Caching.ROWS_ONLY)
    CacheService.instance.keyCache.loadSaved(this);

should be

 if (caching == Caching.ALL || caching == Caching.KEYS_ONLY)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to