Bug #46488 | Starting ndb_mgmd with --initial by mistake gives confusing error | ||
---|---|---|---|
Submitted: | 31 Jul 2009 9:59 | Modified: | 7 Oct 2009 12:57 |
Reporter: | Geert Vanderkelen | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Cluster: Cluster (NDB) storage engine | Severity: | S2 (Serious) |
Version: | mysql-5.1.30-telco-7.0.6 | OS: | Any |
Assigned to: | Magnus Blåudd | CPU Architecture: | Any |
Tags: | ndb_mgmd |
[31 Jul 2009 9:59]
Geert Vanderkelen
[31 Jul 2009 10:00]
Geert Vanderkelen
Maybe same as Bug#45495 ? Verified using MySQL Cluster 7.0.6.
[31 Jul 2009 10:02]
Geert Vanderkelen
Not like Bug#45495, here the ndb_mgmd starts, but is useless although it shows connected.
[7 Aug 2009 8:53]
Jonas Oreland
no point in making a new 7.0 release until this has been fixed
[30 Aug 2009 5:34]
Geert Vanderkelen
The workaround would 'do not make the mistake to put --initial'.
[1 Sep 2009 8:58]
Magnus Blåudd
The log from the running mgmd shows: 2009-09-01 10:48:19 [MgmSrvr] WARNING -- Refusing other node, it's in different state: 1, expected: 2 after this message the other node is "waiting" - for what? :) Question is what action to take? 1. The starting ndb_mgmd should stop and report the error, the other node is already up and has a confirmed config. or 2. The starting node should grab the config from the other node and continue. If the config.ini of the starting node is exactly the same no warning need to be printed otherwise porint a warning saying that the local config.ini is outdated. This is more inline how it works if the starting mgmd wouldn't have had a config.ini specified on the command line.
[1 Sep 2009 9:01]
Magnus Blåudd
Additional workaround is to not specify which config.ini to use on the command line, The starting ndb_mgmd will then synch up with the other ndb_mgmd and go from there. node1: shell> ndb_mgmd --configdir=. --initial
[7 Oct 2009 12:23]
Magnus Blåudd
Fixed by BUG#45495
[7 Oct 2009 12:57]
Jon Stephens
Already documented -- see BUG#49495 for changelog entry. Closed.
[6 Nov 2009 9:36]
Gustaf Thorslund
jon: s/BUG#49495/BUG#45495/