Bug #12580 | Automatically assigned ServerPorts were wrong | ||
---|---|---|---|
Submitted: | 15 Aug 2005 12:07 | Modified: | 26 Mar 2007 12:44 |
Reporter: | Kai Voigt | Email Updates: | |
Status: | Won't fix | Impact on me: | |
Category: | MySQL Cluster: Cluster (NDB) storage engine | Severity: | S3 (Non-critical) |
Version: | 4.1.13-max | OS: | Linux (Linux 64bit) |
Assigned to: | Stewart Smith | CPU Architecture: | Any |
[15 Aug 2005 12:07]
Kai Voigt
[24 Nov 2005 15:26]
Hartmut Holzgraefe
Looks as if the automatic assignment doesn't work with multiple ndbd processes on each host when the connections between the ndbd processes are specified in [tcp] sections?
[24 Nov 2005 15:28]
Hartmut Holzgraefe
It doesn't seem to be related to 3 machines only, the same effect was observed on a 2 machine setup with 2 ndbd processes per machine and [tcp] specifications with 5.0.15
[1 Dec 2005 7:54]
Stewart Smith
the workaround is to remove the specification of ServerPort. then everything should work. (realised that I hadn't mentioned this in the bug report - just on irc :)
[26 Jan 2006 9:55]
Tomas Ulin
workaround exists
[21 Jun 2006 11:40]
Stewart Smith
for 5.0+ yes. for 4.1 you have to specify manually for each connection. i don't think this is worth fixing.
[9 Nov 2006 11:11]
Stewart Smith
In 5.0 and above, without the port specified, we get the Operating System to allocate free port numbers. This always yields correct results. specifying port numbers for transporters is depricated. (discussed setting this to won't fix with martin, he agrees).
[24 Nov 2006 13:58]
Geert Vanderkelen
Deprecation of the PortNumber is not an option. This is very much useful option that should be available whatever other solution is in place. It should be possible to tell what port a node is listening on. This is important for firewalling.
[26 Mar 2007 12:44]
Stewart Smith
So this is what I think we should do: - depricate setting the base port number - point out that firewall between cluster nodes is silly (private network and all) and all it does is introduce - if port numbers are to be known, can be set statically per connection I vote we just document the 2nd option above. I don't propose fixing this rather obscure case for these reasons: a) backwards compatibility (and online upgrade) testing is huge b) not possible to test with current autotest framework (and forget about mysql-test-run.pl). In fact... not even possible with ndb_mgm_set_configuration() that's part of the add node patches.