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:54:00 UTC
[jira] [Commented] (RATIS-1384) Change pending request limit unit
to MB.
[ https://issues.apache.org/jira/browse/RATIS-1384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17376508#comment-17376508 ]
Tsz-wo Sze commented on RATIS-1384:
-----------------------------------
[~sadanand_shenoy], r1384_20210707.patch is the suggestion posted in [this comment|https://github.com/apache/ratis/pull/483#issuecomment-875539025]. Please see if it works.
> 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 20m
> 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)