cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CASSANDRA-1963) Allow user to specify files to compact through JMX
Date Tue, 11 Jan 2011 14:40:46 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-1963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Ellis updated CASSANDRA-1963:
--------------------------------------

    Attachment: 1963-v2.txt

some cleanup in v2.

is there a reason for using endswith in 

            if (sstable.descriptor.toString().endsWith(descriptor.toString()))

?

Seems like .equals would be more appropriate, possibly case-insensitive.

> Allow user to specify files to compact through JMX 
> ---------------------------------------------------
>
>                 Key: CASSANDRA-1963
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1963
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: API
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>             Fix For: 0.7.1
>
>         Attachments: 0001-Allow-submitting-compaction-of-user-defined-files.patch, 1963-v2.txt
>
>   Original Estimate: 2h
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> When you don't have enough space to perform a major compaction but know there
> would be space to reclaim, the actual algorithm (discard the biggest sstables
> one by one until it fits) may not be helpful.
> This is even more true now that minor compaction can remove tombstone and more
> importantly with expiring columns (for which the compaction of a single
> sstable can make sense).
> This ticket proposes to expose a simple function through JMX to allow the
> submission of a compaction on user-specified sstables.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message