Skip to content

Commit 162d1e2

Browse files
authored
Merge pull request #436 from cloud-pi-native/feat/add-cnpg-backup-wal-parallelism
feat: ✨ add wal parallelism when restoring cnpg db
2 parents 946709b + 5c17325 commit 162d1e2

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

roles/gitlab/templates/pg-cluster-gitlab.yaml.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ spec:
5353
- name: pg-cluster-gitlab
5454
{% if dsc.gitlab.cnpg.mode == "restore" %}
5555
barmanObjectStore:
56+
wal:
57+
maxParallel: 8
5658
destinationPath: "s3://{{ dsc.global.backup.s3.bucketName }}/{{ dsc.global.backup.cnpg.pathPrefix }}"
5759
endpointURL: "{{ dsc.global.backup.s3.endpointURL }}"
5860
{% if dsc.global.backup.s3.endpointCA.key is defined %}

roles/harbor/templates/pg-cluster-harbor.yaml.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ spec:
5353
- name: pg-cluster-harbor
5454
{% if dsc.harbor.cnpg.mode == "restore" %}
5555
barmanObjectStore:
56+
wal:
57+
maxParallel: 8
5658
destinationPath: "s3://{{ dsc.global.backup.s3.bucketName }}/{{ dsc.global.backup.cnpg.pathPrefix }}"
5759
endpointURL: "{{ dsc.global.backup.s3.endpointURL }}"
5860
{% if dsc.global.backup.s3.endpointCA.key is defined %}

roles/keycloak/templates/pg-cluster-keycloak.yaml.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ spec:
5353
- name: pg-cluster-keycloak
5454
{% if dsc.keycloak.cnpg.mode == "restore" %}
5555
barmanObjectStore:
56+
wal:
57+
maxParallel: 8
5658
destinationPath: "s3://{{ dsc.global.backup.s3.bucketName }}/{{ dsc.global.backup.cnpg.pathPrefix }}"
5759
endpointURL: "{{ dsc.global.backup.s3.endpointURL }}"
5860
{% if dsc.global.backup.s3.endpointCA.key is defined %}

roles/sonarqube/templates/pg-cluster-sonar.yaml.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ spec:
5353
- name: pg-cluster-sonar
5454
{% if dsc.sonarqube.cnpg.mode == "restore" %}
5555
barmanObjectStore:
56+
wal:
57+
maxParallel: 8
5658
destinationPath: "s3://{{ dsc.global.backup.s3.bucketName }}/{{ dsc.global.backup.cnpg.pathPrefix }}"
5759
endpointURL: "{{ dsc.global.backup.s3.endpointURL }}"
5860
{% if dsc.global.backup.s3.endpointCA.key is defined %}

0 commit comments

Comments
 (0)