[ 
https://issues.apache.org/jira/browse/RATIS-265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16554565#comment-16554565
 ] 

Rajeshbabu Chintaguntla commented on RATIS-265:
-----------------------------------------------

[~szetszwo] I can use PendingRequests for maintaining the limit and counters of 
pending requests and the limit can be configurable right? Can throw exception 
if the requests count reaches limit.

> Ratis Leader flow control request from raft client to avoid OOM errors
> ----------------------------------------------------------------------
>
>                 Key: RATIS-265
>                 URL: https://issues.apache.org/jira/browse/RATIS-265
>             Project: Ratis
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 0.2.0
>            Reporter: Mukul Kumar Singh
>            Assignee: Rajeshbabu Chintaguntla
>            Priority: Blocker
>              Labels: ozone
>
> In scenario where there is lots of load on the Ratis leader, the leader 
> accepts and adds all the requests as pending appends into the sliding window.
> However if there are lots of pending replies in the sliding window, the 
> leader should reply with an error/exception to the client to retry the 
> command later.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to