[SERVER-1709] IP addresses in addShard assumed to be hostnames Created: 31/Aug/10 Updated: 12/Jul/16 Resolved: 15/Sep/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | 1.6.2 |
| Fix Version/s: | 1.7.1 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | David Mytton | Assignee: | Mathias Stearn |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Tue Aug 31 19:34:31 MongoDB starting : pid=3142 port=27019 dbpath=/home/david/mongodb/config/ 64-bit |
||
| Operating System: | ALL |
| Participants: |
| Description |
|
if you enter an IP address when executing addShard, mongo assumes it's an hostname and does a DNS lookup on it. This timesout after a long time (~180 seconds or so) and the IP address is used instead, but the DNS lookup occurs every time which means the addShard command takes a long time, as does every further query to the shard. |
| Comments |
| Comment by Mathias Stearn [ 15/Sep/10 ] |
|
This should be solved in tomorrow's nightly, reopen if you still have issues. |
| Comment by auto [ 15/Sep/10 ] |
|
Author: {'login': 'RedBeard0531', 'name': 'Mathias Stearn', 'email': 'mathias@10gen.com'}Message: Fastpath for resolving numeric IP addresses |