Skip to content

Recovery after rm -rf /var/lib/postgresql/data/pgdata #4344

Answered by gbartolini
godunko-mikhail asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, this is a known behavior and it should be addressed as part of a broader initiative of when a PVC group (how we define a set of volumes in CNPG) is not available anymore for any reason. Superuser escalation is an example (BTW, by default superuser access is not allowed in CNPG). But another one could be an unrepairable failure on a node when you use local disks.

This issue is somehow related to the work we started with #2570, and it will involve determining a time-based value of an instance not being ready after which we give CNPG the permission to delete a PVC Group. However, this is a feature in the self-healing area that requires a lot of thought and care.

What you need to do now i…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sxd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants