Bug #53223 Config parameter Nodegroup should have restart type system
Submitted: 27 Apr 2010 20:41 Modified: 28 Apr 2010 8:09
Reporter: Dyre Tjeldvoll Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:mysql-5.1-telco-7.1 OS:Any
Assigned to: CPU Architecture:Any

[27 Apr 2010 20:41] Dyre Tjeldvoll
Description:
Magnus BlÄudd <Magnus.Blaudd@Sun.COM> writes:

Nodegroup | all
Only used during initial cluster start so maybe it should have
restart type set to system.

It's unclear how this parameter is to be used.
The description for the parameter says "Nodegroup for node, only used during initial cluster start".
Looking at the implementation in Dbdih, it was added for ADD NODEGROUP by Jonas, and we for sure intend that it should be possible to add nodes without initial system restart :)

The parameter is mentioned at the end of this page in the manual
http://dev.mysql.com/doc/refman/5.1/en/mysql-cluster-online-add-node-example.html
But apart from that there are not trace of it, so at least it need to be better documented and the description updated.

How to repeat:
NA

Suggested fix:
Add documentation and set restart type to system
[28 Apr 2010 6:57] Sveta Smirnova
Thank you for the report.

But what exactly you want to be fixed?

See also http://dev.mysql.com/doc/refman/5.1/en/mysql-cluster-ndbd-definition.html:

NodeGroup
Version Introduced 	5.1.30-ndb-6.4.0
Restart Type 	initial, system
  	Permitted Values
Type 	numeric
Default 	
Range 	0-64K

This parameter can be used to assign a data node to a specific node group. 
...
[28 Apr 2010 7:15] Dyre Tjeldvoll
It would be good if the output from ndb_config matched what you quote from the documentation:

/usr/local/cluster-mgt/cluster-7.1.3/bin/ndb_config --configinfo
[...]
Nodegroup (Non-negative Integer)
Nodegroup for node, only used during initial cluster start
(Min: 0, Max: 65536)

And 
/usr/local/cluster-mgt/cluster-7.1.3/bin/ndb_config --configinfo --xml
[...]
    <param name="Nodegroup" comment="Nodegroup for node, only used during initial cluster start" type="unsigned" min="0" max="65536"/>
[28 Apr 2010 8:09] Sveta Smirnova
Thank you for the feedback.

Verified as described;

Nodegroup (Non-negative Integer)
Nodegroup for node, only used during initial cluster start
(Min: 0, Max: 65536)

...

  <param name="Nodegroup" comment="Nodegroup for node, only used during initial cluster start" type="unsigned" min="0" max="65536"/>