Bug #48499 ndb_config --xml --configinfo: mark shm*, sci* as unsupported
Submitted: 3 Nov 2009 12:15 Modified: 3 Nov 2009 15:40
Reporter: Jon Stephens Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: CPU Architecture:Any

[3 Nov 2009 12:15] Jon Stephens
Description:
[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 8:19] Sveta Smirnova

IRC log:

[10:11]	<sveta>	hartmut: bug #47365 is not a bug, correct?
[10:14]	<hartmut>	sveta: SCI is supported for sure, although we only have very very few
users of that
[10:14]	<hartmut>	sveta: SHM i've never seen in action and i'm pretty sure it was declared
as "not supported anymore" at some point ...
[10:15]	<hartmut>	sveta:
http://dev.mysql.com/doc/refman/5.1/en/mysql-cluster-shm-definition.html "Important
[10:15]	<hartmut>	SHM functionality is considered experimental only. It is not officially
supported in any current MySQL Cluster release, ..."
[10:16]	<sveta>	hartmut: ah-ha, thank you! So partially verified feature request

[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

[28 Oct 14:12] Magnus Blaudd

Jonas, please review patch. For next version.

[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

How to repeat:
See Description

Suggested fix:
See Description
[3 Nov 2009 15:40] Jon Stephens
Duplicate of BUG#47365.