Skip to content

Commit 31837b9

Browse files
committed
Remove MMFiles only statistics keys
1 parent 8750ef7 commit 31837b9

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

arango/collection.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)