[
https://issues.apache.org/jira/browse/HDDS-5283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HDDS-5283:
---------------------------------
Labels: pull-request-available (was: )
> 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: [email protected]
For additional commands, e-mail: [email protected]