You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Hui Fei (Jira)" <ji...@apache.org> on 2026/06/09 04:28:05 UTC
[jira] [Updated] (HDDS-1883) Handle negative cases in RandomKeyGenerator
[ https://issues.apache.org/jira/browse/HDDS-1883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hui Fei updated HDDS-1883:
--------------------------
Target Version/s: 2.3.0 (was: 2.2.0)
<<Bulk update>>
Apache Ozone 2.2.0 release is in progress. I'm updating all unresolved jiras targeting 2.2.0 to retarget 2.3.0.
> Handle negative cases in RandomKeyGenerator
> -------------------------------------------
>
> Key: HDDS-1883
> URL: https://issues.apache.org/jira/browse/HDDS-1883
> Project: Apache Ozone
> Issue Type: Bug
> Components: test
> Reporter: Bharat Viswanadham
> Priority: Major
>
> This Jira is created based on [~xyao] in the Jira HDDS-1863 review.
> should we add some parameter check before processing nrRemaining?
> E.g., keySize > 0, keySize > bufferSize, otherwise, if someone specify keySize < 0 or keySize< bufferSize, the nrRemaining and curSize can still be possible be negative.
--
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