summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/cluster_db_stats_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/commands/cluster_db_stats_cmd.cpp')
-rw-r--r--src/mongo/s/commands/cluster_db_stats_cmd.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/s/commands/cluster_db_stats_cmd.cpp b/src/mongo/s/commands/cluster_db_stats_cmd.cpp
index 4661cac2b7b..1546fe4482e 100644
--- a/src/mongo/s/commands/cluster_db_stats_cmd.cpp
+++ b/src/mongo/s/commands/cluster_db_stats_cmd.cpp
@@ -83,8 +83,7 @@ public:
}
}
- // TODO: need to find a good way to get this
- // result.appendNumber( "collections" , ncollections );
+ // TODO SERVER-26110: Add aggregated 'collections' and 'views' metrics.
output.appendNumber("objects", objects);
// avgObjSize on mongod is not scaled based on the argument to db.stats(), so we use