[SERVER-60514] Remove outdated metrics from serverStatus Created: 06/Oct/21  Updated: 29/Oct/23  Resolved: 02/Dec/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.2.0

Type: Bug Priority: Major - P3
Reporter: Kevin Adistambha Assignee: Shin Yee Tan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2021-12-13
Participants:

 Description   

The metric record.moves is an MMAPv1-specific metrics that is not relevant anymore due to MMAPv1's removal. However this metric still appears in the serverStatus output, and the documentation still mention this metric without any explanation.

This has caused some confusion in the community, and since it's unused, probably should be removed.



 Comments   
Comment by Githook User [ 02/Dec/21 ]

Author:

{'name': 'Shin Yee Tan', 'email': 'shinyee.tan@mongodb.com', 'username': 'shinyeet'}

Message: SERVER-60514 Remove outdated metric record.moves from serverStatus
Branch: master
https://github.com/mongodb/mongo/commit/5813a04bc7a89d1b81e48265c92df665c7930673

Comment by Githook User [ 02/Dec/21 ]

Author:

{'name': 'Shin Yee Tan', 'email': 'shinyee.tan@mongodb.com', 'username': 'shinyeet'}

Message: SERVER-60514 Remove outdated metrics from serverStatus
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/20b1205777983f7cbb564b8f77405e94a91b55f2

Comment by Bruce Lucas (Inactive) [ 12/Oct/21 ]

connie.chen sounds good to me, thanks for checking.

Comment by Connie Chen [ 12/Oct/21 ]

bruce.lucas - Are you ok with removing these MMAPv1-specific metrics from serverStatus?

Comment by Eric Sedor [ 11/Oct/21 ]

I'll pass this to storage execution to consider first. I think it's the case that even if another storage engine were to involve and report document moves, we would expect that to be reported within the storage engine's section of serverStatus. Is that right?

Generated at Thu Feb 08 05:49:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.