[DOCS-7159] tcmalloc serverStatus section Created: 13/Feb/16  Updated: 30/Oct/23  Resolved: 21/Nov/22

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

Type: Task Priority: Major - P3
Reporter: Kay Kim (Inactive) Assignee: David Hou
Resolution: Done Votes: 0
Labels: reopened
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-23409 Add tunability to tcmalloc serverStat... Closed
Participants:
Days since reply: 1 year, 8 weeks, 2 days ago
Story Points: 1

 Description   

in 3.2, changed to be included in serverStatus results by default.
in 3.0, must explicitly include in serverStatus



 Comments   
Comment by Githook User [ 12/Dec/22 ]

Author:

{'name': 'Kenneth P. J. Dyer', 'email': '93145796+kennethdyer@users.noreply.github.com', 'username': 'kennethdyer'}

Message: DOCSP-25509 $shardedDataDistribution (#2150)

  • DOCSP-25509 Stubs aggregation stage reference
  • DOCSP-25509 Fix build
  • DOCSP-25509 Aggregation stage reference
  • DOCSP-25509 Adds sidebar to Agg Pipeline page
  • DOCSP-25509 Adds privilege
  • DOCSP-25509 Adds privilege note to agg stage reference
  • Adds release note
  • Typo
  • Fixes build issue
  • Fixes per Joe
  • Fixes per Joe
  • DOCSP-26245 update mongocrypt version (#2139)
  • updated mongocrypt version
  • revert autoformatting
  • Update pull_request_template.md
  • DOCSP-25224 EOL Version Cleanup of mongosh Methods (#1901)
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 redirects
  • DOCSP-25224 Updates redirects, removes copyDatabase and cloneDatabase as deprecated
  • DOCSP-25224 Update for build
  • DOCSP-25224 Update for build
  • DOCSP-25224 Fixes build errors
  • DOCSP-25224 Fixes per Jocelyn
  • DOCSP-25224 Fixes per Jocelyn
  • DOCSP-25224 Fixes per Jocelyn
  • DOCSP-25224 Fixes per Jocelyn
  • DOCSP-25224 Fixes per Jocelyn
  • DOCSP-25890 adds page-level refs to pages under tutorial/ that have doc directives pointing to them (#2063)
  • DOCS-15521 sh.status.partitioned not valid (#2050)
  • Review Feedback
  • Review feedback
  • DOCSP-25339 (#2026)
  • add api docs for rewrapmanydatakeys methods
  • move to shared include
  • broken links
  • update product names, add as constants
  • (DOCSP-24983) QE Server Side Schema Behavior (#2018)
  • wip
  • Trigger Build
  • proofread, spell-check, grammar-check
  • js - suggestion

Co-authored-by: Jordan Smith <45415425+jordan-smith721@users.noreply.github.com>

Co-authored-by: Jordan Smith <45415425+jordan-smith721@users.noreply.github.com>

  • (DOCSP-24820) libmongocrypt install fix (#2071)
  • libmongocryptdev
  • update qe libmongocrypt page
  • proofread
  • (DOCS-15399): 6.1 retryable writes errors (#2066)
  • wording
  • wording and minimalism
  • fix include name
  • edits
  • add clarity
  • reorder phrases
  • minimalism
  • minimalism, formatting
  • review edits
  • updates per review
  • wording
  • final review edits
  • minimalism
  • DOCSP-26150 Replace :doc: with :method: / :command: where possible (#2074)
  • Date()
  • internal review feedback
  • internal review feedback
  • internal review
  • DOCS-15411 commit quorum v write concern (#2009)
  • Staging fixes
  • Staging fixes
  • Review feedback
  • Staging fixes
  • Review Feedback
  • Review Feedback
  • Review feedback
  • Review feedback
  • Staging fixes
  • Review feedback
  • Review feedback
  • Commit feedback
  • DOCSP-25986 improve style of limitations page (#2047)
  • DOCSP-25986 timeseries limitations restyling
  • DOCSP-25986 timeseries limitations restyling
  • Review Feedback
  • Staging fixes
  • Merge feedback
  • (DOCSP-24856) (#2083)
  • update qe tut
  • update qe tuts
  • update csfle tuts
  • remove output from tuts that do not produce this output
  • remove output from code block that does not produce output
  • add deleted back in
  • DOCSP-26183 replaces :doc: with improved admonitions (#2080)
  • DOCSP-26204 update instances of :doc: pointing to core/index-text with :ref: (#2087)
  • DOCSP-26204 update instances of :doc: pointing to core/index-text with :ref:
  • internal review feedback
  • DOCSP-15109 Resume Token Expansion (#2049)
  • DOCSP-15109 Updates _id token
  • DOCSP-15109 Updates token sources
  • DOCSP-15109 Updates token sources
  • DOCSP-15109 Refactors resume token text
  • DOCSP-15109 Refactors resume token text
  • DOCSP-15109 Fixes code block
  • DOCSP-15109 Fixes code block
  • DOCSP-15109 Fixes per Dave
  • DOCSP-15109 Fixes per Dave
  • DOCSP-15109 Fixes per Dave
  • DOCSP-15109 Fixes per Dave
  • DOCSP-15109 Fixes build error
  • DOCSP-15109 Fixes build error
  • DOCSP-15109 Fixes build error
  • DOCSP-15109 Fixes per Valentin
  • (DOCS-15063): Change to balancerCollectionStatus output (#2085)
  • (DOCS-15063): Update balancerCollectionStatus command page
  • more updates
  • edits
  • small edits
  • tweak
  • wording
  • add details per tech review
  • formatting - note
  • DOCSP-26224 replace docs directives pointing to transactions (#2090)
  • DOCSP-26224 replace docs directives pointing to transactions
  • internal review feedback
  • DOCSP-26193 replaces 2d and 2dsphere index doc admonitions (#2082)
  • DOCSP-26193 replaces 2d and 2dsphere index doc admonitions
  • internal review feedback
  • DOCSP-26256 replaces views-related doc directives (#2092)
  • DOCSP-26275 replaces write-related doc directives (#2094)

Co-authored-by: jason-price-mongodb <jshfjghsdfgjsdjh@aolsdjfhkjsdhfkjsdf.com>

  • DOCSP-26288 replaces auditing-related doc directives (#2102)
  • DOCSP-26288 replaces auditing-realted doc directives
  • internal review feedback
  • internal review feedback
  • (DOCSP-26124): Add new fill example (#2106)
  • (DOCSP-26124): Add new fill example
  • wording
  • wording
  • add clarification for values of zero
  • add note title
  • tweaks
  • internal review edits
  • fix output order
  • fix toc heading
  • wording
  • (DOCSP-22423): Clarify startup instructions for redactClientLogData (#2101)
  • Clarify startup instructions for redactClientLogData
  • copy review feedback
  • final fixes
  • DOCPS-26298 updates BSON-related doc directives (#2105)
  • DOCPS-26298 updates BSON-related doc directives
  • internal review feedback
  • internal review feedback
  • update python qe apps from testing with solutions architect (#1887)
  • DOCSP-26321 updates collation-related doc directives (#2112)
  • (DOCSP-26328): Migrate changelog script from Python 2 to Python 3 (#2116)
  • (DOCSP-26328): Migrate changelog script from Python 2 to Python 3 (#2113)
  • update Makefile command and requirements filename (#2114)
  • (DOCS-15722): 4.4.18 initial changelog and changelog script fixes (#2117)
  • fix bug with changelog output
  • refactoring
  • regenerate 4.4.18 changelog
  • fix typo
  • DOCSP-26358 replaces agg pipline doc directives (#2120)
  • DOCS-15516 Time series range outside 1970-2038 behavior (#2119)
  • Add a missing named reference definition in 5.1-compatibility (#2115)
  • DOCSP-25224 version cleanup in Method Reference

Co-authored-by: jmd-mongo <73852296+jmd-mongo@users.noreply.github.com>
Co-authored-by: Dave Cuthbert <69165704+davemungo@users.noreply.github.com>
Co-authored-by: Aleksander Binion <77393289+biniona-mongodb@users.noreply.github.com>
Co-authored-by: Jordan Smith <45415425+jordan-smith721@users.noreply.github.com>
Co-authored-by: Jeff Allen <jeffrey.allen@10gen.com>
Co-authored-by: Nick Villahermosa <nick.villahermosa@mongodb.com>
Co-authored-by: jason-price-mongodb <69260375+jason-price-mongodb@users.noreply.github.com>
Co-authored-by: jason-price-mongodb <jshfjghsdfgjsdjh@aolsdjfhkjsdhfkjsdf.com>
Co-authored-by: davidhou17 <55004296+davidhou17@users.noreply.github.com>
Co-authored-by: Heli Aldridge <heli@heli.pet>

  • (DOCS-13987): Introduce updated query planner diagram (#2107)
  • Add new query planner diagram
  • tech review feedback
  • tech review feedback 2
  • final changes
  • DOCSP-26426 Replaces Compound-GeoJSON doc directives (#2156)
  • remove extra space
  • (DOCSP-26069): Inaccuracy in document count for multi-document transactions (#2138)
  • Inaccuracy in document count for multi-document transactions
  • copy review feedback
  • copy review feedback 2
  • copy review feedback 3
  • tech review feedback
  • (DOCSP-26626): Fix mongod/mongos formatting (#2170)
  • DOCSP-26428 Replace Getting Started Guide-LDAP Proxy doc directives (#2165)
  • DOCSP-26428 Replace Getting Started Guide-LDAP Proxy doc directives
  • internal review feedback
  • fix release dates in release notes (#2175)
  • (DOCS-14355): fix regex pattern in validation example (#2166)
  • (DOCS-14355): fix regex pattern in validation example
  • change example
  • typo
  • fix formatting
  • remove extra sentence
  • formatting
  • consistency
  • update section titles per review
  • (DOCS-10564): Sharding tutorial - distribute collections using zones (#2142)
  • initial page setup
  • WIP
  • wip
  • WIP
  • finish balancer section
  • fix widths
  • add security prereq
  • (DOCS-16064): Sharding tutorial - distribute collections using zones
  • edits
  • fix learn more
  • add prereq
  • fix code block highlighting
  • typo
  • wording
  • WIP review edits
  • finish review edits
  • edits
  • edits
  • typo fixes
  • updates per Asya's feedback
  • wording
  • remove extra heading
  • review edits
  • wording
  • reorder
  • add clarification
  • clarify balancing behavior
  • ordering
  • wording
  • alphabetize
  • edits
  • (DOCS-11076): Document inaccuracies when inserting documents (#2149)
  • add information about insert inaccuracies
  • copy review feedback
  • tech review feedback
  • (DOCS-7159): Add tcmalloc verbosity section to serverStatus() (#2167)
  • Add tcmalloc section to serverStatus()
  • copy review feedback
  • Update source/reference/command/serverStatus.txt

Co-authored-by: Kyle Suarez <ksuarz@gmail.com>

Co-authored-by: Kyle Suarez <ksuarz@gmail.com>

  • DOCS-11817: clarify single-version downgrade (#2188)
  • clarify single-version downgrade
  • fix include replacements
  • update 6.0 downgrade pages
  • update 5.0 downgrade instructions
  • fix build warnings
  • update 4.4 downgrade pages
  • update language and use replacements
  • language
  • use correct include for standalone pages
  • grammar
  • remove extra include file
  • updates per review
  • formatting
  • DOCSP-26654: Bolding edits (#2192)
  • Fixes per Jordi

Co-authored-by: Jordan Smith <45415425+jordan-smith721@users.noreply.github.com>
Co-authored-by: Ashley Brown <98361885+mdb-ashley@users.noreply.github.com>
Co-authored-by: jmd-mongo <73852296+jmd-mongo@users.noreply.github.com>
Co-authored-by: Dave Cuthbert <69165704+davemungo@users.noreply.github.com>
Co-authored-by: Aleksander Binion <77393289+biniona-mongodb@users.noreply.github.com>
Co-authored-by: Jeff Allen <jeffrey.allen@10gen.com>
Co-authored-by: Nick Villahermosa <nick.villahermosa@mongodb.com>
Co-authored-by: jason-price-mongodb <69260375+jason-price-mongodb@users.noreply.github.com>
Co-authored-by: jason-price-mongodb <jshfjghsdfgjsdjh@aolsdjfhkjsdhfkjsdf.com>
Co-authored-by: davidhou17 <55004296+davidhou17@users.noreply.github.com>
Co-authored-by: Heli Aldridge <heli@heli.pet>
Co-authored-by: Kyle Suarez <ksuarz@gmail.com>
Co-authored-by: Sarah Olson <98367156+sarah-olson-mongodb@users.noreply.github.com>
Branch: indexes-refactor
https://github.com/10gen/docs-mongodb-internal/commit/f5263547c7aa1ff59fc9243279c925c3269e2b3c

Comment by Githook User [ 12/Dec/22 ]

Author:

{'name': 'davidhou17', 'email': '55004296+davidhou17@users.noreply.github.com', 'username': 'davidhou17'}

Message: (DOCS-7159): Add tcmalloc verbosity section to serverStatus() (#2167)

  • Add tcmalloc section to serverStatus()
  • copy review feedback
  • Update source/reference/command/serverStatus.txt

Co-authored-by: Kyle Suarez <ksuarz@gmail.com>

Co-authored-by: Kyle Suarez <ksuarz@gmail.com>
Branch: indexes-refactor
https://github.com/10gen/docs-mongodb-internal/commit/068253fe9c2b833858b043d54ad59d1672178ad0

Comment by Githook User [ 29/Nov/22 ]

Author:

{'name': 'Kenneth P. J. Dyer', 'email': '93145796+kennethdyer@users.noreply.github.com', 'username': 'kennethdyer'}

Message: DOCSP-25509 $shardedDataDistribution (#2150) (#2210)

  • DOCSP-25509 Stubs aggregation stage reference
  • DOCSP-25509 Fix build
  • DOCSP-25509 Aggregation stage reference
  • DOCSP-25509 Adds sidebar to Agg Pipeline page
  • DOCSP-25509 Adds privilege
  • DOCSP-25509 Adds privilege note to agg stage reference
  • Adds release note
  • Typo
  • Fixes build issue
  • Fixes per Joe
  • Fixes per Joe
  • DOCSP-26245 update mongocrypt version (#2139)
  • updated mongocrypt version
  • revert autoformatting
  • Update pull_request_template.md
  • DOCSP-25224 EOL Version Cleanup of mongosh Methods (#1901)
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 redirects
  • DOCSP-25224 Updates redirects, removes copyDatabase and cloneDatabase as deprecated
  • DOCSP-25224 Update for build
  • DOCSP-25224 Update for build
  • DOCSP-25224 Fixes build errors
  • DOCSP-25224 Fixes per Jocelyn
  • DOCSP-25224 Fixes per Jocelyn
  • DOCSP-25224 Fixes per Jocelyn
  • DOCSP-25224 Fixes per Jocelyn
  • DOCSP-25224 Fixes per Jocelyn
  • DOCSP-25890 adds page-level refs to pages under tutorial/ that have doc directives pointing to them (#2063)
  • DOCS-15521 sh.status.partitioned not valid (#2050)
  • Review Feedback
  • Review feedback
  • DOCSP-25339 (#2026)
  • add api docs for rewrapmanydatakeys methods
  • move to shared include
  • broken links
  • update product names, add as constants
  • (DOCSP-24983) QE Server Side Schema Behavior (#2018)
  • wip
  • Trigger Build
  • proofread, spell-check, grammar-check
  • js - suggestion

Co-authored-by: Jordan Smith <45415425+jordan-smith721@users.noreply.github.com>

Co-authored-by: Jordan Smith <45415425+jordan-smith721@users.noreply.github.com>

  • (DOCSP-24820) libmongocrypt install fix (#2071)
  • libmongocryptdev
  • update qe libmongocrypt page
  • proofread
  • (DOCS-15399): 6.1 retryable writes errors (#2066)
  • wording
  • wording and minimalism
  • fix include name
  • edits
  • add clarity
  • reorder phrases
  • minimalism
  • minimalism, formatting
  • review edits
  • updates per review
  • wording
  • final review edits
  • minimalism
  • DOCSP-26150 Replace :doc: with :method: / :command: where possible (#2074)
  • Date()
  • internal review feedback
  • internal review feedback
  • internal review
  • DOCS-15411 commit quorum v write concern (#2009)
  • Staging fixes
  • Staging fixes
  • Review feedback
  • Staging fixes
  • Review Feedback
  • Review Feedback
  • Review feedback
  • Review feedback
  • Staging fixes
  • Review feedback
  • Review feedback
  • Commit feedback
  • DOCSP-25986 improve style of limitations page (#2047)
  • DOCSP-25986 timeseries limitations restyling
  • DOCSP-25986 timeseries limitations restyling
  • Review Feedback
  • Staging fixes
  • Merge feedback
  • (DOCSP-24856) (#2083)
  • update qe tut
  • update qe tuts
  • update csfle tuts
  • remove output from tuts that do not produce this output
  • remove output from code block that does not produce output
  • add deleted back in
  • DOCSP-26183 replaces :doc: with improved admonitions (#2080)
  • DOCSP-26204 update instances of :doc: pointing to core/index-text with :ref: (#2087)
  • DOCSP-26204 update instances of :doc: pointing to core/index-text with :ref:
  • internal review feedback
  • DOCSP-15109 Resume Token Expansion (#2049)
  • DOCSP-15109 Updates _id token
  • DOCSP-15109 Updates token sources
  • DOCSP-15109 Updates token sources
  • DOCSP-15109 Refactors resume token text
  • DOCSP-15109 Refactors resume token text
  • DOCSP-15109 Fixes code block
  • DOCSP-15109 Fixes code block
  • DOCSP-15109 Fixes per Dave
  • DOCSP-15109 Fixes per Dave
  • DOCSP-15109 Fixes per Dave
  • DOCSP-15109 Fixes per Dave
  • DOCSP-15109 Fixes build error
  • DOCSP-15109 Fixes build error
  • DOCSP-15109 Fixes build error
  • DOCSP-15109 Fixes per Valentin
  • (DOCS-15063): Change to balancerCollectionStatus output (#2085)
  • (DOCS-15063): Update balancerCollectionStatus command page
  • more updates
  • edits
  • small edits
  • tweak
  • wording
  • add details per tech review
  • formatting - note
  • DOCSP-26224 replace docs directives pointing to transactions (#2090)
  • DOCSP-26224 replace docs directives pointing to transactions
  • internal review feedback
  • DOCSP-26193 replaces 2d and 2dsphere index doc admonitions (#2082)
  • DOCSP-26193 replaces 2d and 2dsphere index doc admonitions
  • internal review feedback
  • DOCSP-26256 replaces views-related doc directives (#2092)
  • DOCSP-26275 replaces write-related doc directives (#2094)

Co-authored-by: jason-price-mongodb <jshfjghsdfgjsdjh@aolsdjfhkjsdhfkjsdf.com>

  • DOCSP-26288 replaces auditing-related doc directives (#2102)
  • DOCSP-26288 replaces auditing-realted doc directives
  • internal review feedback
  • internal review feedback
  • (DOCSP-26124): Add new fill example (#2106)
  • (DOCSP-26124): Add new fill example
  • wording
  • wording
  • add clarification for values of zero
  • add note title
  • tweaks
  • internal review edits
  • fix output order
  • fix toc heading
  • wording
  • (DOCSP-22423): Clarify startup instructions for redactClientLogData (#2101)
  • Clarify startup instructions for redactClientLogData
  • copy review feedback
  • final fixes
  • DOCPS-26298 updates BSON-related doc directives (#2105)
  • DOCPS-26298 updates BSON-related doc directives
  • internal review feedback
  • internal review feedback
  • update python qe apps from testing with solutions architect (#1887)
  • DOCSP-26321 updates collation-related doc directives (#2112)
  • (DOCSP-26328): Migrate changelog script from Python 2 to Python 3 (#2116)
  • (DOCSP-26328): Migrate changelog script from Python 2 to Python 3 (#2113)
  • update Makefile command and requirements filename (#2114)
  • (DOCS-15722): 4.4.18 initial changelog and changelog script fixes (#2117)
  • fix bug with changelog output
  • refactoring
  • regenerate 4.4.18 changelog
  • fix typo
  • DOCSP-26358 replaces agg pipline doc directives (#2120)
  • DOCS-15516 Time series range outside 1970-2038 behavior (#2119)
  • Add a missing named reference definition in 5.1-compatibility (#2115)
  • DOCSP-25224 version cleanup in Method Reference

Co-authored-by: jmd-mongo <73852296+jmd-mongo@users.noreply.github.com>
Co-authored-by: Dave Cuthbert <69165704+davemungo@users.noreply.github.com>
Co-authored-by: Aleksander Binion <77393289+biniona-mongodb@users.noreply.github.com>
Co-authored-by: Jordan Smith <45415425+jordan-smith721@users.noreply.github.com>
Co-authored-by: Jeff Allen <jeffrey.allen@10gen.com>
Co-authored-by: Nick Villahermosa <nick.villahermosa@mongodb.com>
Co-authored-by: jason-price-mongodb <69260375+jason-price-mongodb@users.noreply.github.com>
Co-authored-by: jason-price-mongodb <jshfjghsdfgjsdjh@aolsdjfhkjsdhfkjsdf.com>
Co-authored-by: davidhou17 <55004296+davidhou17@users.noreply.github.com>
Co-authored-by: Heli Aldridge <heli@heli.pet>

  • (DOCS-13987): Introduce updated query planner diagram (#2107)
  • Add new query planner diagram
  • tech review feedback
  • tech review feedback 2
  • final changes
  • DOCSP-26426 Replaces Compound-GeoJSON doc directives (#2156)
  • remove extra space
  • (DOCSP-26069): Inaccuracy in document count for multi-document transactions (#2138)
  • Inaccuracy in document count for multi-document transactions
  • copy review feedback
  • copy review feedback 2
  • copy review feedback 3
  • tech review feedback
  • (DOCSP-26626): Fix mongod/mongos formatting (#2170)
  • DOCSP-26428 Replace Getting Started Guide-LDAP Proxy doc directives (#2165)
  • DOCSP-26428 Replace Getting Started Guide-LDAP Proxy doc directives
  • internal review feedback
  • fix release dates in release notes (#2175)
  • (DOCS-14355): fix regex pattern in validation example (#2166)
  • (DOCS-14355): fix regex pattern in validation example
  • change example
  • typo
  • fix formatting
  • remove extra sentence
  • formatting
  • consistency
  • update section titles per review
  • (DOCS-10564): Sharding tutorial - distribute collections using zones (#2142)
  • initial page setup
  • WIP
  • wip
  • WIP
  • finish balancer section
  • fix widths
  • add security prereq
  • (DOCS-16064): Sharding tutorial - distribute collections using zones
  • edits
  • fix learn more
  • add prereq
  • fix code block highlighting
  • typo
  • wording
  • WIP review edits
  • finish review edits
  • edits
  • edits
  • typo fixes
  • updates per Asya's feedback
  • wording
  • remove extra heading
  • review edits
  • wording
  • reorder
  • add clarification
  • clarify balancing behavior
  • ordering
  • wording
  • alphabetize
  • edits
  • (DOCS-11076): Document inaccuracies when inserting documents (#2149)
  • add information about insert inaccuracies
  • copy review feedback
  • tech review feedback
  • (DOCS-7159): Add tcmalloc verbosity section to serverStatus() (#2167)
  • Add tcmalloc section to serverStatus()
  • copy review feedback
  • Update source/reference/command/serverStatus.txt

Co-authored-by: Kyle Suarez <ksuarz@gmail.com>

Co-authored-by: Kyle Suarez <ksuarz@gmail.com>

  • DOCS-11817: clarify single-version downgrade (#2188)
  • clarify single-version downgrade
  • fix include replacements
  • update 6.0 downgrade pages
  • update 5.0 downgrade instructions
  • fix build warnings
  • update 4.4 downgrade pages
  • update language and use replacements
  • language
  • use correct include for standalone pages
  • grammar
  • remove extra include file
  • updates per review
  • formatting
  • DOCSP-26654: Bolding edits (#2192)
  • Fixes per Jordi

Co-authored-by: Jordan Smith <45415425+jordan-smith721@users.noreply.github.com>
Co-authored-by: Ashley Brown <98361885+mdb-ashley@users.noreply.github.com>
Co-authored-by: jmd-mongo <73852296+jmd-mongo@users.noreply.github.com>
Co-authored-by: Dave Cuthbert <69165704+davemungo@users.noreply.github.com>
Co-authored-by: Aleksander Binion <77393289+biniona-mongodb@users.noreply.github.com>
Co-authored-by: Jeff Allen <jeffrey.allen@10gen.com>
Co-authored-by: Nick Villahermosa <nick.villahermosa@mongodb.com>
Co-authored-by: jason-price-mongodb <69260375+jason-price-mongodb@users.noreply.github.com>
Co-authored-by: jason-price-mongodb <jshfjghsdfgjsdjh@aolsdjfhkjsdhfkjsdf.com>
Co-authored-by: davidhou17 <55004296+davidhou17@users.noreply.github.com>
Co-authored-by: Heli Aldridge <heli@heli.pet>
Co-authored-by: Kyle Suarez <ksuarz@gmail.com>
Co-authored-by: Sarah Olson <98367156+sarah-olson-mongodb@users.noreply.github.com>

Co-authored-by: Jordan Smith <45415425+jordan-smith721@users.noreply.github.com>
Co-authored-by: Ashley Brown <98361885+mdb-ashley@users.noreply.github.com>
Co-authored-by: jmd-mongo <73852296+jmd-mongo@users.noreply.github.com>
Co-authored-by: Dave Cuthbert <69165704+davemungo@users.noreply.github.com>
Co-authored-by: Aleksander Binion <77393289+biniona-mongodb@users.noreply.github.com>
Co-authored-by: Jeff Allen <jeffrey.allen@10gen.com>
Co-authored-by: Nick Villahermosa <nick.villahermosa@mongodb.com>
Co-authored-by: jason-price-mongodb <69260375+jason-price-mongodb@users.noreply.github.com>
Co-authored-by: jason-price-mongodb <jshfjghsdfgjsdjh@aolsdjfhkjsdhfkjsdf.com>
Co-authored-by: davidhou17 <55004296+davidhou17@users.noreply.github.com>
Co-authored-by: Heli Aldridge <heli@heli.pet>
Co-authored-by: Kyle Suarez <ksuarz@gmail.com>
Co-authored-by: Sarah Olson <98367156+sarah-olson-mongodb@users.noreply.github.com>
Branch: v6.0
https://github.com/10gen/docs-mongodb-internal/commit/7a472dc4258d370a28ed5956f77d79d158f4e177

Comment by Githook User [ 29/Nov/22 ]

Author:

{'name': 'Kenneth P. J. Dyer', 'email': '93145796+kennethdyer@users.noreply.github.com', 'username': 'kennethdyer'}

Message: DOCSP-25509 $shardedDataDistribution (#2150)

  • DOCSP-25509 Stubs aggregation stage reference
  • DOCSP-25509 Fix build
  • DOCSP-25509 Aggregation stage reference
  • DOCSP-25509 Adds sidebar to Agg Pipeline page
  • DOCSP-25509 Adds privilege
  • DOCSP-25509 Adds privilege note to agg stage reference
  • Adds release note
  • Typo
  • Fixes build issue
  • Fixes per Joe
  • Fixes per Joe
  • DOCSP-26245 update mongocrypt version (#2139)
  • updated mongocrypt version
  • revert autoformatting
  • Update pull_request_template.md
  • DOCSP-25224 EOL Version Cleanup of mongosh Methods (#1901)
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 version cleanup in Method Reference
  • DOCSP-25224 redirects
  • DOCSP-25224 Updates redirects, removes copyDatabase and cloneDatabase as deprecated
  • DOCSP-25224 Update for build
  • DOCSP-25224 Update for build
  • DOCSP-25224 Fixes build errors
  • DOCSP-25224 Fixes per Jocelyn
  • DOCSP-25224 Fixes per Jocelyn
  • DOCSP-25224 Fixes per Jocelyn
  • DOCSP-25224 Fixes per Jocelyn
  • DOCSP-25224 Fixes per Jocelyn
  • DOCSP-25890 adds page-level refs to pages under tutorial/ that have doc directives pointing to them (#2063)
  • DOCS-15521 sh.status.partitioned not valid (#2050)
  • Review Feedback
  • Review feedback
  • DOCSP-25339 (#2026)
  • add api docs for rewrapmanydatakeys methods
  • move to shared include
  • broken links
  • update product names, add as constants
  • (DOCSP-24983) QE Server Side Schema Behavior (#2018)
  • wip
  • Trigger Build
  • proofread, spell-check, grammar-check
  • js - suggestion

Co-authored-by: Jordan Smith <45415425+jordan-smith721@users.noreply.github.com>

Co-authored-by: Jordan Smith <45415425+jordan-smith721@users.noreply.github.com>

  • (DOCSP-24820) libmongocrypt install fix (#2071)
  • libmongocryptdev
  • update qe libmongocrypt page
  • proofread
  • (DOCS-15399): 6.1 retryable writes errors (#2066)
  • wording
  • wording and minimalism
  • fix include name
  • edits
  • add clarity
  • reorder phrases
  • minimalism
  • minimalism, formatting
  • review edits
  • updates per review
  • wording
  • final review edits
  • minimalism
  • DOCSP-26150 Replace :doc: with :method: / :command: where possible (#2074)
  • Date()
  • internal review feedback
  • internal review feedback
  • internal review
  • DOCS-15411 commit quorum v write concern (#2009)
  • Staging fixes
  • Staging fixes
  • Review feedback
  • Staging fixes
  • Review Feedback
  • Review Feedback
  • Review feedback
  • Review feedback
  • Staging fixes
  • Review feedback
  • Review feedback
  • Commit feedback
  • DOCSP-25986 improve style of limitations page (#2047)
  • DOCSP-25986 timeseries limitations restyling
  • DOCSP-25986 timeseries limitations restyling
  • Review Feedback
  • Staging fixes
  • Merge feedback
  • (DOCSP-24856) (#2083)
  • update qe tut
  • update qe tuts
  • update csfle tuts
  • remove output from tuts that do not produce this output
  • remove output from code block that does not produce output
  • add deleted back in
  • DOCSP-26183 replaces :doc: with improved admonitions (#2080)
  • DOCSP-26204 update instances of :doc: pointing to core/index-text with :ref: (#2087)
  • DOCSP-26204 update instances of :doc: pointing to core/index-text with :ref:
  • internal review feedback
  • DOCSP-15109 Resume Token Expansion (#2049)
  • DOCSP-15109 Updates _id token
  • DOCSP-15109 Updates token sources
  • DOCSP-15109 Updates token sources
  • DOCSP-15109 Refactors resume token text
  • DOCSP-15109 Refactors resume token text
  • DOCSP-15109 Fixes code block
  • DOCSP-15109 Fixes code block
  • DOCSP-15109 Fixes per Dave
  • DOCSP-15109 Fixes per Dave
  • DOCSP-15109 Fixes per Dave
  • DOCSP-15109 Fixes per Dave
  • DOCSP-15109 Fixes build error
  • DOCSP-15109 Fixes build error
  • DOCSP-15109 Fixes build error
  • DOCSP-15109 Fixes per Valentin
  • (DOCS-15063): Change to balancerCollectionStatus output (#2085)
  • (DOCS-15063): Update balancerCollectionStatus command page
  • more updates
  • edits
  • small edits
  • tweak
  • wording
  • add details per tech review
  • formatting - note
  • DOCSP-26224 replace docs directives pointing to transactions (#2090)
  • DOCSP-26224 replace docs directives pointing to transactions
  • internal review feedback
  • DOCSP-26193 replaces 2d and 2dsphere index doc admonitions (#2082)
  • DOCSP-26193 replaces 2d and 2dsphere index doc admonitions
  • internal review feedback
  • DOCSP-26256 replaces views-related doc directives (#2092)
  • DOCSP-26275 replaces write-related doc directives (#2094)

Co-authored-by: jason-price-mongodb <jshfjghsdfgjsdjh@aolsdjfhkjsdhfkjsdf.com>

  • DOCSP-26288 replaces auditing-related doc directives (#2102)
  • DOCSP-26288 replaces auditing-realted doc directives
  • internal review feedback
  • internal review feedback
  • (DOCSP-26124): Add new fill example (#2106)
  • (DOCSP-26124): Add new fill example
  • wording
  • wording
  • add clarification for values of zero
  • add note title
  • tweaks
  • internal review edits
  • fix output order
  • fix toc heading
  • wording
  • (DOCSP-22423): Clarify startup instructions for redactClientLogData (#2101)
  • Clarify startup instructions for redactClientLogData
  • copy review feedback
  • final fixes
  • DOCPS-26298 updates BSON-related doc directives (#2105)
  • DOCPS-26298 updates BSON-related doc directives
  • internal review feedback
  • internal review feedback
  • update python qe apps from testing with solutions architect (#1887)
  • DOCSP-26321 updates collation-related doc directives (#2112)
  • (DOCSP-26328): Migrate changelog script from Python 2 to Python 3 (#2116)
  • (DOCSP-26328): Migrate changelog script from Python 2 to Python 3 (#2113)
  • update Makefile command and requirements filename (#2114)
  • (DOCS-15722): 4.4.18 initial changelog and changelog script fixes (#2117)
  • fix bug with changelog output
  • refactoring
  • regenerate 4.4.18 changelog
  • fix typo
  • DOCSP-26358 replaces agg pipline doc directives (#2120)
  • DOCS-15516 Time series range outside 1970-2038 behavior (#2119)
  • Add a missing named reference definition in 5.1-compatibility (#2115)
  • DOCSP-25224 version cleanup in Method Reference

Co-authored-by: jmd-mongo <73852296+jmd-mongo@users.noreply.github.com>
Co-authored-by: Dave Cuthbert <69165704+davemungo@users.noreply.github.com>
Co-authored-by: Aleksander Binion <77393289+biniona-mongodb@users.noreply.github.com>
Co-authored-by: Jordan Smith <45415425+jordan-smith721@users.noreply.github.com>
Co-authored-by: Jeff Allen <jeffrey.allen@10gen.com>
Co-authored-by: Nick Villahermosa <nick.villahermosa@mongodb.com>
Co-authored-by: jason-price-mongodb <69260375+jason-price-mongodb@users.noreply.github.com>
Co-authored-by: jason-price-mongodb <jshfjghsdfgjsdjh@aolsdjfhkjsdhfkjsdf.com>
Co-authored-by: davidhou17 <55004296+davidhou17@users.noreply.github.com>
Co-authored-by: Heli Aldridge <heli@heli.pet>

  • (DOCS-13987): Introduce updated query planner diagram (#2107)
  • Add new query planner diagram
  • tech review feedback
  • tech review feedback 2
  • final changes
  • DOCSP-26426 Replaces Compound-GeoJSON doc directives (#2156)
  • remove extra space
  • (DOCSP-26069): Inaccuracy in document count for multi-document transactions (#2138)
  • Inaccuracy in document count for multi-document transactions
  • copy review feedback
  • copy review feedback 2
  • copy review feedback 3
  • tech review feedback
  • (DOCSP-26626): Fix mongod/mongos formatting (#2170)
  • DOCSP-26428 Replace Getting Started Guide-LDAP Proxy doc directives (#2165)
  • DOCSP-26428 Replace Getting Started Guide-LDAP Proxy doc directives
  • internal review feedback
  • fix release dates in release notes (#2175)
  • (DOCS-14355): fix regex pattern in validation example (#2166)
  • (DOCS-14355): fix regex pattern in validation example
  • change example
  • typo
  • fix formatting
  • remove extra sentence
  • formatting
  • consistency
  • update section titles per review
  • (DOCS-10564): Sharding tutorial - distribute collections using zones (#2142)
  • initial page setup
  • WIP
  • wip
  • WIP
  • finish balancer section
  • fix widths
  • add security prereq
  • (DOCS-16064): Sharding tutorial - distribute collections using zones
  • edits
  • fix learn more
  • add prereq
  • fix code block highlighting
  • typo
  • wording
  • WIP review edits
  • finish review edits
  • edits
  • edits
  • typo fixes
  • updates per Asya's feedback
  • wording
  • remove extra heading
  • review edits
  • wording
  • reorder
  • add clarification
  • clarify balancing behavior
  • ordering
  • wording
  • alphabetize
  • edits
  • (DOCS-11076): Document inaccuracies when inserting documents (#2149)
  • add information about insert inaccuracies
  • copy review feedback
  • tech review feedback
  • (DOCS-7159): Add tcmalloc verbosity section to serverStatus() (#2167)
  • Add tcmalloc section to serverStatus()
  • copy review feedback
  • Update source/reference/command/serverStatus.txt

Co-authored-by: Kyle Suarez <ksuarz@gmail.com>

Co-authored-by: Kyle Suarez <ksuarz@gmail.com>

  • DOCS-11817: clarify single-version downgrade (#2188)
  • clarify single-version downgrade
  • fix include replacements
  • update 6.0 downgrade pages
  • update 5.0 downgrade instructions
  • fix build warnings
  • update 4.4 downgrade pages
  • update language and use replacements
  • language
  • use correct include for standalone pages
  • grammar
  • remove extra include file
  • updates per review
  • formatting
  • DOCSP-26654: Bolding edits (#2192)
  • Fixes per Jordi

Co-authored-by: Jordan Smith <45415425+jordan-smith721@users.noreply.github.com>
Co-authored-by: Ashley Brown <98361885+mdb-ashley@users.noreply.github.com>
Co-authored-by: jmd-mongo <73852296+jmd-mongo@users.noreply.github.com>
Co-authored-by: Dave Cuthbert <69165704+davemungo@users.noreply.github.com>
Co-authored-by: Aleksander Binion <77393289+biniona-mongodb@users.noreply.github.com>
Co-authored-by: Jeff Allen <jeffrey.allen@10gen.com>
Co-authored-by: Nick Villahermosa <nick.villahermosa@mongodb.com>
Co-authored-by: jason-price-mongodb <69260375+jason-price-mongodb@users.noreply.github.com>
Co-authored-by: jason-price-mongodb <jshfjghsdfgjsdjh@aolsdjfhkjsdhfkjsdf.com>
Co-authored-by: davidhou17 <55004296+davidhou17@users.noreply.github.com>
Co-authored-by: Heli Aldridge <heli@heli.pet>
Co-authored-by: Kyle Suarez <ksuarz@gmail.com>
Co-authored-by: Sarah Olson <98367156+sarah-olson-mongodb@users.noreply.github.com>
Branch: master
https://github.com/10gen/docs-mongodb-internal/commit/f5263547c7aa1ff59fc9243279c925c3269e2b3c

Comment by Githook User [ 22/Nov/22 ]

Author:

{'name': 'davidhou17', 'email': '55004296+davidhou17@users.noreply.github.com', 'username': 'davidhou17'}

Message: (DOCS-7159): Add tcmalloc verbosity section to serverStatus() (#2167) (#2183)

  • Add tcmalloc section to serverStatus()
  • copy review feedback
  • Update source/reference/command/serverStatus.txt

Co-authored-by: Kyle Suarez <ksuarz@gmail.com>

Co-authored-by: Kyle Suarez <ksuarz@gmail.com>

Co-authored-by: Kyle Suarez <ksuarz@gmail.com>
Branch: v4.2
https://github.com/10gen/docs-mongodb-internal/commit/d5a16f8c3b9c9fbd3ad150c7d9418b0677b71840

Comment by Githook User [ 22/Nov/22 ]

Author:

{'name': 'davidhou17', 'email': '55004296+davidhou17@users.noreply.github.com', 'username': 'davidhou17'}

Message: (DOCS-7159): Add tcmalloc verbosity section to serverStatus() (#2167) (#2182)

  • Add tcmalloc section to serverStatus()
  • copy review feedback
  • Update source/reference/command/serverStatus.txt

Co-authored-by: Kyle Suarez <ksuarz@gmail.com>

Co-authored-by: Kyle Suarez <ksuarz@gmail.com>

Co-authored-by: Kyle Suarez <ksuarz@gmail.com>
Branch: v4.4
https://github.com/10gen/docs-mongodb-internal/commit/0af906f6fc19037731c85c1e169dd10449032745

Comment by Githook User [ 22/Nov/22 ]

Author:

{'name': 'davidhou17', 'email': '55004296+davidhou17@users.noreply.github.com', 'username': 'davidhou17'}

Message: (DOCS-7159): Add tcmalloc verbosity section to serverStatus() (#2167) (#2181)

  • Add tcmalloc section to serverStatus()
  • copy review feedback
  • Update source/reference/command/serverStatus.txt

Co-authored-by: Kyle Suarez <ksuarz@gmail.com>

Co-authored-by: Kyle Suarez <ksuarz@gmail.com>

Co-authored-by: Kyle Suarez <ksuarz@gmail.com>
Branch: v5.0
https://github.com/10gen/docs-mongodb-internal/commit/392d09654de9650a057e59b352948c5873cf29ba

Comment by Githook User [ 22/Nov/22 ]

Author:

{'name': 'davidhou17', 'email': '55004296+davidhou17@users.noreply.github.com', 'username': 'davidhou17'}

Message: (DOCS-7159): Add tcmalloc verbosity section to serverStatus() (#2167) (#2180)

  • Add tcmalloc section to serverStatus()
  • copy review feedback
  • Update source/reference/command/serverStatus.txt

Co-authored-by: Kyle Suarez <ksuarz@gmail.com>

Co-authored-by: Kyle Suarez <ksuarz@gmail.com>

Co-authored-by: Kyle Suarez <ksuarz@gmail.com>
Branch: v6.0
https://github.com/10gen/docs-mongodb-internal/commit/bfc54618f8d1ba338900b6357e0c9881b9ec1024

Comment by Githook User [ 22/Nov/22 ]

Author:

{'name': 'davidhou17', 'email': '55004296+davidhou17@users.noreply.github.com', 'username': 'davidhou17'}

Message: (DOCS-7159): Add tcmalloc verbosity section to serverStatus() (#2167)

  • Add tcmalloc section to serverStatus()
  • copy review feedback
  • Update source/reference/command/serverStatus.txt

Co-authored-by: Kyle Suarez <ksuarz@gmail.com>

Co-authored-by: Kyle Suarez <ksuarz@gmail.com>
Branch: master
https://github.com/10gen/docs-mongodb-internal/commit/068253fe9c2b833858b043d54ad59d1672178ad0

Comment by David Hou [ 18/Nov/22 ]

kyle.suarez@mongodb.com Ready for your review when you get a chance - thanks for your patience! https://github.com/10gen/docs-mongodb-internal/pull/2167

Comment by Kyle Suarez [ 18/Nov/22 ]

Aha! Yeah, I guess if you don't run any queries there are no memory allocations done by tcmalloc Let me know if you need more assistance.

Comment by David Hou [ 18/Nov/22 ]

kyle.suarez@mongodb.com Thanks for the additional context! I tested using a different cluster and was able to produce the same results as you. The database I was using before likely did not have enough data for the tcmalloc information to appear - I apologize for any confusion! I'll let you know when the PR for this is ready for review.

Comment by Kyle Suarez [ 18/Nov/22 ]

And to be clear, my original comment from 6 years ago still stands – we probably should not document the meaning of all these sub-fields, but I do think it's useful to mention the existence of the tcmalloc section and that users can get detailed information about its allocations if they specify a higher verbosity.

Comment by Kyle Suarez [ 18/Nov/22 ]

I am running on a version of master near v6.2., but should apply to basically all released versions. I simply wrote this script and then ran with the shell test harness:

jsTestLog("serverStatus with tcmalloc not specified:");
printjson(db.serverStatus().tcmalloc)
 
jsTestLog("serverStatus with {tcmalloc: 0}:");
printjson(db.serverStatus({tcmalloc: 0}).tcmalloc)
 
jsTestLog("serverStatus with {tcmalloc: 1}:");
printjson(db.serverStatus({tcmalloc: 1}).tcmalloc)
 
jsTestLog("serverStatus with {tcmalloc: 2}:");
printjson(db.serverStatus({tcmalloc: 2}).tcmalloc)

The results are:
With the tcmalloc option explicitly set to 0, the tcmalloc section is suppressed, as expected.

With {tcmalloc: 1} or just not specified, the results are the same, also expected – here is the contents of db.serverStatus().tcmalloc:

{
        "generic" : {                                                                                                                                                                                                                       
                "current_allocated_bytes" : 89695096,
                "heap_size" : 92528640
        },  
        "tcmalloc" : { 
                "pageheap_free_bytes" : 1343488,
                "pageheap_unmapped_bytes" : 0,
                "max_total_thread_cache_bytes" : 1073741824,
                "current_total_thread_cache_bytes" : 858840,
                "total_free_bytes" : 1490056,
                "central_cache_free_bytes" : 393904,
                "transfer_cache_free_bytes" : 237312,
                "thread_cache_free_bytes" : 858840,
                "aggressive_memory_decommit" : 0,
                "pageheap_committed_bytes" : 92528640,
                "pageheap_scavenge_count" : 0,
                "pageheap_commit_count" : 53, 
                "pageheap_total_commit_bytes" : 92528640,
                "pageheap_decommit_count" : 0,
                "pageheap_total_decommit_bytes" : 0,
                "pageheap_reserve_count" : 53, 
                "pageheap_total_reserve_bytes" : 92528640,
                "spinlock_total_delay_ns" : 0,
                "release_rate" : 1,
                "formattedString" : <redacted for length>
        }   
}

And here are the results for {tcmalloc: 2}, note that there is a new tcmalloc.tcmalloc.size_classes and tcmalloc.tcmalloc.page_heap:

{
        "generic" : {
                "current_allocated_bytes" : 89695160,
                "heap_size" : 92528640
        },
        "tcmalloc" : {
                "pageheap_free_bytes" : 1359872,
                "pageheap_unmapped_bytes" : 0,
                "max_total_thread_cache_bytes" : 1073741824,
                "current_total_thread_cache_bytes" : 929920,
                "total_free_bytes" : 1473608,
                "central_cache_free_bytes" : 373960,
                "transfer_cache_free_bytes" : 169728,
                "thread_cache_free_bytes" : 929920,
                "aggressive_memory_decommit" : 0,
                "pageheap_committed_bytes" : 92528640,
                "pageheap_scavenge_count" : 0,
                "pageheap_commit_count" : 53,
                "pageheap_total_commit_bytes" : 92528640,
                "pageheap_decommit_count" : 0,
                "pageheap_total_decommit_bytes" : 0,
                "pageheap_reserve_count" : 53,
                "pageheap_total_reserve_bytes" : 92528640,
                "spinlock_total_delay_ns" : 0,
                "release_rate" : 1,
                "size_classes" : [
                        {
                                "bytes_per_object" : 8,
                                "pages_per_span" : 2,
                                "num_spans" : 3,
                                "num_thread_objs" : 132,
                                "num_central_objs" : 845,
                                "num_transfer_objs" : 0,
                                "free_bytes" : 7816,
                                "allocated_bytes" : 24576
                        },
                        <omitted but repeated size class objects>,
                        {
                                "bytes_per_object" : 16384,
                                "pages_per_span" : 4,
                                "num_spans" : 11,
                                "num_thread_objs" : 5,
                                "num_central_objs" : 0,
                                "num_transfer_objs" : 0,
                                "free_bytes" : 81920,
                                "allocated_bytes" : 180224
                        }
                ],
                "page_heap" : [
                        {
                                "pages" : 1,
                                "normal_spans" : 14,
                                "unmapped_spans" : 0,
                                "normal_bytes" : 57344,
                                "unmapped_bytes" : 0
                        },
                        {
                                "pages" : 3,
                                "normal_spans" : 1,
                                "unmapped_spans" : 0,
                                "normal_bytes" : 12288,
                                "unmapped_bytes" : 0
                        },
                        {
                                "pages" : 4,
                                "normal_spans" : 1,
                                "unmapped_spans" : 0,
                                "normal_bytes" : 16384,
                                "unmapped_bytes" : 0
                        },
                        {
                                "pages" : 256,
                                "normal_spans" : 1,
                                "unmapped_spans" : 0,
                                "normal_bytes" : 1273856,
                                "unmapped_bytes" : 0
                        }
                ],
                "formattedString": <omitted for space>

david.hou@mongodb.com how did you run your test?

Comment by David Hou [ 17/Nov/22 ]

Hi kyle.suarez@mongodb.com, I'm assigned to work on the docs changes for this. Can you or someone on your team confirm which versions of MongoDB that this parameter is intended for and if it has been either removed or deprecated?

When I tested the parameter using v6.2, I tried both:

  • db.serverStatus( { tcmalloc: <int> }

    )

  • db.serverStatus( { serverstatus: 1, tcmalloc: <int> }

    )

They ran successfully, but they did not return any section marked TCmalloc or any differences in verbosity. The tcmalloc parameters are also not listed in the manual from v4.2 and onward. Let me know what you think and if this should still be documented!

Comment by Ashley Brown [ 02/Nov/22 ]

Thanks kyle.suarez@mongodb.com! We'll take a look. 

Comment by Kyle Suarez [ 02/Nov/22 ]

I am reopening this ticket because it's a legit request, and the current version of the serverStatus page still does not mention the existence of this section.

Comment by Education Bot [ 01/Nov/22 ]

Hello! This ticket has been closed due to inactivity. If you believe this ticket is still important, please reopen it and leave a comment to explain why. Thank you!

Comment by Kyle Suarez [ 24/May/16 ]

After SERVER-23409, we should document the optional TCMalloc verbosity with something along these lines:

.. versionchanged:: 3.4
 
    The verbosity of the TCMalloc section can be adjusted by specifying
    an integer. Larger integer values increase the detail of statistics
    reported by TCMalloc.

In addition, we should also specify in the synopsis section that you can enable the TCMalloc section with

tcmalloc: <int>

rather than some wildcard type *. Note that the change in SERVER-23409 is backwards-compatible for people who specify garbage – as long as you don't turn it off via {tcmalloc: false} or {tcmalloc: 0}, you'll get the default verbosity as if you had done {tcmalloc: 1}.

Generated at Thu Feb 08 07:53:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.