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/08/29 20:17:00 UTC

[jira] [Created] (HDDS-16334) The maps in XceiverClientShortCircuit should not use String as key

Tsz-wo Sze created HDDS-16334:
---------------------------------

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


{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