-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 4.4.2
-
Component/s: Index Maintenance, Replication
-
None
-
Environment:mongo db server and cli client 4.4.2
-
Fully Compatible
-
v4.4
-
Execution Team 2021-01-25
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.
- causes
-
SERVER-63531 commitQuorum incorrectly includes buildIndexes:false nodes and error message incorrectly says that only voting nodes are eligible
- Closed