[SERVER-9451] Forbid defining a custom writeConcern mode with the name "majority" Created: 24/Apr/13  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Eric Milkie Assignee: Backlog - Replication Team
Resolution: Unresolved Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Replication
Participants:

 Description   

Because we chose "w:" to take a string that can either be a tag name configured by the user or the literal string "majority", this means you cannot have a tag name of "majority" and have it work correctly.
We should vet the tag names at replica set config time and reject if we find a tag named "majority".


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