Gargi Jaiswal created HDDS-15510:
------------------------------------

             Summary: Implement OM read/write paths for bucket tagging with 
audit and metrics
                 Key: HDDS-15510
                 URL: https://issues.apache.org/jira/browse/HDDS-15510
             Project: Apache Ozone
          Issue Type: Sub-task
    Affects Versions: 2.2.0
            Reporter: Gargi Jaiswal
            Assignee: Gargi Jaiswal


Implement Ozone Manager support for storing and retrieving S3-style bucket tags 
on {color:#00875a}{{OmBucketInfo}}{color}. *PUT* and *DELETE* are write 
operations; *GET* is a read path via 
{color:#00875a}{{OmMetadataReader}}{color}. Tags are stored on the source 
bucket record in OM DB.

*Scope:*
 * *Write path*
 ** {{{color:#00875a}S3PutBucketTaggingRequest.java{color}}} — set tags on 
bucket, update modification time
 ** {{{color:#00875a}S3DeleteBucketTaggingRequest.java{color}}} — clear tags
 ** Register in {color:#de350b}{{OzoneManagerRatisUtils.java}}{color}
 * *Read path*
 ** {{{color:#de350b}OmMetadataReader.getBucketTagging(){color}}} — read tags 
from *{{OmBucketInfo}}*
 ** {{{color:#00875a}OzoneManagerRequestHandler.getBucketTagging(){color}}}
 ** {{{color:#00875a}OzoneManager.getBucketTagging(){color}}}
 * *Cross-cutting*
 ** *{{OMAction}} —* {{{}PUT_BUCKET_TAGGING{}}}, {{{}GET_BUCKET_TAGGING{}}}, 
{{DELETE_BUCKET_TAGGING}}
 ** {{OMAuditLogger}} mapping
 ** {{OMMetrics}} / {{OmMetadataReaderMetrics}} counters
 ** {{IOmMetadataReader}} interface
 * OM unit tests
 ** Put tagging on bucket
 ** Get tagging (empty → tags present)
 ** Delete tagging
 ** Put overwrites existing tags (replace semantics)
 ** Bucket not found errors



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to