[SERVER-35560] Maybe mark MMAPv1 SNMP metrics as deprecated Created: 12/Jun/18  Updated: 27/Oct/23  Resolved: 31/Aug/20

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

Type: Bug Priority: Minor - P4
Reporter: Geert Bosch Assignee: Backlog - Security Team
Resolution: Gone away Votes: 0
Labels: move-sa, neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Server Security
Operating System: ALL
Participants:

 Description   

Assuming we are not removing the mongod SNMP interface for 4.2, we may want to mark the (MMAPv1) metrics that set _backgroundFlushingOnly or _journalOnly as deprecated. Even
if we aren't removing, deprecation is not required to allow for user to request stats and for our tests to pass. It would only be there for to add clarity.

To deprecate metrics you can:

  1. Add the "DEPRECATED" tag to each metric that sets one or both of the above to true
  2. For each of those metrics, change the corresponding "STATUS" tag in docs/MONGOD-MIB.txt to "deprecated".


 Comments   
Comment by Geert Bosch [ 29/Jul/19 ]

Per discussion with spencer.jackson, the execution team does not have people familiar with snmp.cpp or how to test/evaluate changes made there. That combined with the low priority of cleaning up unused MMAPv1 related code makes it that this ticket will not get done. Instead it probably should live on the backlog-server-devtools backlog until the next time changes/improvements to SNMP are scheduled as it should be straightforward to cleanup then and until then there is not much harm in letting the current code live on.

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