You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2021/07/07 11:50:00 UTC
[jira] [Updated] (RATIS-1384) Change pending request limit unit to
MB.
[ https://issues.apache.org/jira/browse/RATIS-1384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz-wo Sze updated RATIS-1384:
------------------------------
Attachment: r1384_20210707.patch
> Change pending request limit unit to MB.
> ----------------------------------------
>
> Key: RATIS-1384
> URL: https://issues.apache.org/jira/browse/RATIS-1384
> Project: Ratis
> Issue Type: Bug
> Reporter: Sadanand Shenoy
> Priority: Major
> Attachments: r1384_20210707.patch
>
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
> Currently the pendingRequestLimit is in Bytes and this byteLimit is converted to intÂ
> {code:java}
> RequestLimits(int elementLimit, SizeInBytes byteLimit) {
> super(elementLimit, byteLimit.getSizeInt());
> }
> {code}
> This means the maximum bytes that can be set is the INTEGER limit i.e the pendingRequestSize cannot be set beyond 2GB.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)