[SERVER-34622] ReplSetTest.start() does not use correct node options if bridge is enabled Created: 23/Apr/18 Updated: 29/Oct/23 Resolved: 24/Apr/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 3.7.7 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kyle Suarez | Assignee: | Kyle Suarez |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Sprint: | Repl 2018-05-07 | ||||
| Participants: | |||||
| Linked BF Score: | 0 | ||||
| Description |
|
If the bridge is enabled, the real connection to the server is stored in _unbridgedNodes:
But when we restart a node, we don't take the bridge into account when looking for the existing options:
If _useBridge is true, then this.nodes[n].fullOptions will be undefined. One symptom of the bug is that nodes that are restart when the bridge is enabled will not be restarted on their old port; instead, they'll be assigned a new port number. |
| Comments |
| Comment by Githook User [ 24/Apr/18 ] |
|
Author: {'email': 'kyle.suarez@mongodb.com', 'username': 'ksuarz', 'name': 'Kyle Suarez'}Message: Otherwise, restarting a node will not use the correct options for when |
| Comment by Githook User [ 24/Apr/18 ] |
|
Author: {'email': 'kyle.suarez@mongodb.com', 'username': 'ksuarz', 'name': 'Kyle Suarez'}Message: Revert " This reverts commit 0e374292088c87a86fee802160ca2467b81d4620. |
| Comment by Githook User [ 24/Apr/18 ] |
|
Author: {'email': 'kyle.suarez@mongodb.com', 'username': 'ksuarz', 'name': 'Kyle Suarez'}Message: Otherwise, restarting a node will not use the correct options for when |