[ https://issues.apache.org/jira/browse/CASSANDRA-14457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16500052#comment-16500052 ]
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: https://issues.apache.org/jira/browse/CASSANDRA-14457 > 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 (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org