Backup restore to a non-persistent cluster fails
Description
Environment
Smart Checklist
Activity

Ben Langfeld October 18, 2021 at 12:43 PM
The workaround was simply to convert the cluster to use PVC-provided storage by deleting the StatefulSet without cascading and rolling over the cluster one node at a time.

Sergey Pronin October 12, 2021 at 6:52 AM
agree. We will do this.
Could you please share the workaround?

Ben Langfeld October 11, 2021 at 12:43 PM
We are able to work around the inability to restore backups to emptyDir-based clusters. It might just be nice to document the restriction and fail with a more specific error indicating the restriction directly.

Sergey Pronin October 8, 2021 at 8:09 PM
Hello , thank you for submitting this.
Looks like the problem with restore has deeper roots. When we perform the restoration in PXC Operator (in Mongo it works differently), we create a separate Pod, which restores the data. Once restore is complete, we start PXC Pods.
But in the case of emptyDir it does not work, as it is cleaned up right after restore Pod is gone. PXC Pod starts, but data is not there already.
Could you please describe your use case for emptyDir in more details, so that we understand how to resolve it faster?

Aleksandra Abramova October 1, 2021 at 1:50 PM
Hello!
We would like to send you a gift for your activity! Please, send us your mailing address to community-team@percona.com
Details
Assignee
Sergey ProninSergey Pronin(Deactivated)Reporter
Ben LangfeldBen LangfeldAffects versions
Priority
Medium
Details
Details
Assignee

Reporter

Affects versions
Priority
Smart Checklist
Open Smart Checklist
Smart Checklist
Open Smart Checklist
Smart Checklist

Attempting to restore a pxc-backup to a PXC cluster with emptyDir volumes fails with the following status:
It appears that waitForPVCShutdown doesn't contemplate the case where the list of PVCs is empty.