You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2013/06/03 18:21:20 UTC
[jira] [Commented] (CASSANDRA-5607) don't 2xsort data directories
if you only have 1 (common case)
[ https://issues.apache.org/jira/browse/CASSANDRA-5607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13673271#comment-13673271 ]
Jonathan Ellis commented on CASSANDRA-5607:
-------------------------------------------
This isn't on a hot-code path so I'd rather leave the code simpler and special-case-free tbh.
> don't 2xsort data directories if you only have 1 (common case)
> --------------------------------------------------------------
>
> Key: CASSANDRA-5607
> URL: https://issues.apache.org/jira/browse/CASSANDRA-5607
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.0
> Reporter: Dave Brosius
> Assignee: Dave Brosius
> Priority: Trivial
> Fix For: 2.0
>
> Attachments: 5607.txt
>
>
> getLocationCapableOfSize() sorts candidate directories by freespace, then again by load, even if there are 0 or 1 candidates.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira