Swift: remove meta field from rsync command
Remove the {meta} from the default settings in the account, container
and object services templates.
Change-Id: I079fddf8feb020bed93bf44b8aaec0882823e15c
Closes-Bug: #1862058
(cherry picked from commit bbf58f5723
)
This commit is contained in:
parent
44f6f796f9
commit
79b4d9ede5
@ -26,7 +26,7 @@ replication_server = {{ service_name == 'swift-account-replication-server' }}
|
||||
|
||||
{% if service_name == 'swift-account-replicator' %}
|
||||
[account-replicator]
|
||||
rsync_module = {replication_ip}:{meta}:account
|
||||
rsync_module = {replication_ip}::account
|
||||
{% endif %}
|
||||
|
||||
{% if service_name == 'swift-account-reaper' %}
|
||||
|
@ -27,7 +27,7 @@ replication_server = {{ service_name == 'swift-container-replication-server' }}
|
||||
|
||||
{% if service_name == 'swift-container-replicator' %}
|
||||
[container-replicator]
|
||||
rsync_module = {replication_ip}:{meta}:container
|
||||
rsync_module = {replication_ip}::container
|
||||
{% endif %}
|
||||
|
||||
{% if service_name == 'swift-container-updater' %}
|
||||
|
@ -31,7 +31,7 @@ replication_server = {{ service_name == 'swift-object-replication-server' }}
|
||||
|
||||
[object-replicator]
|
||||
{% if service_name == 'swift-object-replicator' %}
|
||||
rsync_module = {replication_ip}:{meta}:object
|
||||
rsync_module = {replication_ip}::object
|
||||
{% endif %}
|
||||
|
||||
{% if service_name == 'swift-object-updater' %}
|
||||
|
@ -0,0 +1,7 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Remove the meta field of the Swift rings from the default rsync_module
|
||||
template. Having it by default, undocumented, can lead to
|
||||
unexpected behavior when the Swift documentation states that this field
|
||||
is not processed.
|
Loading…
Reference in New Issue
Block a user