Details
-
Improvement
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
4.4.2
-
None
-
mongo db server and cli client 4.4.2
-
Fully Compatible
-
v4.4
-
Execution Team 2021-01-25
Description
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.
Attachments
Issue Links
- causes
-
SERVER-63531 commitQuorum incorrectly includes buildIndexes:false nodes and error message incorrectly says that only voting nodes are eligible
-
- Closed
-
- is documented by
-
DOCS-14132 Investigate changes in SERVER-53176: Return an error when commitQuorum includes voting buildIndexes:false members
-
- Closed
-