From cac826b8daedb50591eda7479d759ca629df9de4 Mon Sep 17 00:00:00 2001 From: Andrew Aldridge Date: Wed, 15 Oct 2014 18:01:47 -0400 Subject: [PATCH] DOCS-4107: serverStatus storage.freelist.search docs --- .../example-server-status-projection.rst | 2 +- source/reference/command/serverStatus.txt | 19 ++++++++++++++++++- source/reference/server-status.txt | 9 +++++++++ 3 files changed, 28 insertions(+), 2 deletions(-) diff --git a/source/includes/example-server-status-projection.rst b/source/includes/example-server-status-projection.rst index 25fd42fa40b..39e1f9ed2ae 100644 --- a/source/includes/example-server-status-projection.rst +++ b/source/includes/example-server-status-projection.rst @@ -1,5 +1,5 @@ |operation-name| includes all fields by default, except -:data:`~serverStatus.workingSet`, by default. +:data:`~serverStatus.workingSet`. .. note:: diff --git a/source/reference/command/serverStatus.txt b/source/reference/command/serverStatus.txt index de77e80e36d..1ada6a516bd 100644 --- a/source/reference/command/serverStatus.txt +++ b/source/reference/command/serverStatus.txt @@ -35,7 +35,7 @@ Definition .. |operation-name| replace:: :dbcommand:`serverStatus` .. include:: /includes/example-server-status-projection.rst - .. seealso:: :method:`db.serverStatus()` and :doc:`/reference/server-status` + .. seealso:: :method:`db.serverStatus()` .. When adding status fields to this document, make sure that the ``docs/source/reference/server-status.txt`` document also @@ -1639,6 +1639,23 @@ page. reports the total amount of time spent loading index entries as part of the *pre-fetch* stage of replication. +.. data:: serverStatus.storage.freelist.search.bucketExhausted + + :data:`~serverStatus.storage.freelist.search.bucketExhausted` reports the + number of times that :program:`mongod` has checked the free list without finding + a suitably large record allocation. + +.. data:: serverStatus.storage.freelist.search.requests + + :data:`~serverStatus.storage.freelist.search.requests` reports the + number of times :program:`mongod` has searched for available record + allocations. + +.. data:: serverStatus.storage.freelist.search.scanned + + :data:`~serverStatus.storage.freelist.search.scanned` reports the number of + available record allocations :program:`mongod` has searched. + .. data:: serverStatus.metrics.ttl :data:`~serverStatus.metrics.ttl` is a sub-document that reports on diff --git a/source/reference/server-status.txt b/source/reference/server-status.txt index 81a58497eb1..490e02ef532 100644 --- a/source/reference/server-status.txt +++ b/source/reference/server-status.txt @@ -446,6 +446,15 @@ workload of a :program:`mongod` instance. } } }, + "storage" : { + "freelist" : { + "search" : { + "bucketExhausted" : , + "requests" : , + "scanned" : + } + } + }, "ttl" : { "deletedDocuments" : NumberLong(), "passes" : NumberLong()