You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2025/06/25 10:54:00 UTC

[jira] [Updated] (HDDS-13335) Ozone Recon - Implement and adopt lightweight proto for Recon listKeys API

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

ASF GitHub Bot updated HDDS-13335:
----------------------------------
    Labels: pull-request-available  (was: )

> Ozone Recon - Implement and adopt lightweight proto for Recon listKeys API
> --------------------------------------------------------------------------
>
>                 Key: HDDS-13335
>                 URL: https://issues.apache.org/jira/browse/HDDS-13335
>             Project: Apache Ozone
>          Issue Type: Task
>          Components: Ozone Recon
>    Affects Versions: 2.0.0
>            Reporter: Devesh Kumar Singh
>            Assignee: Devesh Kumar Singh
>            Priority: Major
>              Labels: pull-request-available
>
> Recon's listKeys API ({*}/api/v1/keys/listKeys{*}) uses full KeyInfo proto where lot of other key proto fields are not desired and needed. Some of them are like 
> {code:java}
> KeyLocationList,  FileEncryptionInfoProto,  OzoneAclInfo,  FileChecksumProto etc  {code}
> In case of large keys or Multi part upload keys, key locations list can be huge and can create performance impact for some clients calling the listKeys API. So suggested and proposed light weight proto is:
> {code:java}
> message KeyInfoProtoLight {
> required string volumeName = 1;
> required string bucketName = 2;
> required string keyName = 3;
> required uint64 dataSize = 4;
> required hadoop.hdds.ReplicationType type = 5;
> optional hadoop.hdds.ReplicationFactor factor = 6;
> required uint64 creationTime = 8;
> required uint64 modificationTime = 9;
> optional uint64 objectID = 14;
> optional uint64 updateID = 15;
> optional uint64 parentID = 16;
> optional hadoop.hdds.ECReplicationConfig ecReplicationConfig = 17;
> optional bool isFile = 19;
> }{code}
> Above proto is light weight compared to keyinfo proto and skipped not needed fields.



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