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 2012/05/15 23:13:09 UTC
[jira] [Commented] (CASSANDRA-1404) Improve pre-cleanup estimate of
disk space required
[ https://issues.apache.org/jira/browse/CASSANDRA-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13276218#comment-13276218 ]
Jonathan Ellis commented on CASSANDRA-1404:
-------------------------------------------
I think this makes the {{ / 2}} guess obsolete?
> Improve pre-cleanup estimate of disk space required
> ---------------------------------------------------
>
> Key: CASSANDRA-1404
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1404
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Reporter: Stu Hood
> Assignee: Yuki Morishita
> Priority: Minor
> Fix For: 1.1.1
>
> Attachments: 1404-1.1.txt
>
>
> Compaction sums the sizes of all ranges to estimate the output size in order to pick a target drive. Anti-compactions directly drop ranges from sstables, and the volume of data dropped can easily be calculated using the SSTable index. Using this knowledge in our estimate in ColumnFamilyStore.getExpectedCompactedFileSize would allow 'nodetool cleanup' to run when less than 50% of disk is available, in the case where ranges are being dropped (post node-move).
--
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