[SERVER-26110] Report # of collections and views in mongoS aggregated dbstats Created: 14/Sep/16  Updated: 06/Dec/22  Resolved: 21/Jun/19

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

Type: Improvement Priority: Major - P3
Reporter: James Wahlin Assignee: [DO NOT USE] Backlog - Sharding Team
Resolution: Won't Fix Votes: 0
Labels: todo_in_code
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-25948 dbStats should indicate number of views Closed
Related
related to SERVER-43427 Complete TODO listed in SERVER-26110 Closed
Assigned Teams:
Sharding
Participants:

 Description   

dbstats when run against mongoS will omit aggregated "collections" & "views" stats. These should be added.

Suggest adding an additional flag "isPrimaryShard" to mongoD stats. mongoS could then limit the # reported to only include primary shard count, avoiding double counting or inclusion of collections/views created directly on the non-primary shard.



 Comments   
Comment by Githook User [ 20/Apr/20 ]

Author:

{'name': 'Blake Oler', 'email': 'blake.oler@mongodb.com', 'username': 'BlakeIsBlake'}

Message: SERVER-43427 Remove TODO listed for SERVER-26110 (closed as Won't Fix)
Branch: master
https://github.com/mongodb/mongo/commit/cd5543391366d5344aeea2fc0f3a3a319728bd9b

Comment by James Wahlin [ 14/Sep/16 ]

A "views" mongoD dbstat metric will be available on delivery of SERVER-25948.

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