File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -154,6 +154,9 @@ def calc_avg_rr(self, storage_stats):
154154 return avg_rr
155155
156156 def print_index_disk_usage (self , text = "" ):
157+ if self .test_config .gsi_settings .disable_perindex_stats :
158+ return
159+
157160 if text :
158161 logger .info ("{}" .format (text ))
159162
@@ -163,8 +166,7 @@ def print_index_disk_usage(self, text=""):
163166
164167 storage_stats = self .rest .get_index_storage_stats (self .index_nodes [0 ])
165168
166- if not self .test_config .gsi_settings .disable_perindex_stats :
167- logger .info ("Index storage stats:\n {}" .format (storage_stats .text ))
169+ logger .info ("Index storage stats:\n {}" .format (storage_stats .text ))
168170
169171 heap_profile = get_indexer_heap_profile (self .index_nodes [0 ],
170172 self .rest .rest_username ,
You can’t perform that action at this time.
0 commit comments