Xtrabackup SST does not copy empty test database | Bump the minimum PXB to 2.1.6
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
MySQL patches by Codership | Status tracked in 5.6 | |||||
5.5 |
Fix Released
|
Medium
|
Alex Yurchenko | |||
5.6 |
Fix Released
|
Medium
|
Alex Yurchenko | |||
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC | Status tracked in 5.6 | |||||
5.5 |
Fix Released
|
Undecided
|
Unassigned | |||
5.6 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
If I do a trivial 2 node setup with simple mysql_install_db default datadir, and Xtrabackup SST, my first node will have the 'test' database, but the second node will not:
node1:
total 2.2G
drwxr-xr-x. 5 mysql root 4.0K Sep 25 18:57 .
drwxr-xr-x. 16 root root 4.0K Sep 25 18:10 ..
-rw-rw----. 1 mysql mysql 20K Sep 25 18:59 error.log
-rw-------. 1 mysql mysql 129M Sep 25 18:57 galera.cache
-rw-rw----. 1 mysql mysql 104 Sep 25 18:57 grastate.dat
-rw-rw----. 1 mysql mysql 18M Sep 25 18:49 ibdata1
-rw-rw----. 1 mysql mysql 1.0G Sep 25 18:50 ib_logfile0
-rw-rw----. 1 mysql mysql 1.0G Sep 25 18:49 ib_logfile1
-rw-rw----. 1 mysql mysql 3.0K Sep 25 18:57 innobackup.
-rw-rw----. 1 mysql mysql 6 Sep 25 18:50 ip-10-238-
drwx------. 2 mysql root 4.0K Sep 25 18:45 mysql
srwxrwxrwx. 1 mysql mysql 0 Sep 25 18:50 mysql.sock
drwx------. 2 mysql mysql 4.0K Sep 25 18:45 performance_schema
drwx------. 2 mysql root 6 Sep 25 18:45 test
-rw-rw----. 1 mysql mysql 39 Sep 25 18:57 xtrabackup_
node2 (after SST):
total 2.2G
drwxr-xr-x. 4 mysql root 4.0K Sep 25 18:59 .
drwxr-xr-x. 16 root root 4.0K Sep 25 18:11 ..
-rw-rw----. 1 mysql mysql 263 Sep 25 18:57 backup-my.cnf
-rw-------. 1 mysql mysql 129M Sep 25 18:57 galera.cache
-rw-rw----. 1 mysql mysql 104 Sep 25 18:59 grastate.dat
-rw-rw----. 1 mysql mysql 18M Sep 25 18:58 ibdata1
-rw-rw----. 1 mysql mysql 1.0G Sep 25 18:58 ib_logfile0
-rw-rw----. 1 mysql mysql 1.0G Sep 25 18:58 ib_logfile1
-rw-rw----. 1 mysql mysql 5.3K Sep 25 18:58 innobackup.
-rw-rw----. 1 mysql mysql 6 Sep 25 18:59 ip-10-149-
drwx------. 2 mysql mysql 4.0K Sep 25 18:57 mysql
srwxrwxrwx. 1 mysql mysql 0 Sep 25 18:59 mysql.sock
drwx------. 2 mysql mysql 4.0K Sep 25 18:57 performance_schema
-rw-rw----. 1 mysql mysql 13 Sep 25 18:57 xtrabackup_binary
-rw-rw----. 1 mysql mysql 77 Sep 25 18:58 xtrabackup_
-rw-rw----. 1 mysql mysql 39 Sep 25 18:57 xtrabackup_
-rw-rw----. 1 mysql mysql 2.0M Sep 25 18:58 xtrabackup_logfile
This causes node2 to crash if I try to create a table in the 'test' schema on node1.
summary: |
- Xtrabackup SST does not copy empty test database + Xtrabackup SST does not copy empty test database | Bump the minimum PXB + to 2.1.6 |
tags: | added: sst xtrabackup |
This is PXC 5.5.33