Add option to disable xtrabackup compression
Modified cluster.cnf template so that the "compress" option in the "xtrabackup" section is controlled by a variable, "galera_xtrabackup_compression". The default value of the variable is "true" which respects the previous behavior. Change-Id: I76e07c669be798f538183a5f8a3ff886db2d7dd2
This commit is contained in:
parent
f740c0e9db
commit
95faea43af
|
@ -106,6 +106,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
|
||||
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue