[SERVER-1414] Sever does not recognize self when IP addresses are given in replSetInitiate config Created: 13/Jul/10 Updated: 12/Jul/16 Resolved: 29/Jul/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | 1.5.5 |
| Fix Version/s: | 1.5.7 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Tony Hannan | Assignee: | Mathias Stearn |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
mongodb-linux-x86_64-2010-07-13 |
||
| Participants: |
| Description |
|
Start two mongod's on "1.2.3.4": In mongo shell connected to "1.2.3.4": ) {assertion: "can't find self in the replset config", assertionCode: 13279, errmsg: "db assertion failure", ok: 0.0}log on "1.2.3.4": |
| Comments |
| Comment by auto [ 29/Jul/10 ] |
|
Author: {'login': 'RedBeard0531', 'name': 'Mathias Stearn', 'email': 'mathias@10gen.com'}Message: use bind() in HostAndPort::isSelf() |
| Comment by Eliot Horowitz (Inactive) [ 29/Jul/10 ] |
|
method to fix is HostAndPort::isSelf() |
| Comment by Dwight Merriman [ 14/Jul/10 ] |
|
aaron can you fix this? I'm guessing HostAndPort::isSelf() is not smart enough. |