3 Commits

Author SHA1 Message Date
Alistair Coles
0e51ac09ad Cleanup test tempdirs in tearDown
Stop leaking tmp dirs in unit tests

Change-Id: I606e9deeedc7c52a85d270b3cef7dfba13b4f0d3
2017-09-01 15:34:30 +01:00
Eran Rom
2f8e604047 Fixing typo in unit test
The typo does not influence the correctness of the test
yet its ugly. bhhha.

Change-Id: I62e511bae23523892b87309dd3c50aea61742f2d
2016-02-03 08:59:53 +02:00
Eran Rom
85a0a6a28e 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

The change updates [1]
[1] http://docs.openstack.org/developer/swift/overview_container_sync.html

Change-Id: I9ae4d4c7ff6336611df4122b7c753cc4fa46c0ff
Closes-Bug: #1476623
2016-01-06 16:46:31 +02:00