You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Duong (Jira)" <ji...@apache.org> on 2022/10/13 16:38:00 UTC

[jira] [Updated] (HDDS-7324) Leverage S3 context self awareness in GetKeyInfo API to improve S3G Get Key API performance.

     [ https://issues.apache.org/jira/browse/HDDS-7324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Duong updated HDDS-7324:
------------------------
    Summary: Leverage S3 context self awareness in GetKeyInfo API to improve S3G Get Key API performance.  (was: Leverage S3 context in GetKeyInfo to improve S3G Get Key API performance.)

> Leverage S3 context self awareness in GetKeyInfo API to improve S3G Get Key API performance.
> --------------------------------------------------------------------------------------------
>
>                 Key: HDDS-7324
>                 URL: https://issues.apache.org/jira/browse/HDDS-7324
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Duong
>            Priority: Major
>
> 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 `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 will reduce once roundtrip between S3G and OM for every GetKey API request.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org