Chung-En Lee created HDDS-16700:
-----------------------------------

             Summary: S3G: Avoid calling getS3Volume in PUT_OBJECT_TAGGING
                 Key: HDDS-16700
                 URL: https://issues.apache.org/jira/browse/HDDS-16700
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Chung-En Lee


Background & Problem
When applying tags via `PUT /bucket/key?tagging`, S3G queries 
`getS3VolumeContext` before invoking `putObjectTagging` on OM. Setting tags is 
a standalone metadata mutation, making the preparatory volume lookup RPC 
redundant.

Proposed Solution
1. Extend `assumeS3Context=true` to `OmKeyArgs` for object tagging mutations on 
OM.
2. Remove the preliminary `getS3VolumeContext` RPC in `ObjectEndpoint#put` 
(tagging path).

Expected Impact
Reduces RPC round trips from 2 to 1 for `PutObjectTagging` calls.



--
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