cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <>
Subject [jira] Commented: (CASSANDRA-1963) Allow user to specify files to compact through JMX
Date Tue, 11 Jan 2011 14:52:49 GMT


Sylvain Lebresne commented on CASSANDRA-1963:

.equals() with no other changes won't work because in sstable.descriptor, the directory is
an absolute path.
We could construct descriptor with an absolute path too but I haven't found any satisfying
way to do that 
(DB.getDataFileLocationForTable() may not return the right path if you have multiple volumes).
Hence the 

> Allow user to specify files to compact through JMX 
> ---------------------------------------------------
>                 Key: CASSANDRA-1963
>                 URL:
>             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.

View raw message