File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -350,18 +350,6 @@ def response_handler(resp):
350350 raise CollectionStatisticsError (resp , request )
351351
352352 stats = resp .body .get ('figures' , resp .body )
353- for f in ['compactors' , 'datafiles' , 'journals' ]:
354- if f in stats and 'fileSize' in stats [f ]: # pragma: no cover
355- stats [f ]['file_size' ] = stats [f ].pop ('fileSize' )
356- if 'compactionStatus' in stats : # pragma: no cover
357- status = stats .pop ('compactionStatus' )
358- if 'bytesRead' in status :
359- status ['bytes_read' ] = status .pop ('bytesRead' )
360- if 'bytesWritten' in status :
361- status ['bytes_written' ] = status .pop ('bytesWritten' )
362- if 'filesCombined' in status :
363- status ['files_combined' ] = status .pop ('filesCombined' )
364- stats ['compaction_status' ] = status
365353 if 'documentReferences' in stats : # pragma: no cover
366354 stats ['document_refs' ] = stats .pop ('documentReferences' )
367355 if 'lastTick' in stats : # pragma: no cover
You can’t perform that action at this time.
0 commit comments