Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 718068 - dev-db/mysql: Adding Cluster support for MySql 8.0
Summary: dev-db/mysql: Adding Cluster support for MySql 8.0
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Linux MySQL bugs team
Depends on:
Reported: 2020-04-18 16:23 UTC by Federico Santulli
Modified: 2020-04-18 19:08 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Federico Santulli 2020-04-18 16:23:12 UTC
In previous versions, building of NDB Cluster from standard MySQL Server sources was not supported. In MySQL 8.0 and NDB Cluster 8.0, this is no longer the case—both products are now built from the same sources.

Reproducible: Always

Steps to Reproduce:
The WITH_NDBCLUSTER option for CMake causes the binaries for the management nodes, data nodes, and other NDB Cluster programs to be built; it also causes mysqld to be compiled with NDB storage engine support. This option (or one of its aliases WITH_NDBCLUSTER_STORAGE_ENGINE and WITH_PLUGIN_NDBCLUSTER) is required when building NDB Cluster. The WITH_NDB_JAVA option is enabled by default. This means that, by default, if CMake cannot find the location of Java on your system, the configuration process fails; if you do not wish to enable Java and ClusterJ support, you must indicate this explicitly by configuring the build using -DWITH_NDB_JAVA=OFF. Use WITH_CLASSPATH to provide the Java classpath if needed.
Actual Results:  
MySQL is compiled with NDB cluster engine support

Expected Results:  
Build MySQL with NDB cluster engine support.

I do propose to add two use flags: cluster and java both of which enables cmake options to build NDB cluster and disable NDB java support.