From: Brian Evans Date: Tue, 12 Mar 2019 22:41:38 +0000 (-0400) Subject: dev-db/mariadb: Alert users to the deprecation of sst-xtrabackup X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=8865ff87d9240332171bd9b5da6a7af16fe57e62;p=gentoo.git dev-db/mariadb: Alert users to the deprecation of sst-xtrabackup sst-xtrabackup is broken by default in >=10.2.19 and incompatible in >=10.3 Issue ewarns for those on 10.2 to move to sst-mariabackup instead Closes: https://bugs.gentoo.org/677674 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Brian Evans --- diff --git a/dev-db/mariadb/mariadb-10.2.22-r1.ebuild b/dev-db/mariadb/mariadb-10.2.22-r1.ebuild index 378d0f3fde96..1c7bc36bc7dd 100644 --- a/dev-db/mariadb/mariadb-10.2.22-r1.ebuild +++ b/dev-db/mariadb/mariadb-10.2.22-r1.ebuild @@ -225,6 +225,12 @@ pkg_postinst() { elog "--wsrep-new-cluster to the options in /etc/conf.d/mysql for one node." elog "This option should then be removed for subsequent starts." einfo + if use sst-xtrabackup ; then + ewarn "As per https://mariadb.com/kb/en/meta/xtrabackup_warning/, XtraBackup" + ewarn "as an SST is broken by default beginning with 10.2.19 with the setting" + ewarn "innodb_safe_truncate=ON. Please migrate to sst-mariabackup instead." + ewarn "sst-xtrabackup is being removed in 10.3 and higher." + fi fi fi