Merge "Add option to disable xtrabackup compression"

This commit is contained in:
Zuul 2017-10-19 07:56:34 +00:00 committed by Gerrit Code Review
commit 99ef88d641
2 changed files with 4 additions and 0 deletions

View File

@ -109,6 +109,8 @@ galera_wsrep_provider_options:
galera_wsrep_sst_auth_user: "root"
galera_wsrep_sst_auth_password: "{{ galera_root_password }}"
# Enable compression of backups
galera_xtrabackup_compression: true
# xtrabackup parallel/compression/sync threads
galera_xtrabackup_threads: 4

View File

@ -47,7 +47,9 @@ wsrep_cluster_name = "{{ galera_cluster_name }}"
wsrep_retry_autocommit = {{ galera_wsrep_retry_autocommit }}
[xtrabackup]
{% if galera_xtrabackup_compression | bool %}
compress
{% endif %}
parallel = {{ galera_xtrabackup_threads }}
compress-threads = {{ galera_xtrabackup_threads }}
rebuild-threads = {{ galera_xtrabackup_threads }}