[SERVER-47545] isSelf should consider any host address in the 127.0.0.1/8 range as the loopback interface Created: 15/Apr/20 Updated: 29/Oct/23 Resolved: 16/Apr/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Networking, Replication |
| Affects Version/s: | None |
| Fix Version/s: | 4.4.0-rc2, 4.7.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | William Schultz (Inactive) | Assignee: | William Schultz (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Backport Requested: |
v4.4
|
||||||||||||||||||||
| Sprint: | Repl 2020-04-20 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Linked BF Score: | 41 | ||||||||||||||||||||
| Description |
|
Currently the isSelf command will only consider a given hostname as the local machine if it's corresponding IP address exactly matches one of the IP addresses the process is listening to. If the given hostname maps to some address in the 127.0.0.1/8 range that is not 127.0.0.1, though, it will not consider this as pointing to the loopback and will bypass this fast path. We should allow it to consider any host address in this range as mapping to the loopback. |
| Comments |
| Comment by Githook User [ 20/Apr/20 ] |
|
Author: {'name': 'William Schultz', 'email': 'william.schultz@mongodb.com', 'username': 'will62794'}Message: (cherry picked from commit 5d27d869ef502efc0e6bb27f028676ed479efaa3) |
| Comment by Githook User [ 16/Apr/20 ] |
|
Author: {'name': 'William Schultz', 'email': 'william.schultz@mongodb.com', 'username': 'will62794'}Message: |