Commit da64ec1e authored by Otto Kekäläinen's avatar Otto Kekäläinen Committed by Vicențiu-Marian Ciorbaru

MDEV-19110: Remove Cassandra from Debian packaging

Cassandra has deprecated their Thrift interface years ago (a few months
after Cassandra SE was released). The new way to access Cassandra is to
use the CQL Connector, which does not use Thrift.

There have been talks to make a CassandraSE V2 but no usable code have
been produced. The motivation to keep CassandraSE in the MariaDB source
code is to have it as an example for such future attempts.

It can stay in the source code but it should be removed from packaging
to avoid Debian packaging maintenance work around trying to compile it
and have tests pass on new platform.

If somebody wants Cassandra, they can use the 10.4 branch.
parent 9cc1c74c
...@@ -80,12 +80,6 @@ fi ...@@ -80,12 +80,6 @@ fi
# Always remove AWS plugin, see -DNOT_FOR_DISTRIBUTION in CMakeLists.txt # Always remove AWS plugin, see -DNOT_FOR_DISTRIBUTION in CMakeLists.txt
sed '/Package: mariadb-plugin-aws-key-management-10.2/,/^$/d' -i debian/control sed '/Package: mariadb-plugin-aws-key-management-10.2/,/^$/d' -i debian/control
# Don't build Cassandra package if Thrift is not installed
if [[ ! -f /usr/local/include/thrift/Thrift.h && ! -f /usr/include/thrift/Thrift.h ]]
then
sed '/Package: mariadb-plugin-cassandra/,/^$/d' -i debian/control
fi
# If libpcre2-dev is not available (before Debian Stretch and Ubuntu Xenial) # If libpcre2-dev is not available (before Debian Stretch and Ubuntu Xenial)
# attempt to build using older libpcre3-dev (SIC!) # attempt to build using older libpcre3-dev (SIC!)
if ! apt-cache madison libpcre2-dev | grep --quiet 'libpcre2-dev' if ! apt-cache madison libpcre2-dev | grep --quiet 'libpcre2-dev'
...@@ -93,7 +87,7 @@ then ...@@ -93,7 +87,7 @@ then
sed 's/libcurl4-openssl-dev | libcurl4-dev/libpcre3-dev/' -i debian/control sed 's/libcurl4-openssl-dev | libcurl4-dev/libpcre3-dev/' -i debian/control
fi fi
# Cassandra, Mroonga etc never built on Travis CI anyway, see build flags above # Mroonga, Spider etc never built on Travis CI anyway, see build flags above
if [[ $TRAVIS ]] if [[ $TRAVIS ]]
then then
sed -i -e "/Package: mariadb-plugin-mroonga/,/^$/d" debian/control sed -i -e "/Package: mariadb-plugin-mroonga/,/^$/d" debian/control
......
...@@ -718,29 +718,6 @@ Description: Spider storage engine for MariaDB ...@@ -718,29 +718,6 @@ Description: Spider storage engine for MariaDB
instances to be handled as if they were on the same instance. It refers to one instances to be handled as if they were on the same instance. It refers to one
possible implementation of ISO/IEC 9075-9:2008 SQL/MED. possible implementation of ISO/IEC 9075-9:2008 SQL/MED.
Package: mariadb-plugin-cassandra
Architecture: any
Depends: mariadb-server-10.5 (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends}
Breaks: mariadb-server-10.0,
mariadb-server-10.1,
mariadb-server-10.2,
mariadb-server-10.3,
mariadb-server-10.4
Replaces: mariadb-server-10.0,
mariadb-server-10.1,
mariadb-server-10.2,
mariadb-server-10.3,
mariadb-server-10.4
Description: Cassandra storage engine for MariaDB
The Cassandra Storage Engine allows access to data in a Cassandra cluster from
MariaDB, combining the best of SQL and no-SQL worlds. Cassandra SE (storage
engine) makes Cassandra's column family appear as a table in MariaDB that you
can insert to, update, and select from. You can write joins against this table,
it is possible to join data that's stored in MariaDB with data that's stored in
Cassandra.
Package: mariadb-plugin-gssapi-server Package: mariadb-plugin-gssapi-server
Architecture: any Architecture: any
Depends: libgssapi-krb5-2, Depends: libgssapi-krb5-2,
......
etc/mysql/conf.d/cassandra.cnf etc/mysql/mariadb.conf.d
usr/lib/mysql/plugin/ha_cassandra.so
...@@ -86,6 +86,7 @@ endif ...@@ -86,6 +86,7 @@ endif
-DCMAKE_SYSTEM_PROCESSOR=$(DEB_HOST_ARCH) \ -DCMAKE_SYSTEM_PROCESSOR=$(DEB_HOST_ARCH) \
-DBUILD_CONFIG=mysql_release \ -DBUILD_CONFIG=mysql_release \
-DWITHOUT_TOKUDB=true \ -DWITHOUT_TOKUDB=true \
-DWITHOUT_CASSANDRA=true \
-DPLUGIN_AWS_KEY_MANAGEMENT=NO \ -DPLUGIN_AWS_KEY_MANAGEMENT=NO \
-DDEB=$(DEB_VENDOR) ..' -DDEB=$(DEB_VENDOR) ..'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment