Scott Carey created CASSANDRA-16772:
---------------------------------------
Summary: User Defined nodetool cleanup only processes one SSTable
per table
Key: CASSANDRA-16772
URL: https://issues.apache.org/jira/browse/CASSANDRA-16772
Project: Cassandra
Issue Type: Bug
Reporter: Scott Carey
Assignee: Scott Carey
User defined nodetool cleanup uses a HashMap instead of a MultiMap to group the
user provided SSTables by table. This means it only keeps one file per source
table.
It also means the unit test for this component is not sufficient.
As part of https://issues.apache.org/jira/browse/CASSANDRA-16767 I introduced
a helper method on Descriptor:
{code:java}
public static Multimap<ColumnFamilyStore, Descriptor>
fromFilenamesGrouped(Collection<String> filenames) {code}
That should be used instead of the custom logic in
CompactionManager.forceUserDefinedCleanup
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]