Gargi-jais11 opened a new pull request, #10498:
URL: https://github.com/apache/ozone/pull/10498

   ## What changes were proposed in this pull request?
   Implement Ozone Manager support for storing and retrieving S3-style bucket 
tags on OmBucketInfo. PUT and DELETE are write operations; GET is a read path 
via OmMetadataReader. Tags are stored on the source bucket record in OM DB.
   
   **Scope:**
   
   **- Write path**
   
     - S3PutBucketTaggingRequest.java — set tags on bucket, update modification 
time
     - S3DeleteBucketTaggingRequest.java — clear tags
     - Register in OzoneManagerRatisUtils.java
   
   **- Read path**
   
     - OmMetadataReader.getBucketTagging() — read tags from OmBucketInfo
     - OzoneManagerRequestHandler.getBucketTagging()
     - OzoneManager.getBucketTagging()
     - Cross-cutting
     - OMAction — PUT_BUCKET_TAGGING, GET_BUCKET_TAGGING, DELETE_BUCKET_TAGGING
     - OMAuditLogger mapping
     - OMMetrics / OmMetadataReaderMetrics counters
     - IOmMetadataReader interface
   
   **- Bucket Links**
   
     - support bucket tag on source bucket of link bucket.
   
   **- OM unit tests**
   
     - Put tagging on bucket
     - Delete tagging
    
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-15510
   
   ## How was this patch tested?
   
   Added two new unit tests `TestS3PutBucketTagging` and 
`TestS3DeleteBucketTagging`.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to