[SERVER-86114] Investigate if replica set endpoint should become inactive on a node that has been removed from replica set configuration Created: 02/Feb/24 Updated: 02/Feb/24 |
|
| Status: | Needs Scheduling |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Cheahuychou Mao | Assignee: | Cheahuychou Mao |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
After a node has been removed from the replica set configuration and somehow it manages to replicate the new replica set configuration, if the node doesn't get restarted with --maintenanceMode, the replica set endpoint would still be active. So every command that the replica set endpoint forces to go through the router would get an empty HostAndPort when looking up its own HostAndPort here and fail with a HostNotFound error. |