[DOCS-14132] Investigate changes in SERVER-53176: Return an error when commitQuorum includes voting buildIndexes:false members Created: 15/Jan/21  Updated: 13/Nov/23  Due: 06/Aug/21  Resolved: 02/Aug/21

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 4.9.0, 4.4.4, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Joseph Dougherty
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-53176 Return an error when commitQuorum inc... Closed
Participants:
Days since reply: 2 years, 27 weeks, 2 days ago
Epic Link: DOCSP-15042
Story Points: 3

 Description   

Description

Downstream Change Summary

For the sake of an index build's commitQuorum, replica set nodes configured with {buildIndexes:false} are not considered data-bearing.

If a commitQuorum includes a voting replica set node that is configured to not build indexes (i.e. buildIndexes: false), the quorum will be unsatisfiable. Therefore, index builds that use the default commitQuorum of 'votingMembers' will fail if there are any of these voting, non-index-building nodes.

The user will either need to specify a different commitQuorum or have an administrator make any buildIndexes:false nodes non-voting.

Description of Linked Ticket

Given a replica set with config like

{
  _id: 'rs',
  members: [
    {
      _id: 0,
      host: '…',
      priority: 3,
    },
    {
      _id: 1,
      host: '…',
      priority: 1,
    },
    {
      _id: 2,
      host: '…',
      priority: 0,
      hidden: true,
      buildIndexes: false,
    },
  ]
} 

Building indexes on replica-set with default commitQuorum (votingMembers) seems to wait for build on member that doesn't build indexes (due to replica-set configuration)

I have to lower commitQuorum to majority, otherwise createIndex command doesn't finish.

votingMembers commitQuorum should mean: all data-bearing index-building voting replica set members.

Scope of changes

Impact to Other Docs

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)



 Comments   
Comment by Githook User [ 02/Aug/21 ]

Author:

{'name': 'Joseph Dougherty', 'email': 'joseph.dougherty@mongodb.com', 'username': 'jmd-mongo'}

Message: DOCS-14132 commitQuorum cannot include voting members where buildIndexes is false
Branch: master
https://github.com/mongodb/docs/commit/5ed45e90f3e4d4bc28827e10959c8fb9a3f97d6b

Generated at Thu Feb 08 08:09:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.