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

Lokesh Jain commented on RATIS-613:
-----------------------------------

[~szetszwo] I was thinking if we should have this feature in the 
StateMachineUpdater. It might be required by use cases of Ratis where 
applyTransaction call is slower?

> StateMachineUpdater should limit the number of apply transaction calls
> ----------------------------------------------------------------------
>
>                 Key: RATIS-613
>                 URL: https://issues.apache.org/jira/browse/RATIS-613
>             Project: Ratis
>          Issue Type: Bug
>            Reporter: Lokesh Jain
>            Assignee: Lokesh Jain
>            Priority: Major
>         Attachments: RATIS-613.001.patch, RATIS-613.002.patch
>
>
> Currently StateMachineUpdater applies all the transactions until the 
> committed index. In cases where there is a huge difference between applied 
> and committed index, all these transactions would be pending in the state 
> machine and can take a lot of heap space. Such a scenario was seen in the 
> Ozone cluster where a large amount of heap was taken by unapplied 
> transactions leading to frequent GC pauses.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to