Description of problem: One of our big data use cases was to fetch all segments' size of a swift DLO manifest without having to go through each segment file. This feature addresses such requirements by having a 'user data' field in the bucket index structure 'rgw_bucket_dir_entry_meta', which would be populated via a custom http header passed in by the user and returned as appropriate. This feature enables us to have a meta field (which is generic in nature to store any user defined data) in the bucket index. We are presently using this put/get all segments' size for a swift DLO object. Without this, to know the size of all segments that are part of swift DLO manifest, we have to loop through all segment parts and return the size as part of content length on the DLO manifest object. This operation was pretty heavy for our big data clients to perform, which we now solve by having this user defined field in the bucket index. Version-Release number of selected component (if applicable): 2.2 How reproducible: 100% Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: https://github.com/ceph/ceph/pull/14592
looks great, thanks Bara
Hi all, Working fine for me, moving to VERIFIED state. $ sudo radosgw-admin bucket list --bucket test_z --cluster 1 |grep user_data "user_data": "ABCD_MNOP" "user_data": "ABCD_1234" "user_data": "1234_5678" Regards, Vasishta
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:1755