Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 551684 - dev-db/mariadb-galera-10.0.19: xtrabackup-v2 SST failing with non-default log-bin setting
Summary: dev-db/mariadb-galera-10.0.19: xtrabackup-v2 SST failing with non-default log...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-10 16:18 UTC by Pascal Jufer
Modified: 2015-07-23 00:34 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Jufer 2015-06-10 16:18:23 UTC
See the following bug in MariaDB:

https://mariadb.atlassian.net/browse/MDEV-7903

It will be fixed in 10.0.20. However if it's not too complex, the following patch could be added to the 10.0.19 ebuild:

diff --git a/scripts/wsrep_sst_xtrabackup-v2 b/scripts/wsrep_sst_xtrabackup-v2
index 71e25f0..f604969 100755
--- a/scripts/wsrep_sst_xtrabackup-v2
+++ b/scripts/wsrep_sst_xtrabackup-v2
@@ -870,7 +870,7 @@ then
             mv $DATA/${BINLOG_FILENAME}.* $BINLOG_DIRNAME/ 2>/dev/null || true
 
             pushd $BINLOG_DIRNAME &>/dev/null
-            for bfiles in $(ls -1 ${BINLOG_FILENAME}.*);do
+            for bfiles in $(ls -1 ${BINLOG_FILENAME}.[0-9]+);do
                 echo ${BINLOG_DIRNAME}/${bfiles} >> ${BINLOG_FILENAME}.index
             done
             popd &> /dev/null

Thanks!

Reproducible: Always
Comment 1 Brian Evans (RETIRED) gentoo-dev 2015-06-10 18:12:51 UTC
Let's wait to see what upstream says
Comment 2 Brian Evans (RETIRED) gentoo-dev 2015-07-23 00:34:22 UTC
Fixed Upstream with version 10.0.20