[SERVER-32002] serverStatus network.compression.*.{compressed,decompressed}.{bytesIn,bytesOut} names are misleading Created: 16/Nov/17  Updated: 30/Oct/23  Resolved: 20/Nov/17

Status: Closed
Project: Core Server
Component/s: Diagnostics, Networking
Affects Version/s: 3.4.0
Fix Version/s: 3.6.0-rc5, 3.7.1

Type: Bug Priority: Major - P3
Reporter: Bruce Lucas (Inactive) Assignee: Bruce Lucas (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
is related to DOCS-9471 Docs for SERVER-25466: Add server sta... Closed
Backwards Compatibility: Minor Change
Backport Requested:
v3.6
Participants:

 Description   

The "compressed" and "decompressed" parts of the names are misleading as the bytes referred to are not necessarily, as the names imply, compressed or decompressed bytes, i.e.:

network.compression.snappy.compressed.bytesIn     *** these bytes are not in fact compressed ***
network.compression.snappy.compressed.bytesOut
network.compression.snappy.decompressed.bytesIn   *** these bytes are not in fact decompressed ***
network.compression.snappy.decompressed.bytesOut

This is because these are actually bytes input to and output from the compressor or decompressor, not compressed or decompressed bytes, so it would make sense for the names of the sections to be "compressor" and "decompressor", i.e. change the above names to

network.compression.snappy.compressor.bytesIn
network.compression.snappy.compressor.bytesOut
network.compression.snappy.decompressor.bytesIn
network.compression.snappy.decompressor.bytesOut



 Comments   
Comment by Githook User [ 21/Nov/17 ]

Author:

{'name': 'Bruce Lucas', 'email': 'bruce.lucas@mongodb.com'}

Message: SERVER-32002 rename serverStatus "compressed" section to "compressor"

(cherry picked from commit cc91db020cd02b077aa77be08d23ea506bf20416)
Branch: v3.6
https://github.com/mongodb/mongo/commit/1d5b243cc283aaee884f1032d068b1e3e05c396f

Comment by Githook User [ 20/Nov/17 ]

Author:

{'name': 'Bruce Lucas', 'email': 'bruce.lucas@mongodb.com'}

Message: SERVER-32002 rename serverStatus "compressed" section to "compressor"
Branch: master
https://github.com/mongodb/mongo/commit/cc91db020cd02b077aa77be08d23ea506bf20416

Generated at Thu Feb 08 04:28:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.