[SERVER-56861] Update semantics for server status's opWriteConcernCounters Created: 11/May/21  Updated: 29/Oct/23  Resolved: 09/Jun/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.0-rc2, 5.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Samyukta Lanka Assignee: Moustafa Maher
Resolution: Fixed Votes: 0
Labels: post-rc0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Documented
is documented by DOCS-14550 [Server] Update semantics for server ... Closed
Related
related to SERVER-57428 Coverity analysis defect 120147: Pars... Closed
related to SERVER-56860 Update semantics for server status's ... Closed
is related to SERVER-56868 Fix semantics for write concern prove... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0
Sprint: Repl 2021-05-31, Repl 2021-06-14
Participants:

 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 09/Jun/21 ]

Author:

{'name': 'Moustafa Maher', 'email': 'm.maher@10gen.com', 'username': 'moustafamaher'}

Message: SERVER-56861 Update semantics for server status's opWriteConcernCounters
Branch: v5.0
https://github.com/mongodb/mongo/commit/6c85aab8dc616b421f6a719d126d3d5de2d1544e

Comment by Moustafa Maher [ 09/Jun/21 ]

We have a new section named "noneInfo" in opWriteConcernCounters to show the breakdown of the "none" section.

We want also to update our docs about the none section to add more information about what it does reflect :
None ( can be something like):
Number of insert operations that did not specify w value. These operations use the implicit default writeConcern w value of {w:majority} or the CWWC added through setDefaultRWConcern command

NoneInfo ( can be something like):
Further breakdown of insert operations that did not specific w value. Note in 5.0, the implicit default writeConcern w value was changed from {w:1} to {w:majority}

Example of the newly added section:

{
"insert" : {
	"wmajority" : NumberLong(2),
	"wnum" : {
		"1" : NumberLong(2),
		"3" : NumberLong(3),
	},
	"wtag" : {
		"myTag" : NumberLong(2),
	},
	"none" : NumberLong(13),
	"noneInfo" : {
		"CWWC" : {
			"wmajority" : NumberLong(2),
			"wnum" : {
				"1" : NumberLong(2),
				"3" : NumberLong(2)
			},
			"wtag" : {
				"myTag" : NumberLong(2),
			}
		},
		"implicitDefault" : {
			"wmajority" : NumberLong(3),
			"wnum" : {
				"1" : NumberLong(2),
			}
		}
	}
},

Comment by Githook User [ 03/Jun/21 ]

Author:

{'name': 'Moustafa Maher', 'email': 'm.maher@10gen.com', 'username': 'moustafamaher'}

Message: SERVER-56861 Update semantics for server status's opWriteConcernCounters
Branch: master
https://github.com/mongodb/mongo/commit/25bf17229bdddea523ae94571cc22ae4939cfd3c

Comment by Samyukta Lanka [ 13/May/21 ]

Might depend on SERVER-56868.

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