You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2012/06/06 19:48:23 UTC

[jira] [Commented] (CASSANDRA-4313) CFS always try to load key cache

    [ https://issues.apache.org/jira/browse/CASSANDRA-4313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13290295#comment-13290295 ] 

Sylvain Lebresne commented on CASSANDRA-4313:
---------------------------------------------

+1

Does that affect 1.1? If so, we should commit there too.
                
> 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