[SERVER-63531] commitQuorum incorrectly includes buildIndexes:false nodes and error message incorrectly says that only voting nodes are eligible Created: 10/Feb/22 Updated: 29/Oct/23 Resolved: 22/Mar/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 5.0.0, 4.4.2 |
| Fix Version/s: | 5.3.2, 5.0.8, 6.0.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Louis Williams | Assignee: | Louis Williams |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||||||
| Backport Requested: |
v5.3, v5.0, v4.4
|
||||||||||||||||||||||||||||||||
| Sprint: | Execution Team 2022-03-21 | ||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||
| Case: | (copied to CRM) | ||||||||||||||||||||||||||||||||
| Description |
|
commitQuorum does allow you to include non-voting nodes, however the error message we report "Not enough data-bearing voting nodes to satisfy commit quorum" is incorrect. We should also update the documentation to reflect this. This ticket additionally addresses the fact that we permit non-voting buildIndexes:false nodes to be included in a commitQuorum. This is incorrect and buildIndexes:false nodes should never be included, regardless of voting status. |
| Comments |
| Comment by Githook User [ 12/Apr/22 ] |
|
Author: {'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}Message: (cherry picked from commit 303a724f519e8d45d3b5d1d31c1ac509cfabf08c)
(cherry picked from commit 5f6cd9a3c69faef393b79e18b118b29f2cce0123) |
| Comment by Githook User [ 12/Apr/22 ] |
|
Author: {'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}Message: (cherry picked from commit 303a724f519e8d45d3b5d1d31c1ac509cfabf08c)
(cherry picked from commit 5f6cd9a3c69faef393b79e18b118b29f2cce0123) |
| Comment by Githook User [ 22/Mar/22 ] |
|
Author: {'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}Message: Revert " This reverts commit 0a38f458292dc64d5be84663bec8102d9a232f1e. |
| Comment by Githook User [ 16/Mar/22 ] |
|
Author: {'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}Message: (cherry picked from commit 303a724f519e8d45d3b5d1d31c1ac509cfabf08c)
Previously only voting buildIndexes:false nodes were excluded from commitQuorum. But all buildIndexes:false nodes, (cherry picked from commit 5f6cd9a3c69faef393b79e18b118b29f2cce0123) |
| Comment by Githook User [ 09/Mar/22 ] |
|
Author: {'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}Message: |
| Comment by Githook User [ 08/Mar/22 ] |
|
Author: {'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}Message: |
| Comment by Louis Williams [ 10/Feb/22 ] |
|
This was actually caused by |
| Comment by Eric Milkie [ 10/Feb/22 ] |
|
We only need to backport this fix to 5.3, as per However, we need to backport the documentation correction back to the first version that commitQuorum was supported, since I suspect the docs have been wrong since that time. This could go back to manual4.4 or even earlier. |