commit 85a0a6a28e166bc076cf8786de2b46248d8786a2
Author: Eran Rom <email address hidden>
Date: Sun Jul 26 13:31:17 2015 +0300
Container-Sync to iterate only over synced containers
This change introduces a sync_store which holds only containers that
are enabled for sync. The store is implemented using a directory
structure that resembles that of the containers directory, but has
entries only for containers enabled for sync.
The store is maintained in two ways:
1. Preemptively by the container server when processing
PUT/POST/DELETE operations targeted at containers with
x-container-sync-key / x-container-sync-to
2. In the background using the containers replicator
whenever it processes a container set up for sync
Reviewed: https:/ /review. openstack. org/205803 /git.openstack. org/cgit/ openstack/ swift/commit/ ?id=85a0a6a28e1 66bc076cf8786de 2b46248d8786a2
Committed: https:/
Submitter: Jenkins
Branch: master
commit 85a0a6a28e166bc 076cf8786de2b46 248d8786a2
Author: Eran Rom <email address hidden>
Date: Sun Jul 26 13:31:17 2015 +0300
Container-Sync to iterate only over synced containers
This change introduces a sync_store which holds only containers that -sync-key / x-container-sync-to
are enabled for sync. The store is implemented using a directory
structure that resembles that of the containers directory, but has
entries only for containers enabled for sync.
The store is maintained in two ways:
1. Preemptively by the container server when processing
PUT/POST/DELETE operations targeted at containers with
x-container
2. In the background using the containers replicator
whenever it processes a container set up for sync
The change updates [1] docs.openstack. org/developer/ swift/overview_ container_ sync.html
[1] http://
Change-Id: I9ae4d4c7ff6336 611df4122b7c753 cc4fa46c0ff
Closes-Bug: #1476623