duongkame opened a new pull request, #3911:
URL: https://github.com/apache/ozone/pull/3911

   ## What changes were proposed in this pull request?
   HDDS-7230 implements the GetKeyInfo with the ability to assume S3 volume 
context by OM. That releases S3G from having to call `getS3VolumeContext` prior 
to calling `lookupKey`, as it does today.
   
   Changes include:
    - S3G Get Key API to call GetKeyInfo via RpcClient with 
`assumeS3Context=true`, and without a proper `volumeName`. S3G doesn't need to 
call GetS3VolumeContext prior to GetKeyInfo. 
    - RpcClient once it sees an S3 context in the GetKeyInfo response, takes 
the user principal, and sets it to the 
[S3LocalAuthContext](https://github.com/apache/ozone/blob/master/hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/protocol/ClientProtocol.java#L923-L923).
   
   That code change reduces once roundtrip between S3G and OM for every S3 
Object Get/Head request.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-7324
   
   ## How was this patch tested?
   
   Standard CI.


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