Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.6.13
-
FROM almalinux:8.8-minimal
COPY MariaDB.rhel8-amd64.repo /etc/yum.repos.d/MariaDB.repo
RUN microdnf update -y && microdnf install -y shadow-utils && \
microdnf clean -y all
RUN groupadd -r mysql && useradd -r -g mysql mysql
ENV MARIADB_MAJOR 10.6
ENV MARIADB_VERSION 10.6.13
ENV GOSU_VERSION 1.16
RUN rpm --import https://supplychain.mariadb.com/MariaDB-Server-GPG-KEY && \
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \
microdnf install -y MariaDB-server-$MARIADB_VERSION MariaDB-rocksdb-engine-$MARIADB_VERSION MariaDB-backup-$MARIADB_VERSION jemalloc pwgen tzdata xz zstd && \
microdnf reinstall tzdata -y && \
microdnf clean -y all && \
curl https://github.com/tianon/gosu/releases/download/1.16/gosu-amd64 -L --output /usr/local/bin/gosu && \
chmod a+x /usr/local/bin/gosu; \
gosu --version; \
gosu nobody true
VOLUME /var/lib/mysql
COPY docker-entrypoint.sh /usr/local/bin/
COPY my.cnf /etc/my.cnf.d/my.cnf
RUN rm -rf /var/lib/mysql; \
mkdir -p /var/lib/mysql /var/run/mysqld; \
chown -R mysql:mysql /var/lib/mysql /var/run/mysqld; \
chmod 777 /var/run/mysqld; \
mkdir /docker-entrypoint-initdb.d ; \
chmod +x /usr/local/bin/docker-entrypoint.sh
ENTRYPOINT ["docker-entrypoint.sh"]
EXPOSE 3306
CMD ["mysqld"]FROM almalinux:8.8-minimal COPY MariaDB.rhel8-amd64.repo /etc/yum.repos.d/MariaDB.repo RUN microdnf update -y && microdnf install -y shadow-utils && \ microdnf clean -y all RUN groupadd -r mysql && useradd -r -g mysql mysql ENV MARIADB_MAJOR 10.6 ENV MARIADB_VERSION 10.6.13 ENV GOSU_VERSION 1.16 RUN rpm --import https://supplychain.mariadb.com/MariaDB-Server-GPG-KEY && \ rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \ microdnf install -y MariaDB-server-$MARIADB_VERSION MariaDB-rocksdb-engine-$MARIADB_VERSION MariaDB-backup-$MARIADB_VERSION jemalloc pwgen tzdata xz zstd && \ microdnf reinstall tzdata -y && \ microdnf clean -y all && \ curl https://github.com/tianon/gosu/releases/download/1.16/gosu-amd64 -L --output /usr/local/bin/gosu && \ chmod a+x /usr/local/bin/gosu; \ gosu --version; \ gosu nobody true VOLUME /var/lib/mysql COPY docker-entrypoint.sh /usr/local/bin/ COPY my.cnf /etc/my.cnf.d/my.cnf RUN rm -rf /var/lib/mysql; \ mkdir -p /var/lib/mysql /var/run/mysqld; \ chown -R mysql:mysql /var/lib/mysql /var/run/mysqld; \ chmod 777 /var/run/mysqld; \ mkdir /docker-entrypoint-initdb.d ; \ chmod +x /usr/local/bin/docker-entrypoint.sh ENTRYPOINT ["docker-entrypoint.sh"] EXPOSE 3306 CMD ["mysqld"]
Description
I would like to report an issue regarding the MyRocks plugin in MariaDB 10.6.13 on RHEL/AlmaLinux/RockyLinux 8.
The problem is that the MyRocks plugin is unable to detect the zstd compression algorithm.
Even after installing libzstd 1.4.4, I still encounter the following error:
[ERROR] RocksDB: Error opening instance, Status Code: 4, Status: Invalid argument: Compression type ZSTD is not linked with the binary.
or
[ERROR] RocksDB: Failed to initialize data dictionary.
[ERROR] Plugin 'ROCKSDB' init function returned error.
[ERROR] Plugin 'ROCKSDB' registration as a STORAGE ENGINE failed.