swift/test/unit/obj
Anish Kachinthaya 3637b1abd9 add bytes of expiring objects to queue entry
The size in bytes from object metadata of expiring objects are stored in
expirey queue entries under the content_type field.

The x-content-type-timestamp take from object metadata is provided along
with the x-content-type update so the container replicator resolves the
latest content-type and ensures eventual consistency.

UpgradeImpact: During rolling upgrades you should expect expirer queue
entries to continue lacking swift_expirer_bytes= annotations until ALL
object servers replicas have been upgraded to new code.

Co-Authored-By: Clay Gerrard <clay.gerrard@gmail.com>

Change-Id: Ie4b25f1bd16def4069878983049b83de06f68e54
2024-06-13 15:47:51 -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 add bytes of expiring objects to queue entry 2024-06-13 15:47:51 -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