Pre-create event table partitions before db backup in operator (#1443)

Signed-off-by: jessicamack <jmack@redhat.com>
<44379968+TheRealHaoLiu@users.noreply.github.com>
This commit is contained in:
jessicamack
2023-09-26 10:20:12 -04:00
committed by GitHub
parent aee1b464ed
commit 31e1914db6
4 changed files with 47 additions and 0 deletions

View File

@@ -44,4 +44,7 @@ additional_labels: []
# Maintain some of the recommended `app.kubernetes.io/*` labels on the resource (self)
set_self_labels: true
# Number of whole hours worth of events table partitions to precreate before starting backup to avoid pg_dump locks.
precreate_partition_hours: 3
...