Ask Your Question

Revision history [back]

Failed to update object metadata in openstack4j

I have tried to update X-Delete-At through ObjectStorageObjectService.updateMetadata and it returns true. But then when I try to get object I receive java.lang.IllegalArgumentException: Multiple entries with same key: X-Delete-At=1513846696 and X-Delete-At=1513845696.

I expected that this metadata item will be updated. How can I update X-Delete-At to enlarge file expiration time without repeated uploading?