[SERVER-10996] Support field suppression on db.serverStatus() for 2.2.x Created: 02/Oct/13  Updated: 10/Dec/14  Resolved: 02/Oct/13

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

Type: Task Priority: Major - P3
Reporter: Cailin Nelson Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

If a mongod instance is building an index (on any database) then a db.serverStatus() call will not return until the index creation is complete.

On 2.4.x this can be mitigated by doing

db.serverStatus({recordStats:false})  

instead.

However, this workaround does not work for 2.2.x because field suppression is not supported for the db.serverStatus() call.



 Comments   
Comment by Eliot Horowitz (Inactive) [ 02/Oct/13 ]

Even if we changed it, the number of users who would upgrade are super small.

If someone is going to upgrade, better they go to 2.4

So don't think its worth possible instability to make this change.

Generated at Thu Feb 08 03:24:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.