Bug #113661 | NDB storage engine built ignoring -DWITH_NDB=OFF (which is OFF by default too) | ||
---|---|---|---|
Submitted: | 17 Jan 2024 10:46 | Modified: | 8 Jul 2024 19:52 |
Reporter: | Laurynas Biveinis (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Documentation | Severity: | S3 (Non-critical) |
Version: | 8.0.36 | OS: | Any |
Assigned to: | Jon Stephens | CPU Architecture: | Any |
[17 Jan 2024 10:46]
Laurynas Biveinis
[18 Jan 2024 5:09]
MySQL Verification Team
Hello Laurynas, Thank you for the report and feedback! regards, Umesh
[25 Jun 2024 14:31]
Magnus Blåudd
Posted by developer: The MySQL Server us now built with the ndbcluster plugin by default. Some parts of NDB code base is always built unless explicitly turned off. This means that the normal MySQL Server can connect to a MySQL NDB Cluster simply by using command line arguments --ndbcluster and --ndb-connectstring=<cluster_connect string>, there is no need to download the MySQL Server which is shipped with the cluster packages. The cmake option WITH_NDB are used to turn on build of entire MySQL NDB Cluster, default is off. For customized builds which do not want ndbcluster plugin built, it can be disabled by turning WITH_NDBCLUSTER_STORAGE_ENGINE off on the cmake command line, default is on. The old option WITH_PLUGIN_NDBCLUSTER should not be used.
[25 Jun 2024 14:34]
Magnus Blåudd
Posted by developer: Closing as it works by design and there is a way to turn off build of the ndbcluster plugin and/or NDB.
[25 Jun 2024 14:36]
Magnus Blåudd
Same on all platforms.
[26 Jun 2024 13:55]
Laurynas Biveinis
Can confirm that adding -DWITH_NDBCLUSTER_STORAGE_ENGINE=OFF does what I wanted it do to. There might be still a doc bug in there: https://dev.mysql.com/doc/refman/8.4/en/source-configuration-options.html#option_cmake_wit... and other NDB option descriptions are not immediately obvious in this regard. Perhaps it could be clarified a bit more there?
[28 Jun 2024 10:26]
Magnus Blåudd
Posted by developer: Good point, checking with Docs team if that page can be improved.
[8 Jul 2024 14:29]
Jon Stephens
Following discussion with Magnus--changing category to Docs, assigning to myself for resolution.
[8 Jul 2024 17:41]
Jon Stephens
Note: WITH_PLUGIN_NDBCLUSTER was removed in NDB 8.0.31, and this was already reflected in the documentation.
[8 Jul 2024 19:52]
Jon Stephens
Fixed in all versions of the MySQL Manual, in mysqldoc rev 78989. Closed.