[SERVER-16243] Suppress mmapv1 specific stats from db.serverStatus() Created: 19/Nov/14  Updated: 27/Oct/15  Resolved: 15/Jan/15

Status: Closed
Project: Core Server
Component/s: Diagnostics, Storage
Affects Version/s: 2.8.0-rc0
Fix Version/s: 3.0.0-rc6

Type: Improvement Priority: Minor - P4
Reporter: Jalpa Trivedi (Inactive) Assignee: Benety Goh
Resolution: Done Votes: 0
Labels: 28qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-14062 Remove the global OperationContext re... Closed
Documented
is documented by DOCS-4679 db.serverStatus().backgroundFlushing ... Closed
Related
is related to SERVER-16018 Suppress statistics which are not val... Closed
Backwards Compatibility: Fully Compatible
Participants:

 Description   

We expose some mmapv1 specific stats in db.serverStatus() output.

These stats are:

  • backgroundFlushing
  • dur

The above stats for WT is not used. The example for above two stats:

	"backgroundFlushing" : {
		"flushes" : 0,
		"total_ms" : 0,
		"average_ms" : 0,
		"last_ms" : 0,
		"last_finished" : ISODate("1970-01-01T00:00:00Z")
	},
"dur" : {
		"commits" : 0,
		"journaledMB" : 0,
		"writeToDataFilesMB" : 0,
		"compression" : 0,
		"commitsInWriteLock" : 0,
		"earlyCommits" : 0,
		"timeMs" : {
			"dt" : 0,
			"prepLogBuffer" : 0,
			"writeToJournal" : 0,
			"writeToDataFiles" : 0,
			"remapPrivateView" : 0
		}
	},



 Comments   
Comment by Githook User [ 15/Jan/15 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-16243 disable metrics for db.serverStatus().dur and db.serverStatus().backgroundFlushing when they are not applicable to the current storage engine/journaling configuration
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/c488f47332389ab93e0acf9a3f0e7eb3600f91ae

Comment by Githook User [ 15/Jan/15 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-16243 fixed incorrect directive for JS strict mode in db.serverStatus() test
Branch: master
https://github.com/mongodb/mongo/commit/330ea5959f98cf44d10fca06a0f98a7542047889

Comment by Githook User [ 15/Jan/15 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-16243 db.serverStatus().dur should be generated only for mmapv1 when journaling is enabled
Branch: master
https://github.com/mongodb/mongo/commit/5c9eb2d631798f8ac913511ffccbd4a4bf8027a0

Comment by Githook User [ 15/Jan/15 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-16243 db.serverStatus().backgroundFlushing should be generated only for mmapv1
Branch: master
https://github.com/mongodb/mongo/commit/e5619ff7254d1baa0d43b32a7884d35443c94f4a

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