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

Tsz-wo Sze updated HDDS-16334:
------------------------------
    Attachment: image-2026-08-31-16-58-15-071.png

> The maps in XceiverClientShortCircuit should not use String as key
> ------------------------------------------------------------------
>
>                 Key: HDDS-16334
>                 URL: https://issues.apache.org/jira/browse/HDDS-16334
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: Ozone Client
>            Reporter: Tsz-wo Sze
>            Assignee: Tsz-wo Sze
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: image-2026-08-31-16-58-15-071.png
>
>
> {code}
>   private final Map<String, FileInputStream> blockStreamCache;
>   private final Map<String, RequestEntry> sentRequests;
> {code}
> The above two maps use String as key by converting long/ByteString.  It is 
> more efficient to use long/ByteString directly.



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