You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Mukul Kumar Singh (Jira)" <ji...@apache.org> on 2021/08/17 01:09:00 UTC

[jira] [Resolved] (HDDS-5283) getStorageSize cast to int can cause issue

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

Mukul Kumar Singh resolved HDDS-5283.
-------------------------------------
    Resolution: Fixed

> getStorageSize cast to int can cause issue
> ------------------------------------------
>
>                 Key: HDDS-5283
>                 URL: https://issues.apache.org/jira/browse/HDDS-5283
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: Ozone Datanode
>    Affects Versions: 1.2.0
>            Reporter: Shashikant Banerjee
>            Assignee: Sadanand Shenoy
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.2.0
>
>         Attachments: Screen Shot 2021-06-01 at 11.35.52 AM.png
>
>
> XceiverServerRatis.java:438
> {code:java}
>  final int pendingRequestsByteLimit = (int)conf.getStorageSize(
>         OzoneConfigKeys.DFS_CONTAINER_RATIS_LEADER_PENDING_BYTES_LIMIT,
>         OzoneConfigKeys.DFS_CONTAINER_RATIS_LEADER_PENDING_BYTES_LIMIT_DEFAULT,
>         StorageUnit.BYTES);
> {code}
> because of int limitation, the limit can not be set beyond 2 GB.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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