swift/test/unit/container
Tim Burke 83d0161991 Add operator tool to async-delete some or all objects in a container
Adds a tool, swift-container-deleter, that takes an account/container
and optional prefix, marker, and/or end-marker; spins up an internal
client; makes listing requests against the container; and pushes the
found objects into the object-expirer queue with a special
application/async-deleted content-type.

In order to do this enqueuing efficiently, a new internal-to-the-cluster
container method is introduced: UPDATE. It takes a JSON list of object
entries and runs them through merge_items.

The object-expirer is updated to look for work items with this
content-type and skip the X-If-Deleted-At check that it would normally
do.

Note that the target-container's listing will continue to show the
objects until data is actually deleted, bypassing some of the concerns
raised in the related change about clearing out a container entirely and
then deleting it.

Change-Id: Ia13ee5da3d1b5c536eccaadc7a6fdcd997374443
Related-Change: I50e403dee75585fc1ff2bb385d6b2d2f13653cf8
2019-05-22 13:22:50 -07:00
..
__init__.py Initial commit of Swift code 2010-07-12 17:03:45 -05:00
test_auditor.py Pass logger instances to AccountBroker/ContainerBroker 2019-05-03 01:15:20 +09:00
test_backend.py py3: port the container 2019-02-20 21:30:46 -06:00
test_reconciler.py Make reconciler test more stable in the gate 2019-03-26 12:08:00 -05:00
test_replicator.py py3: port account/container replicators 2018-11-06 16:54:20 -08:00
test_server.py Add operator tool to async-delete some or all objects in a container 2019-05-22 13:22:50 -07:00
test_sharder.py py3: port the container 2019-02-20 21:30:46 -06:00
test_sync_store.py Cleanup test tempdirs in tearDown 2017-09-01 15:34:30 +01:00
test_sync.py Require logger passed to broker in unit tests for account-reaper 2019-05-07 00:16:08 +00:00
test_updater.py py3: port the container 2019-02-20 21:30:46 -06:00