Bug #47365 ndb_config --xml --configinfo: mark shm*, sci* as unsupported
Submitted: 16 Sep 13:32 Modified: 4 Nov 15:11
Reporter: Sivert Sorumgard
Status: Closed
Category:Server: Cluster Severity:S3 (Non-critical)
Version:mysql-5.1-telco-7.0 OS:Any
Assigned to: Magnus Blaudd Target Version:
Tags: 7.0.6
Triage: Triaged: D5 (Feature request) / R6 (Needs Assessment) / E6 (Needs Assessment)

[16 Sep 13:32] Sivert Sorumgard
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 8: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 8:18] Sveta Smirnova
Thank you for the report.

Verified SHM part as it is experimental and SCI is supported.
[17 Sep 9: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 13:45] Magnus Blaudd
The deprectade configuration options are not printed out. And I think "experimental" is
just a nice word for "no", will use experimental.
[28 Oct 14: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 11: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 12:17] Magnus Blaudd
Pushed to 6.3 and 7.0.10
[3 Nov 18: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 8:46] Magnus Blaudd
I honestly hope I didn't mark [TCP] as "experimental"
[4 Nov 15: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.