Timeout Exception from RAFT

63 views
Skip to first unread message

Cheng Li

unread,
Nov 23, 2015, 11:43:54 AM11/23/15
to jgroups-raft
Hi all,

I experienced the following exception when I issued a sequence of requests to a customized counter service (single-thread):

java.util.concurrent.TimeoutException
        at java.util.concurrent.CompletableFuture.timedAwaitDone(CompletableFuture.java:365)
        at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2260)
        at org.jgroups.protocols.raft.REDIRECT.set(REDIRECT.java:61)
        at org.jgroups.raft.RaftHandle.set(RaftHandle.java:73)
        at org.mpi.vasco.coordination.protocols.centr.rsm.CounterService.invoke(CounterService.java:219)
        at org.mpi.vasco.coordination.protocols.centr.rsm.CounterService.getAndAdd(CounterService.java:79)

I basically followed what Bela suggested, namely lowering resend_interval from 2000 to 100. However it didn't completely solve this problem. 

Can anybody help me?

Thanks,
   Cheng

Bela Ban

unread,
Nov 30, 2015, 3:33:37 AM11/30/15
to jgroup...@googlegroups.com
Have you tried using the latest jgroups-raft from master? Lowering
resend_interval was just a workaround, but the fix was actually
implemented in [1] (in master).

[1] https://github.com/belaban/jgroups-raft/issues/39
> --
> You received this message because you are subscribed to the Google
> Groups "jgroups-raft" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to jgroups-raft...@googlegroups.com
> <mailto:jgroups-raft...@googlegroups.com>.
> To post to this group, send email to jgroup...@googlegroups.com
> <mailto:jgroup...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jgroups-raft/717b9426-1350-4dd6-bcb1-a4dddf2cc93f%40googlegroups.com
> <https://groups.google.com/d/msgid/jgroups-raft/717b9426-1350-4dd6-bcb1-a4dddf2cc93f%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

--
Bela Ban, JGroups lead (http://www.jgroups.org)

Reply all
Reply to author
Forward
0 new messages