swift/test/unit/obj
Matthew Oliver e8affa7db5 Pass db_state to container-update and async_pending
When the proxy passes the container-update headers to the object server
now include the db_state, which it already had in hand. This will be
written to async_pending and allow the object-updater to know more about
a container rather then just relying on container_path attribute.

This patch also cleans up the PUT, POST and DELETE _get_update_target
paths refactoring the call into _backend_requests, only used by these
methods, so it only happens once.

Change-Id: Ie665e5c656c7fb27b45ee7427fe4b07ad466e3e2
2024-07-12 20:46:14 -05:00
..
__init__.py Initial commit of Swift code 2010-07-12 17:03:45 -05:00
common.py Add validation method for metadata in ECDiskfile 2022-09-06 13:56:06 -07:00
test_auditor.py Make the dark data watcher work with sharded containers 2024-01-09 15:11:45 +11:00
test_diskfile.py Fix diskfile test failing on macOS 2024-02-26 11:12:47 +00:00
test_expirer.py add bytes of expiring objects to queue entry 2024-06-13 15:47:51 -05:00
test_reconstructor.py tests: new test_config module for utils.config 2024-05-23 12:50:31 -05:00
test_replicator.py Merge "replicator: Ensure handoffs can clear with large handoff_delete" 2024-05-20 21:41:28 +00:00
test_server.py Pass db_state to container-update and async_pending 2024-07-12 20:46:14 -05:00
test_ssync_receiver.py Encode header in latin-1 with wsgi_to_bytes 2023-07-10 15:09:04 +01:00
test_ssync_sender.py lint: Consistently use assertIsInstance 2024-02-07 15:48:39 -08:00
test_ssync.py ssync: Round-trip offsets in meta/ctype Timestamps 2023-04-17 13:25:56 +01:00
test_updater.py tests: Stop using distutils.dir_util.mkpath 2023-09-25 18:34:16 -07:00