Bug #25470 Patch: Fix building NDB Cluster with Dolphin SCI transporter
Submitted: 8 Jan 2007 18:13 Modified: 30 Jun 2007 11:05
Reporter: Lenz Grimmer Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:5.1 OS:Any
Assigned to: Mikael Ronström CPU Architecture:Any
Tags: Contribution

[8 Jan 2007 18:13] Lenz Grimmer
Description:
The attached patches have been contributed by Mikel Ronström on behalf of Dolphin Interconnect:

dolphin_fixes.patch
This patch contains fixes that make the SCI Transporter build. There was a number of problems introduced in newer versions of MySQL that have been corrected in this
patch.

dolphin_build_adds.patch
This patch contains 2 new build scripts that can be used to build MySQL Cluster using the SCI Transporter.

How to repeat:
Try to build NDB cluster with the SCI transporter, observe failures. Apply the patch and repeat.
[8 Jan 2007 18:15] Lenz Grimmer
dolphin_fixes.patch

Attachment: dolphin_fixes.patch (text/x-patch), 17.08 KiB.

[8 Jan 2007 18:15] Lenz Grimmer
dolphin_build_adds.patch

Attachment: dolphin_build_adds.patch (text/x-patch), 2.36 KiB.

[19 Jun 2007 10:02] Jon Stephens
Discussed with Mikael/Tomas: Patches not yet ready, reverting to PP status and assigning to Mikael for now.
[25 Jun 2007 6:52] Mikael Ronström
The patch was pushed to 5.0.44 + 5.1.20
[25 Jun 2007 18:50] Jon Stephens
Noted that the new scripts are available in the 5.0.44 and 5.1.20 changelogs. However... according to http://dev.mysql.com/doc/refman/5.1/en/mysql-cluster-sci-sockets.html,

"It is possible to use SCI Sockets with any version of MySQL Cluster. No special builds are needed because it uses normal socket calls which are already available in MySQL Cluster."

So why are special build scripts needed? Do the -max builds not include  --with-ndb-sci=/opt/DIS as the statement in the Manual would seem to suggest?

Are there any other errors/inconsistencies on that page that need to be corrected?

Thanks!
[26 Jun 2007 10:28] Mikael Ronström
There is a difference between using SCI Sockets and using SCI Transporter.
SCI Sockets uses TCP/IP sockets and can be used with any MySQL Cluster version.
However SCI Sockets (SuperSockets) are currently only available on Linux so
on other platforms like Solaris one still has to use SCI Transporter and this
requires a special build since it uses a special SCI Transporter.
[26 Jun 2007 14:05] Jon Stephens
I'm sorry, your explanation appears to contradict itself.
[26 Jun 2007 16:31] Mikael Ronström
There is no contradiction, you can read the current doc's also to find out more about
the difference.
What is it that isn't clear?
[30 Jun 2007 11:05] Jon Stephens
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release.

If necessary, you can access the source repository and build the latest available version, including the bug fix. More information about accessing the source trees is available at

    http://dev.mysql.com/doc/en/installing-source.html

Thanks, I didn't realise there was a difference between "SCI Sockets" and "SCI Transporter".

Updated mysql-cluster-sci-sockets section of 4.1/5.0/5.1/5.2 Manuals, with references to resolved issues and new scripts where applicable.