In extreme cases of object rebalance or node failure, swift environments
with millions of objects may have a hard time with objects landing in
handoff or misplaced partitions and the operator of the cloud may need
to prioritize migrating data in handoff partitions back to primary
partitions over the 3 primary partitions replicating amongst each other.
To allow for this, the object-server.conf [object-replicator]
configuration can have handoffs_first set to True which will force
the object-replicators to focus on handoff partitions before syncing
primary partitions for any given object partition.
Reviewed: https:/ /review. opendev. org/726942 /git.openstack. org/cgit/ openstack/ charm-swift- storage/ commit/ ?id=9809a3b347c e68aacaef6a7b42 84fc58fe28d790
Committed: https:/
Submitter: Zuul
Branch: master
commit 9809a3b347ce68a acaef6a7b4284fc 58fe28d790
Author: Drew Freiberger <email address hidden>
Date: Mon May 11 15:00:03 2020 -0500
Add support for object replication handoffs_first
In extreme cases of object rebalance or node failure, swift environments
with millions of objects may have a hard time with objects landing in
handoff or misplaced partitions and the operator of the cloud may need
to prioritize migrating data in handoff partitions back to primary
partitions over the 3 primary partitions replicating amongst each other.
To allow for this, the object-server.conf [object-replicator]
configuration can have handoffs_first set to True which will force
the object-replicators to focus on handoff partitions before syncing
primary partitions for any given object partition.
Change-Id: I8b44c287567a0e 6d634def0b13baf 0fe4ad4aa7b
Closes-Bug: 1878087