docker image relies on init.ok, that is deleted when SST is triggered
Bug #1632695 reported by
Miguel Angel Nieto
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Cloned from Jira PXC-701:
Our docker images use pxc-entry.sh. The code shows that it relies on a file created manually on the datadir, with name init.ok. The problem is that xtrabackup SST removes that file, so in case a node leaves and then rejoins requesting a SST, init.ok will be removed and the service won't work anymore.
It is even easy to reproduce with a single-node cluster. Stop and start the docker container all the times you want, and it will work. Remove init.ok, and it won't start anymore.
Place init.ok somewhere else, or fix xtrabackup script so it doesn't delete that file.
Reported by a customer #142420
Changed in percona-xtradb-cluster: | |
status: | New → Confirmed |
tags: | added: i142420 |
Changed in percona-xtradb-cluster: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix committed for next versions of PXC 5.6/5.7