cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-14457) Add a virtual table with current compactions
Date Mon, 04 Jun 2018 10:52:00 GMT


Aleksey Yeschenko commented on CASSANDRA-14457:

Just noticed that we are doing some unnecessary conversions, followed by reversals here. Which
isn't a big deal, but feels a little bit silly: {{CompactionManager.getCompactions()}} conversts
{{CompactionInfo}} objects to maps of strings to strings, then we convert those strings back
to proper types in {{CompactionsTable}}.

What would be better is if {{CompactionManager}} had a method that would return a collection
or just an iterable of {{CompactionInfo}} objects that we could work with directly, without
a redundant ser-deser cycle.

> Add a virtual table with current compactions
> --------------------------------------------
>                 Key: CASSANDRA-14457
>                 URL:
>             Project: Cassandra
>          Issue Type: New Feature
>            Reporter: Chris Lohfink
>            Assignee: Chris Lohfink
>            Priority: Minor
>             Fix For: 4.x

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message