Issues

Select view

Select search mode

 
19 of 19

Allow backups even if just a single node is available

Done

Description

With big databases it's possible to have a node in recovering state for a long time (several hours with slow disks).

When cluster created with existing PVC and one node requires recovery the cluster status stuck in ClusterInitializing .

ClusterInitializing effectively disables backups even if a single node is recovering.

Expected behavior: allow backups even if just a single pxc node is alive.

Environment

None

AFFECTED CS IDs

None

Smart Checklist

Details

Assignee

Reporter

Needs QA

Yes

Fix versions

Priority

Smart Checklist

Created May 27, 2021 at 12:14 PM
Updated March 5, 2024 at 5:51 PM
Resolved August 9, 2021 at 8:09 AM

Activity

Tomislav PlavcicJuly 13, 2021 at 7:27 AM
Edited

This kind of works, but same limitations exist like in PSMDB operator so not sure how useful it will be in production.

  1. You need to have "allowUnsafeConfigurations" set - if your cluster is in Initializing state you probably will not be able to change it during this time so it should have been set before.

  2. If you have only 1 PXC instance running it likely means that there is no primary component (quorum lost) so the backup will fail with

    But for example if you have 5 node cluster and 2 are recovering you will be able to make a backup - if you have "allowUnsafeConfigurations" set.

^