Bug #47365 ndb_config --xml --configinfo: mark shm*, sci* as unsupported
Submitted: 16 Sep 2009 11:32 Modified: 4 Nov 2009 14:11
Reporter: Sivert Sørumgård Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:mysql-5.1-telco-7.0 OS:Any
Assigned to: Magnus Blåudd CPU Architecture:Any
Tags: 7.0.6

[16 Sep 2009 11:32] Sivert Sørumgård
Description:
In the output from ndb_config --xml --configinfo, the transporter sections 'TCP', 'TCP DEFAULT', 'SCI', 'SCI DEFAULT', 'SHM', and 'SHM DEFAULT' are listed. 

The non-TCP sections are only for internal use, and could be deleted from the output from ndb_config. Alternatively, if they are still listed in the output, they should be marked with an attribute in the element tag, e.g. supported="false", internal="true", or something similar. 

As an example: <section name="SHM default" comment="shared memory options for ndb data nodes" supported="false">

This applies to sections 'SCI', 'SCI DEFAULT', 'SHM', and 'SHM DEFAULT'. 

How to repeat:
Current output from ndb_config does not distinguish between the sections.
[17 Sep 2009 6:11] Sveta Smirnova
At http://dev.mysql.com/doc/refman/5.1/en/mysql-cluster-interconnects.html SCI and SHM connections listed as supported.
[17 Sep 2009 6:18] Sveta Smirnova
Thank you for the report.

Verified SHM part as it is experimental and SCI is supported.
[17 Sep 2009 7:04] Hartmut Holzgraefe
Following up on the previous IRC discussion i'd like to suggest a general optional

  supported=yes|no|experimental|deprecated 

attribute for all configinfo tags which would default to "yes" ...
[28 Oct 2009 12:45] Magnus Blåudd
The deprectade configuration options are not printed out. And I think "experimental" is just a nice word for "no", will use experimental.
[28 Oct 2009 13:12] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/88479
[3 Nov 2009 10:49] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/89098
[3 Nov 2009 11:17] Magnus Blåudd
Pushed to 6.3 and 7.0.10
[3 Nov 2009 17:53] Jon Stephens
Documented bugfic in the NDB-6.3.29 and 7.0.10 changelogs as follows:

        ndb_config --xml --configinfo now indicates that parameters
        belonging in the [TCP], [TCP DEFAULT], [SCI], [SCI DEFAULT],
        [SHM], and [SHM DEFAULT] sections of the config.ini file are
        deprecated or experimental, as appropriate.

Closed.
[4 Nov 2009 7:46] Magnus Blåudd
I honestly hope I didn't mark [TCP] as "experimental"
[4 Nov 2009 14:11] Jon Stephens
Revised changelog entry is:

        ndb_config --xml --configinfo now indicates that parameters
        belonging in the [SCI], [SCI DEFAULT], [SHM], and [SHM DEFAULT] 
        sections of the config.ini file are deprecated or experimental, 
        as appropriate.

Closed.