Skip to content

Commit

Permalink
Fix sstable_count metric missing from tablestats json/yaml output
Browse files Browse the repository at this point in the history
patch by Andrés de la Peña; reviewed by Brandon Williams and Ekaterina Dimitrova for CASSANDRA-18448
  • Loading branch information
adelapena committed Apr 17, 2023
1 parent 83dd275 commit 08b9471
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.txt
@@ -1,4 +1,5 @@
3.11.15
* Fix sstable_count metric missing from tablestats json/yaml output (CASSANDRA-18448)
* Suppress CVE-2022-45688 (CASSANDRA-18389)
* Fix Splitter sometimes creating more splits than requested (CASSANDRA-18013)
Merged from 3.0:
Expand Down
Expand Up @@ -64,6 +64,7 @@ public Map<String, Object> convert2Map()
{
Map<String, Object> mpTable = new HashMap<>();

mpTable.put("sstable_count", table.sstableCount);
mpTable.put("sstables_in_each_level", table.sstablesInEachLevel);
mpTable.put("space_used_live", table.spaceUsedLive);
mpTable.put("space_used_total", table.spaceUsedTotal);
Expand Down

0 comments on commit 08b9471

Please sign in to comment.