[ 
https://issues.apache.org/jira/browse/RATIS-2290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz-wo Sze updated RATIS-2290:
------------------------------
    Component/s: Leader
                     (was: server)
    Description: 
In LeaderStateImpl, EventQueue is a fixed value. We should add configuration 
for EventQueue.

{code:java}
private class EventQueue {
    private final BlockingQueue<StateUpdateEvent> queue = new 
ArrayBlockingQueue<>(4096);
    ......
}
{code}
-----
After some discussion, we simply the EventQueue instead of adding a conf.

  was:
In LeaderStateImpl, EventQueue is a fixed value. We should add configuration 
for EventQueue.

{code:java}
private class EventQueue {
    private final BlockingQueue<StateUpdateEvent> queue = new 
ArrayBlockingQueue<>(4096);
    ......
}
{code}


        Summary: RATIS-2290. Simply the EventQueue in leader  (was: Add 
configuration to EventQueue)

> RATIS-2290. Simply the EventQueue in leader
> -------------------------------------------
>
>                 Key: RATIS-2290
>                 URL: https://issues.apache.org/jira/browse/RATIS-2290
>             Project: Ratis
>          Issue Type: Improvement
>          Components: Leader
>            Reporter: JiangHua Zhu
>            Assignee: JiangHua Zhu
>            Priority: Major
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> In LeaderStateImpl, EventQueue is a fixed value. We should add configuration 
> for EventQueue.
> {code:java}
> private class EventQueue {
>     private final BlockingQueue<StateUpdateEvent> queue = new 
> ArrayBlockingQueue<>(4096);
>     ......
> }
> {code}
> -----
> After some discussion, we simply the EventQueue instead of adding a conf.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to