You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2026/09/11 01:38:00 UTC
[jira] [Resolved] (HDDS-16334) The maps in XceiverClientShortCircuit should not use String as key
[ https://issues.apache.org/jira/browse/HDDS-16334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz-wo Sze resolved HDDS-16334.
-------------------------------
Fix Version/s: 2.3.0
Resolution: Fixed
The pr was merged.
> 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
> Fix For: 2.3.0
>
> 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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org