[
https://issues.apache.org/jira/browse/CASSANDRA-4313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yuki Morishita resolved CASSANDRA-4313.
---------------------------------------
Resolution: Fixed
Reviewer: slebresne
Committed to trunk only, 1.1 is not affected.
Thanks for the review!
> 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:
> {code}
> if (caching != Caching.NONE || caching != Caching.ROWS_ONLY)
> CacheService.instance.keyCache.loadSaved(this);
> {code}
> should be
> {code}
> if (caching == Caching.ALL || caching == Caching.KEYS_ONLY)
> {code}
--
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