@@ -1002,14 +1002,12 @@ def generate_f004_heap_bloat_report(self, cluster: str = "local", node_name: str
10021002total_bloat_size = 0
10031003
10041004for table_data in bloated_tables .values ():
1005- # Skip tables with minimal bloat
1006- if table_data ['bloat_pct' ]>= 10 :# Only report tables with >= 10% bloat
1007- table_data ['real_size_pretty' ]= self .format_bytes (table_data ['real_size' ])
1008- table_data ['extra_size_pretty' ]= self .format_bytes (table_data ['extra_size' ])
1009- table_data ['bloat_size_pretty' ]= self .format_bytes (table_data ['bloat_size' ])
1010-
1011- bloated_tables_list .append (table_data )
1012- total_bloat_size += table_data ['bloat_size' ]
1005+ table_data ['real_size_pretty' ]= self .format_bytes (table_data ['real_size' ])
1006+ table_data ['extra_size_pretty' ]= self .format_bytes (table_data ['extra_size' ])
1007+ table_data ['bloat_size_pretty' ]= self .format_bytes (table_data ['bloat_size' ])
1008+
1009+ bloated_tables_list .append (table_data )
1010+ total_bloat_size += table_data ['bloat_size' ]
10131011
10141012# Sort by bloat percentage descending
10151013bloated_tables_list .sort (key = lambda x :x ['bloat_pct' ],reverse = True )