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 Nicholas Sze (JIRA)" <ji...@apache.org> on 2018/12/05 01:43:00 UTC

[jira] [Commented] (RATIS-402) Limit the data size in RaftLogWorker queue

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

Tsz Wo Nicholas Sze commented on RATIS-402:
-------------------------------------------

r402_20181204.patch: adds raft.server.log.queue.byte-limit.

It depends on RATIS-447 since it also uses the DataQueue.

Will add some tests.

 

> Limit the data size in RaftLogWorker queue
> ------------------------------------------
>
>                 Key: RATIS-402
>                 URL: https://issues.apache.org/jira/browse/RATIS-402
>             Project: Ratis
>          Issue Type: Improvement
>          Components: server
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Tsz Wo Nicholas Sze
>            Priority: Major
>         Attachments: r402_20181204.patch
>
>
> Currently, RaftLogWorker queue is limited in the number of entries.  It should also limit the data size in order to avoid OutOfMemoryError.



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