You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Arpit Agarwal (Jira)" <ji...@apache.org> on 2020/06/02 19:03:00 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 ]

Arpit Agarwal updated HDDS-1883:
--------------------------------
         Component/s: test
    Target Version/s: 0.7.0

> Handle negative cases in RandomKeyGenerator
> -------------------------------------------
>
>                 Key: HDDS-1883
>                 URL: https://issues.apache.org/jira/browse/HDDS-1883
>             Project: Hadoop Distributed Data Store
>          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.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org