4286f36a60
This patch takes a first step towards support for object system metadata by enabling headers in the x-object-sysmeta- namespace to be persisted when objects are PUT. This should be useful for other pending patches such as on demand migration and server side encryption (https://review.openstack.org/#/c/64430/ and https://review.openstack.org/#/c/76578/1). The x-object-sysmeta- namespace is already reserved/protected by the gatekeeper and passed through the proxy. This patch modifies the object server to persist these headers alongside user metadata when an object is PUT. This patch will preserve existing object system metadata and ignore any new system metadata when handling object POSTs, including POST-as-copy operations. Support for modification of object system metadata with a POST request requires further work as discussed in the blueprint. This patch will preserve existing object system metadata and update it with new system metadata when copying an object. A new probe test is added which makes use of the BrainSplitter class that has been moved from test_container_merge_policy_index.py to a new module brain.py. blueprint object-system-metadata Change-Id: If716bc15730b7322266ebff4ab8dd31e78e4b962 |
||
---|---|---|
.. | ||
__init__.py | ||
brain.py | ||
common.py | ||
test_account_failures.py | ||
test_account_get_fake_responses_match.py | ||
test_account_reaper.py | ||
test_container_failures.py | ||
test_container_merge_policy_index.py | ||
test_container_sync.py | ||
test_empty_device_handoff.py | ||
test_object_async_update.py | ||
test_object_expirer.py | ||
test_object_failures.py | ||
test_object_handoff.py | ||
test_object_metadata_replication.py | ||
test_replication_servers_working.py |