[SERVER-7681] Report majority number in ReplSetGetStatus/isMaster Created: 15/Nov/12 Updated: 25/Sep/19 Resolved: 14/Jun/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 4.2.1, 4.3.1 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Scott Hernandez (Inactive) | Assignee: | Medha Potluri (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | ds-neweng-2016, former-quick-wins, gm-ack, neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||||||||||||||
| Backport Requested: |
v4.2
|
||||||||||||||||||||||||||||||||||||||||
| Sprint: | Repl 2019-06-03, Repl 2019-06-17, Repl 2019-07-01 | ||||||||||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||||||||||
| Description |
|
ReplSetConfig::getMajority() (https://github.com/mongodb/mongo/blob/master/src/mongo/db/repl/rs_config.cpp#L313) |
| Comments |
| Comment by Githook User [ 25/Sep/19 ] |
|
Author: {'username': 'lankas', 'email': 'samy.lanka@mongodb.com', 'name': 'Samyukta Lanka'}Message: (cherry picked from commit 4b985d5460a2ddb889942f3b4ede04d7051b3921)
(cherry picked from commit f92cc6fbdd660015f746ea3f59abfd4fb5485071) |
| Comment by Githook User [ 13/Jun/19 ] |
|
Author: {'name': 'Medha Potluri', 'email': 'medha.potluri@mongodb.com'}Message: |
| Comment by Githook User [ 12/Jun/19 ] |
|
Author: {'name': 'Medha Potluri', 'email': 'medha.potluri@mongodb.com'}Message: |
| Comment by Scott Hernandez (Inactive) [ 06/Dec/12 ] |
|
We should include both votes for elections/majority as well as what the majority number is for w (which is what is linked to above. |