Bug #49781 | Insufficient restart types for API nodes listed in ConfigInfo.cpp | ||
---|---|---|---|
Submitted: | 17 Dec 2009 19:30 | Modified: | 4 Jan 2010 10:39 |
Reporter: | Matthew Montgomery | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Cluster: Cluster (NDB) storage engine | Severity: | S4 (Feature request) |
Version: | mysql-5.1-telco-7.0 | OS: | Any |
Assigned to: | Magnus Blåudd | CPU Architecture: | Any |
Tags: | 7.0.10 |
[17 Dec 2009 19:30]
Matthew Montgomery
[17 Dec 2009 19:35]
MySQL Verification Team
RSA type is needed when adding (or moving?) MGM nodes in a live cluster also.
[18 Dec 2009 21:23]
Magnus Blåudd
The restart type is defined in the comment for enum ConfigInfo::Flags in ConfigInfo.hpp and the default is as you see "node restart of one node at a time for the setting to take effect" and that means ALL(ndb_mgmd, ndbd and api) nodes. We have identified a couple of parameters that if changed need initial or even initial system restart and have marked those appropriately. We currently have _no_ parameters that does not need any restart at all. Sorry, but I must close this as not a bug. " enum Flags { CI_ONLINE_UPDATEABLE = 1, // Parameter can be updated online CI_CHECK_WRITABLE = 2, // Path given by parameter should be writable /* Flags telling how the system must be restarted for a changed parameter to take effect Default is none of these flags set, which means node restart of one node at a time for the setting to take effect CS_RESTART_INITIAL Each data node need to be restarted one at a time with --initial CS_RESTART_SYSTEM The whole system need to be stopped and then started up again CS_RESTART_SYSTEM + CS_RESTART_INITIAL The whole system need to be stopped and then restarted with --initial thus destroying any data in the cluster These flags can not be combined with CI_ONLINE_UPDATABLE flag which indicates that the parameter can be changed online without restarting anything */ CI_RESTART_SYSTEM = 4, // System restart is necessary to apply setting CI_RESTART_INITIAL = 8 // Initial restart is necessary to apply setting };"
[4 Jan 2010 10:39]
Jon Stephens
Anything changed in config.ini requires at a minimum a rolling restart of the cluster to take effect. This is the default. These facts are documented. Any change that happens or appears to work without performing at least a rolling restart does just that -- happens or appears to work -- and is not guaranteed behaviour. Therefore, I'm closing this as !BUG as suggested by Magnus.
[8 Jan 2010 9:58]
Jon Stephens
Furthermore: It's not appropriate to have info not relating to Cluster parameters in the output of ndb_config. Info about MySQL server options should be obtained from `mysqld --help --verbose` (or by some other means from mysqld.cc). MCM should determine whether an attribute originates with config.ini or my.cnf. In the latter case, it should restart only the mysqld to which that my.cnf belongs.