[jira] [Comment Edited] (CASSANDRA-14457) Add a virtual table with current compactions
[ https://issues.apache.org/jira/browse/CASSANDRA-14457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16501794#comment-16501794 ] Aleksey Yeschenko edited comment on CASSANDRA-14457 at 6/5/18 2:24 PM: --- Committed to trunk as [2a2ee006302a086ff054eac52161209a3118bb7c|https://github.com/apache/cassandra/commit/2a2ee006302a086ff054eac52161209a3118bb7c], thanks. Made some minor tweaks on commit: - Use the correct {{Optional.ofNullable()}} rather than {{Optional.of()}} in {{getKeyspace()}} and {{getTable()}} - Fix {{asMap()}} to properly handle empty {{Optional}} s so it doesn't throw - Made nodetool {{CompactionStats}} use {{CompactionInfo}} constants that we have now to access the map - Hid dealing with {{Holder}} in {{CompactionMetrics}} In an unrelated note: why, why on Earth is {{CompactionMetrics}} the place that is the authorative source of all running compactions? And all that stored in a static synchronised identity set? Has nobody been bothered by this since 2012? was (Author: iamaleksey): Committed to trunk as [899f7c41935d92f15bc17a33f36443030616c8eb|https://github.com/apache/cassandra/commit/899f7c41935d92f15bc17a33f36443030616c8eb], thanks. Made some minor tweaks on commit: - Use the correct {{Optional.ofNullable()}} rather than {{Optional.of()}} in {{getKeyspace()}} and {{getTable()}} - Fix {{asMap()}} to properly handle empty {{Optional}} s so it doesn't throw - Made nodetool {{CompactionStats}} use {{CompactionInfo}} constants that we have now to access the map - Hid dealing with {{Holder}} in {{CompactionMetrics}} In an unrelated note: why, why on Earth is {{CompactionMetrics}} the place that is the authorative source of all running compactions? And all that stored in a static synchronised identity set? Has nobody been bothered by this since 2012? > 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.0 > > -- 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
[jira] [Comment Edited] (CASSANDRA-14457) Add a virtual table with current compactions
[ https://issues.apache.org/jira/browse/CASSANDRA-14457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16501794#comment-16501794 ] Aleksey Yeschenko edited comment on CASSANDRA-14457 at 6/5/18 1:41 PM: --- Committed to trunk as [899f7c41935d92f15bc17a33f36443030616c8eb|https://github.com/apache/cassandra/commit/899f7c41935d92f15bc17a33f36443030616c8eb], thanks. Made some minor tweaks on commit: - Use the correct {{Optional.ofNullable()}} rather than {{Optional.of()}} in {{getKeyspace()}} and {{getTable()}} - Fix {{asMap()}} to properly handle empty {{Optional}} s so it doesn't throw - Made nodetool {{CompactionStats}} use {{CompactionInfo}} constants that we have now to access the map - Hid dealing with {{Holder}} in {{CompactionMetrics}} In an unrelated note: why, why on Earth is {{CompactionMetrics}} the place that is the authorative source of all running compactions? And all that stored in a static synchronised identity set? Has nobody been bothered by this since 2012? was (Author: iamaleksey): Committed to trunk as [899f7c41935d92f15bc17a33f36443030616c8eb|https://github.com/apache/cassandra/commit/899f7c41935d92f15bc17a33f36443030616c8eb], thanks. Made some minor tweaks on commit: - Use the correct {{Optional.ofNullable()}} rather than {{Optional.of()}} in {{getKeyspace()}} and {{getTable()}} - Fix {{asMap()}} to properly handle empty {{Optional}}s so it doesn't throw - Made nodetool {{CompactionStats}} use {{CompactionInfo}} constants that we have now to access the map - Hid dealing with {{Holder}} in {{CompactionMetrics}} In an unrelated note: why, why on Earth is {{CompactionMetrics}} the place that is the authorative source of all running compactions? And all that stored in a static synchronised identity set? Has nobody been bothered by this since 2012? > 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.0 > > -- 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