commit d8f9045518035cbd1a40d0a94227952a384143ec
Author: Christopher Bartz <email address hidden>
Date: Fri Dec 1 11:13:10 2017 +0100
Send correct number of X-Delete-At-* headers
Send just as many requests with X-Delete-At-* as we do X-Container-* to
the object server. Furthermore, stop the object server on making an
update to the expirer queue when it wasn't told to do so and remove the
log warning which would have been produced.
Reason:
It can be the case that the number of object replicas (OR) is larger
than the number of container replicas (CR) for a given storage policy
(most likely in case of EC). Before this commit, only CR object servers
received the x-delete-at-* headers, which means that OR - CR object
servers did not receive the headers. The servers missing the header
would produce a log warning and create the x-delete-at-container header
and async update on their own, which could lead to a bug, if the
expiring_objects_container_divisor option was misconfigured.
Reviewed: https:/ /review. openstack. org/524548 /git.openstack. org/cgit/ openstack/ swift/commit/ ?id=d8f90455180 35cbd1a40d0a942 27952a384143ec
Committed: https:/
Submitter: Zuul
Branch: master
commit d8f9045518035cb d1a40d0a9422795 2a384143ec
Author: Christopher Bartz <email address hidden>
Date: Fri Dec 1 11:13:10 2017 +0100
Send correct number of X-Delete-At-* headers
Send just as many requests with X-Delete-At-* as we do X-Container-* to
the object server. Furthermore, stop the object server on making an
update to the expirer queue when it wasn't told to do so and remove the
log warning which would have been produced.
Reason:
It can be the case that the number of object replicas (OR) is larger at-container header objects_ container_ divisor option was misconfigured.
than the number of container replicas (CR) for a given storage policy
(most likely in case of EC). Before this commit, only CR object servers
received the x-delete-at-* headers, which means that OR - CR object
servers did not receive the headers. The servers missing the header
would produce a log warning and create the x-delete-
and async update on their own, which could lead to a bug, if the
expiring_
Change-Id: I20fc2f42f590fd a995814a2fa7ba8 6019f9fddc1
Closes-Bug: #1733588