summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2019-03-12 18:41:38 -0400
committerBrian Evans <grknight@gentoo.org>2019-03-12 18:42:39 -0400
commit8865ff87d9240332171bd9b5da6a7af16fe57e62 (patch)
tree446a402522c316512b68da042a246372c2484f74
parentprofiles: package.use.mask - disable sst-xtrabackup from mariadb (diff)
downloadgentoo-8865ff87d9240332171bd9b5da6a7af16fe57e62.tar.gz
gentoo-8865ff87d9240332171bd9b5da6a7af16fe57e62.tar.bz2
gentoo-8865ff87d9240332171bd9b5da6a7af16fe57e62.zip
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 <grknight@gentoo.org>
-rw-r--r--dev-db/mariadb/mariadb-10.2.22-r1.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-db/mariadb/mariadb-10.2.22-r1.ebuild b/dev-db/mariadb/mariadb-10.2.22-r1.ebuild
index 378d0f3fde9..1c7bc36bc7d 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