On 13/09/18 16:32, Abhishek verma wrote:
> Hi Bela Ban,
> Few Concerns after last discussion.
> 1.Can you please provide with a example code which uses raft.xml .
jgroups-raft comes with 2 demos, I suggest take a look at
ReplicatedStateMachineDemo.
> 2.Since we are using tunneling we would like understand how it is
> configured in raft.xml and what changes to be made against the JChannel.
Just replace the transport with TUNNEL and the discovery protocol needs
to be PING. Take a look at tunnel.xml shipped with JGroups
> 3.Why every third node is throwing EOFException. In our case C & F.
You probably created a log with a different application, and this log
cannot be read by your current app. You can remove the logs/snapshots in
your temp directory to get rid of this problem.
> java.io.EOFException
> at java.io.DataInputStream.readByte(Unknown Source)
> at org.jgroups.util.Bits.readInt(Bits.java:150)
> at
> org.jgroups.raft.blocks.ReplicatedStateMachine.readContentFrom(ReplicatedStateMachine.java:168)
> at
> org.jgroups.protocols.raft.RAFT.initStateMachineFromLog(RAFT.java:355)
> at org.jgroups.protocols.raft.RAFT.start(RAFT.java:438)
> at
> org.jgroups.stack.ProtocolStack.startStack(ProtocolStack.java:861)
> at org.jgroups.JChannel.startStack(JChannel.java:1020)
> at org.jgroups.JChannel._preConnect(JChannel.java:886)
> at org.jgroups.JChannel.connect(JChannel.java:390)
> at org.jgroups.JChannel.connect(JChannel.java:384)
> at
> com.aurigraph.jgroups.raft.ReplicatedMachineDemo.start(ReplicatedMachineDemo.java:92)
> at com.aurigraph.main.AuriGraphMain.main(AuriGraphMain.java:69)
>
>
>
> Forwarded Conversation
> Subject: [jgroups-raft] Re: Jgroups-raft in different network
> ------------------------
>
> From: <
de...@instor.in <mailto:
de...@instor.in>>
> Date: Wed, Aug 8, 2018 at 3:46 PM
> To: jgroups-raft <
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>>
>
>
> Hi, I created JChannel using rafx.xml and i copied code from
> tunnel.xml and put that code into raft.xml for connection node to
> different network.I am doing this in that way.but it is not
> working.nybody let me know,how jgroups-raft will work in different
> network.
>
>
> i think i am going wrong.can anybody please let me know how raft will
> work in different network.
>
> --
> 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/84fbbfdf-0439-42f5-9824-ea8cbf2817e1%40googlegroups.com
> <
https://groups.google.com/d/msgid/jgroups-raft/84fbbfdf-0439-42f5-9824-ea8cbf2817e1%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit
https://groups.google.com/d/optout.
>
>
> ----------
> From: *Bela Ban* <
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
> Date: Thu, Aug 9, 2018 at 6:05 PM
> To: <
jgroup...@googlegroups.com <mailto:
jgroup...@googlegroups.com>>
>
>
> Hi don't you post your entire configuration?
>
> jgroups-raft works independently from the actual transport and discovery
> protocols used; all it needs is a working cluster (which JGroups takes
> care of).
>
> On 08/08/18 12:16,
de...@instor.in <mailto:
de...@instor.in> wrote:
> > Hi, I created JChannel using rafx.xml and i copied code from
> > tunnel.xml and put that code into raft.xml for connection node to
> > different network.I am doing this in that way.but it is not
> > working.nybody let me know,how jgroups-raft will work in different
> > network.
> >
> >
> > i think i am going wrong.can anybody please let me know how raft will
> > work in different network.
> >
> > --
> > 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%2Bunsu...@googlegroups.com>
> > <mailto:
jgroups-raft...@googlegroups.com
> <mailto:
jgroups-raft%2Bunsu...@googlegroups.com>>.
> > To post to this group, send email to
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>
> > <mailto:
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>>.
> > To view this discussion on the web visit
> >
>
https://groups.google.com/d/msgid/jgroups-raft/84fbbfdf-0439-42f5-9824-ea8cbf2817e1%40googlegroups.com
>
> >
> <
https://groups.google.com/d/msgid/jgroups-raft/84fbbfdf-0439-42f5-9824-ea8cbf2817e1%40googlegroups.com?utm_medium=email&utm_source=footer>.
> > For more options, visit
https://groups.google.com/d/optout.
>
> --
> Bela Ban |
http://www.jgroups.org
>
> --
> 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%2Bunsu...@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/c433ea2d-fc6f-dc91-a9d6-a35a4c91907d%40mailbox.org.
>
> ----------
> From: *Abhishek verma* <
abhi...@gmail.com <mailto:
abhi...@gmail.com>>
> Date: Wed, Aug 22, 2018 at 6:58 PM
> To: Bela Ban <
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
>
>
> Hi,
> according to jgroups-raft manual each cluster member has an
> address assign by jgroups.can you please let me know how to get this uuid
>
> thanks
>
>
> ----------
> From: *Abhishek verma* <
abhi...@gmail.com <mailto:
abhi...@gmail.com>>
> Date: Wed, Aug 22, 2018 at 6:59 PM
> To: Bela Ban <
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
>
>
> i tried chanel.getAddressAsUUID() using this method but i am getting null
>
> thanks
>
>
> ----------
> From: *belaban* <
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
> Date: Wed, Aug 22, 2018 at 11:08 PM
> To: Abhishek verma <
abhi...@gmail.com <mailto:
abhi...@gmail.com>>
>
>
> Why do you need this? In most cases, you can downcast Address into a
> UUID... this is *not* someghing I recommend!
>
>
>
> Sent from my Samsung device
>
>
> ----------
> From: *belaban* <
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
> Date: Wed, Aug 22, 2018 at 11:09 PM
> To: Abhishek verma <
abhi...@gmail.com <mailto:
abhi...@gmail.com>>
>
>
> If your channel is not connected, then null will be returned
>
>
>
> Sent from my Samsung device
>
>
> -------- Original message --------
> From: Abhishek verma <
abhi...@gmail.com <mailto:
abhi...@gmail.com>>
> Date: 8/22/18 3:29 PM (GMT+01:00)
> To: Bela Ban <
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
> Subject: Re: [jgroups-raft] Re: Jgroups-raft in different network
>
> i tried chanel.getAddressAsUUID() using this method but i am getting null
>
> thanks
>
> On Wed, Aug 22, 2018 at 6:58 PM Abhishek verma <
abhi...@gmail.com
> <mailto:
abhi...@gmail.com>> wrote:
>
>
> ----------
> From: *Abhishek verma* <
abhi...@gmail.com <mailto:
abhi...@gmail.com>>
> Date: Thu, Aug 23, 2018 at 11:50 AM
> To: Bela Ban <
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
>
>
> Ok, thanks. i got it.
> And one more thing how to do leader election can you please give me
> example using code.
>
>
> thanks
>
>
> ----------
> From: *belaban* <
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
> Date: Thu, Aug 23, 2018 at 12:30 PM
> To: Abhishek verma <
abhi...@gmail.com <mailto:
abhi...@gmail.com>>
>
>
> Leader eldction is described in the manual
>
>
>
> Sent from my Samsung device
>
>
> -------- Original message --------
> From: Abhishek verma <
abhi...@gmail.com <mailto:
abhi...@gmail.com>>
>
>
> ----------
> From: *Abhishek verma* <
abhi...@gmail.com <mailto:
abhi...@gmail.com>>
> Date: Thu, Aug 23, 2018 at 2:11 PM
> To: Bela Ban <
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
>
>
> Hi,
> In manual election is achieved using xml.Can i do the election
> programmatically.i am stuck here.
>
>
> ----------
> From: *Bela Ban* <
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
> Date: Thu, Aug 23, 2018 at 2:28 PM
> To: Abhishek verma <
abhi...@gmail.com <mailto:
abhi...@gmail.com>>
>
>
> This [1] is what I meant
>
> [1]
>
http://belaban.github.io/jgroups-raft/manual/index.html#_cluster_singleton_service
>
> On 23/08/18 10:41, Abhishek verma wrote:
> > Hi,
> > In manual election is achieved using xml.Can i do the election
> > programmatically.i am stuck here.
> >
> > On Thu, Aug 23, 2018 at 12:30 PM belaban <
bel...@mailbox.org
> <mailto:
bel...@mailbox.org>
> > <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>> wrote:
> >
> > Leader eldction is described in the manual
> >
> >
> >
> > Sent from my Samsung device
> >
> >
> > -------- Original message --------
> > From: Abhishek verma <
abhi...@gmail.com
> <mailto:
abhi...@gmail.com> <mailto:
abhi...@gmail.com
> <mailto:
abhi...@gmail.com>>>
> > Date: 8/23/18 8:20 AM (GMT+01:00)
> > To: Bela Ban <
bel...@mailbox.org <mailto:
bel...@mailbox.org>
> <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>>
> > Subject: Re: [jgroups-raft] Re: Jgroups-raft in different network
> >
> > Ok, thanks. i got it.
> > And one more thing how to do leader election can you please give me
> > example using code.
> >
> >
> > thanks
> >
> > On Wed, Aug 22, 2018 at 11:09 PM belaban <
bel...@mailbox.org
> <mailto:
bel...@mailbox.org>
> > <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>> wrote:
> >
> > If your channel is not connected, then null will be returned
> >
> >
> >
> > Sent from my Samsung device
> >
> >
> > -------- Original message --------
> > From: Abhishek verma <
abhi...@gmail.com
> <mailto:
abhi...@gmail.com>
> > <mailto:
abhi...@gmail.com <mailto:
abhi...@gmail.com>>>
> > Date: 8/22/18 3:29 PM (GMT+01:00)
> > To: Bela Ban <
bel...@mailbox.org
> <mailto:
bel...@mailbox.org> <mailto:
bel...@mailbox.org
> <mailto:
bel...@mailbox.org>>>
> > Subject: Re: [jgroups-raft] Re: Jgroups-raft in different network
> >
> > i tried chanel.getAddressAsUUID() using this method but i am
> > getting null
> >
> > thanks
> >
> > On Wed, Aug 22, 2018 at 6:58 PM Abhishek verma
> > <
abhi...@gmail.com <mailto:
abhi...@gmail.com>
> <mailto:
abhi...@gmail.com <mailto:
abhi...@gmail.com>>> wrote:
> >
> > Hi,
> > according to jgroups-raft manual each cluster member
> > has an address assign by jgroups.can you please let me know
> > how to get this uuid
> >
> > thanks
> >
> > On Thu, Aug 9, 2018 at 6:05 PM Bela Ban
> <
bel...@mailbox.org <mailto:
bel...@mailbox.org>
> > <mailto:
bel...@mailbox.org
> <mailto:
bel...@mailbox.org>>> wrote:
> >
> > Hi don't you post your entire configuration?
> >
> > jgroups-raft works independently from the actual
> > transport and discovery
> > protocols used; all it needs is a working cluster (which
> > JGroups takes
> > care of).
> >
> > On 08/08/18 12:16,
de...@instor.in <mailto:
de...@instor.in>
> > <mailto:
de...@instor.in <mailto:
de...@instor.in>> wrote:
> > > Hi, I created JChannel using rafx.xml and i
> > copied code from
> > > tunnel.xml and put that code into raft.xml for
> > connection node to
> > > different network.I am doing this in that way.but
> > it is not
> > > working.nybody let me know,how jgroups-raft will
> > work in different
> > > network.
> > >
> > >
> > > i think i am going wrong.can anybody please let me
> > know how raft will
> > > work in different network.
> > >
> > > --
> > > 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%2Bunsu...@googlegroups.com>
> > <mailto:
jgroups-raft%2Bunsu...@googlegroups.com
> <mailto:
jgroups-raft%252Buns...@googlegroups.com>>
> > > <mailto:
jgroups-raft...@googlegroups.com
> <mailto:
jgroups-raft%2Bunsu...@googlegroups.com>
> > <mailto:
jgroups-raft%2Bunsu...@googlegroups.com
> <mailto:
jgroups-raft%252Buns...@googlegroups.com>>>.
> > > To post to this group, send email to
> >
jgroup...@googlegroups.com <mailto:
jgroup...@googlegroups.com>
> > <mailto:
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>>
> > > <mailto:
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>
> > <mailto:
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>>>.
> > > To view this discussion on the web visit
> > >
> >
>
https://groups.google.com/d/msgid/jgroups-raft/84fbbfdf-0439-42f5-9824-ea8cbf2817e1%40googlegroups.com
> >
> > >
> >
> <
https://groups.google.com/d/msgid/jgroups-raft/84fbbfdf-0439-42f5-9824-ea8cbf2817e1%40googlegroups.com?utm_medium=email&utm_source=footer>.
> > > For more options, visit
> >
https://groups.google.com/d/optout.
> >
> > --
> > Bela Ban |
http://www.jgroups.org
> >
> > --
> > 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%2Bunsu...@googlegroups.com>
> > <mailto:
jgroups-raft%2Bunsu...@googlegroups.com
> <mailto:
jgroups-raft%252Buns...@googlegroups.com>>.
> > To post to this group, send email to
> >
jgroup...@googlegroups.com <mailto:
jgroup...@googlegroups.com>
> > <mailto:
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>>.
> > To view this discussion on the web visit
> >
>
https://groups.google.com/d/msgid/jgroups-raft/c433ea2d-fc6f-dc91-a9d6-a35a4c91907d%40mailbox.org.
> > For more options, visit
>
https://groups.google.com/d/optout.
> >
>
>
>
> ----------
> From: *Abhishek verma* <
abhi...@gmail.com <mailto:
abhi...@gmail.com>>
> Date: Thu, Aug 23, 2018 at 5:21 PM
> To: Bela Ban <
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
>
>
> Ok, I got it .but i want to elect the leader based on vote ,so how to do
> it.i need example .
>
> thanks
>
>
> ----------
> From: *Bela Ban* <
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
> Date: Thu, Aug 23, 2018 at 5:50 PM
> To: Abhishek verma <
abhi...@gmail.com <mailto:
abhi...@gmail.com>>
>
>
> Leader election is part of Raft, and as such you cannot do your own voting
>
> On 23/08/18 13:51, Abhishek verma wrote:
> > Ok, I got it .but i want to elect the leader based on vote ,so how to do
> > it.i need example .
> >
> > thanks
> >
> > On Thu, Aug 23, 2018 at 2:28 PM Bela Ban <
bel...@mailbox.org
> <mailto:
bel...@mailbox.org>
> > <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>> wrote:
> >
> > This [1] is what I meant
> >
> > [1]
> >
>
http://belaban.github.io/jgroups-raft/manual/index.html#_cluster_singleton_service
> >
> > On 23/08/18 10:41, Abhishek verma wrote:
> > > Hi,
> > > In manual election is achieved using xml.Can i do the election
> > > programmatically.i am stuck here.
> > >
> > > On Thu, Aug 23, 2018 at 12:30 PM belaban <
bel...@mailbox.org
> <mailto:
bel...@mailbox.org>
> > <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
> > > <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>
> <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>>> wrote:
> > >
> > > Leader eldction is described in the manual
> > >
> > >
> > >
> > > Sent from my Samsung device
> > >
> > >
> > > -------- Original message --------
> > > From: Abhishek verma <
abhi...@gmail.com
> <mailto:
abhi...@gmail.com>
> > <mailto:
abhi...@gmail.com <mailto:
abhi...@gmail.com>>
> <mailto:
abhi...@gmail.com <mailto:
abhi...@gmail.com>
> > <mailto:
abhi...@gmail.com <mailto:
abhi...@gmail.com>>>>
> > > Date: 8/23/18 8:20 AM (GMT+01:00)
> > > To: Bela Ban <
bel...@mailbox.org <mailto:
bel...@mailbox.org>
> > <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
> <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>
> > <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>>>
> > > Subject: Re: [jgroups-raft] Re: Jgroups-raft in different
> network
> > >
> > > Ok, thanks. i got it.
> > > And one more thing how to do leader election can you please
> > give me
> > > example using code.
> > >
> > >
> > > thanks
> > >
> > > On Wed, Aug 22, 2018 at 11:09 PM belaban
> <
bel...@mailbox.org <mailto:
bel...@mailbox.org>
> > <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
> > > <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>
> <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>>> wrote:
> > >
> > > If your channel is not connected, then null will be
> returned
> > >
> > >
> > >
> > > Sent from my Samsung device
> > >
> > >
> > > -------- Original message --------
> > > From: Abhishek verma <
abhi...@gmail.com
> <mailto:
abhi...@gmail.com>
> > <mailto:
abhi...@gmail.com <mailto:
abhi...@gmail.com>>
> > > <mailto:
abhi...@gmail.com
> <mailto:
abhi...@gmail.com> <mailto:
abhi...@gmail.com
> <mailto:
abhi...@gmail.com>>>>
> > > Date: 8/22/18 3:29 PM (GMT+01:00)
> > > To: Bela Ban <
bel...@mailbox.org
> <mailto:
bel...@mailbox.org>
> > <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
> <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>
> > <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>>>
> > > Subject: Re: [jgroups-raft] Re: Jgroups-raft in different
> > network
> > >
> > > i tried chanel.getAddressAsUUID() using this method
> but i am
> > > getting null
> > >
> > > thanks
> > >
> > > On Wed, Aug 22, 2018 at 6:58 PM Abhishek verma
> > > <
abhi...@gmail.com <mailto:
abhi...@gmail.com>
> <mailto:
abhi...@gmail.com <mailto:
abhi...@gmail.com>>
> > <mailto:
abhi...@gmail.com <mailto:
abhi...@gmail.com>
> <mailto:
abhi...@gmail.com <mailto:
abhi...@gmail.com>>>> wrote:
> > >
> > > Hi,
> > > according to jgroups-raft manual each cluster
> > member
> > > has an address assign by jgroups.can you please let
> > me know
> > > how to get this uuid
> > >
> > > thanks
> > >
> > > On Thu, Aug 9, 2018 at 6:05 PM Bela Ban
> > <
bel...@mailbox.org <mailto:
bel...@mailbox.org>
> <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
> > > <mailto:
bel...@mailbox.org
> <mailto:
bel...@mailbox.org>
> > <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>>> wrote:
> > >
> > > Hi don't you post your entire configuration?
> > >
> > > jgroups-raft works independently from the actual
> > > transport and discovery
> > > protocols used; all it needs is a working cluster
> > (which
> > > JGroups takes
> > > care of).
> > >
> > > On 08/08/18 12:16,
de...@instor.in
> <mailto:
de...@instor.in>
> > <mailto:
de...@instor.in <mailto:
de...@instor.in>>
> > > <mailto:
de...@instor.in <mailto:
de...@instor.in>
> <mailto:
de...@instor.in <mailto:
de...@instor.in>>> >
> <mailto:
jgroups-raft%2Bunsu...@googlegroups.com
> <mailto:
jgroups-raft%252Buns...@googlegroups.com>
> > <mailto:
jgroups-raft%252Buns...@googlegroups.com
> <mailto:
jgroups-raft%25252Bun...@googlegroups.com>>>
> > > >
> > <mailto:
jgroups-raft...@googlegroups.com
> <mailto:
jgroups-raft%2Bunsu...@googlegroups.com>
> > <mailto:
jgroups-raft%2Bunsu...@googlegroups.com
> <mailto:
jgroups-raft%252Buns...@googlegroups.com>>
> > >
> > <mailto:
jgroups-raft%2Bunsu...@googlegroups.com
> <mailto:
jgroups-raft%252Buns...@googlegroups.com>
> > <mailto:
jgroups-raft%252Buns...@googlegroups.com
> <mailto:
jgroups-raft%25252Bun...@googlegroups.com>>>>.
> > > > To post to this group, send email to
> > >
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>
> <mailto:
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>>
> > > <mailto:
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>
> > <mailto:
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>>>
> > > > <mailto:
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>
> > <mailto:
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>>
> > > <mailto:
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>
> > <mailto:
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>>>>.
> > > > To view this discussion on the web visit
> > > >
> > >
> >
>
https://groups.google.com/d/msgid/jgroups-raft/84fbbfdf-0439-42f5-9824-ea8cbf2817e1%40googlegroups.com
> > >
> > > >
> > >
> >
> <
https://groups.google.com/d/msgid/jgroups-raft/84fbbfdf-0439-42f5-9824-ea8cbf2817e1%40googlegroups.com?utm_medium=email&utm_source=footer>.
> > > > For more options, visit
> > >
https://groups.google.com/d/optout.
> > >
> > > --
> > > Bela Ban |
http://www.jgroups.org
> > >
> > > --
> > > 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%2Bunsu...@googlegroups.com>
> > <mailto:
jgroups-raft%2Bunsu...@googlegroups.com
> <mailto:
jgroups-raft%252Buns...@googlegroups.com>>
> > >
> > <mailto:
jgroups-raft%2Bunsu...@googlegroups.com
> <mailto:
jgroups-raft%252Buns...@googlegroups.com>
> > <mailto:
jgroups-raft%252Buns...@googlegroups.com
> <mailto:
jgroups-raft%25252Bun...@googlegroups.com>>>.
> > > To post to this group, send email to
> > >
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>
> <mailto:
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>>
> > > <mailto:
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>
> > <mailto:
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>>>.
> > > To view this discussion on the web visit
> > >
> >
>
https://groups.google.com/d/msgid/jgroups-raft/c433ea2d-fc6f-dc91-a9d6-a35a4c91907d%40mailbox.org.
> > > For more options, visit
> >
https://groups.google.com/d/optout.
> > >
> >
> > --
> > Bela Ban |
http://www.jgroups.org
> >
>
>
>
> ----------
> From: *Abhishek verma* <
abhi...@gmail.com <mailto:
abhi...@gmail.com>>
> Date: Thu, Aug 23, 2018 at 6:00 PM
> To: Bela Ban <
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
>
>
> Hi,
> Ok then how i get to know that who is the leader and who is the
> follower.
>
>
> ----------
> From: *Bela Ban* <
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
> Date: Thu, Aug 23, 2018 at 6:10 PM
> To: Abhishek verma <
abhi...@gmail.com <mailto:
abhi...@gmail.com>>
>
>
>
http://belaban.github.io/jgroups-raft/manual/index.html#_cluster_singleton_service
>
> On 23/08/18 14:30, Abhishek verma wrote:
> > Hi,
> > Ok then how i get to know that who is the leader and who is the
> > follower.
> >
> > On Thu, Aug 23, 2018 at 5:50 PM Bela Ban <
bel...@mailbox.org
> <mailto:
bel...@mailbox.org>
> > <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>> wrote:
> >
> > Leader election is part of Raft, and as such you cannot do your own
> > voting
> >
> > On 23/08/18 13:51, Abhishek verma wrote:
> > > Ok, I got it .but i want to elect the leader based on vote ,so
> > how to do
> > > it.i need example .
> > >
> > > thanks
> > >
> > > On Thu, Aug 23, 2018 at 2:28 PM Bela Ban <
bel...@mailbox.org
> <mailto:
bel...@mailbox.org>
> > <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
> > > <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>
> <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>>> wrote:
> > >
> > > This [1] is what I meant
> > >
> > > [1]
> > >
> >
>
http://belaban.github.io/jgroups-raft/manual/index.html#_cluster_singleton_service
> > >
> > > On 23/08/18 10:41, Abhishek verma wrote:
> > > > Hi,
> > > > In manual election is achieved using xml.Can i do the
> > election
> > > > programmatically.i am stuck here.
> > > >
> > > > On Thu, Aug 23, 2018 at 12:30 PM belaban
> > <
bel...@mailbox.org <mailto:
bel...@mailbox.org>
> <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
> > > <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>
> <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>>
> > > > <mailto:
bel...@mailbox.org
> <mailto:
bel...@mailbox.org> <mailto:
bel...@mailbox.org
> <mailto:
bel...@mailbox.org>>
> > <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>
> <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>>>> wrote:
> > > >
> > > > Leader eldction is described in the manual
> > > >
> > > >
> > > >
> > > > Sent from my Samsung device
> > > >
> > > >
> > > > -------- Original message --------
> > > > From: Abhishek verma <
abhi...@gmail.com
> <mailto:
abhi...@gmail.com>
> > <mailto:
abhi...@gmail.com <mailto:
abhi...@gmail.com>>
> > > <mailto:
abhi...@gmail.com <mailto:
abhi...@gmail.com>
> <mailto:
abhi...@gmail.com <mailto:
abhi...@gmail.com>>>
> > <mailto:
abhi...@gmail.com <mailto:
abhi...@gmail.com>
> <mailto:
abhi...@gmail.com <mailto:
abhi...@gmail.com>>
> > > <mailto:
abhi...@gmail.com <mailto:
abhi...@gmail.com>
> <mailto:
abhi...@gmail.com <mailto:
abhi...@gmail.com>>>>>
> > > > Date: 8/23/18 8:20 AM (GMT+01:00)
> > > > To: Bela Ban <
bel...@mailbox.org
> <mailto:
bel...@mailbox.org>
> > <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
> > > <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>
> <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>>
> > <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>
> <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
> > > <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>
> <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>>>>
> > > > Subject: Re: [jgroups-raft] Re: Jgroups-raft in
> > different network
> > > >
> > > > Ok, thanks. i got it.
> > > > And one more thing how to do leader election can you
> > please
> > > give me
> > > > example using code.
> > > >
> > > >
> > > > thanks
> > > >
> > > > On Wed, Aug 22, 2018 at 11:09 PM belaban
> > <
bel...@mailbox.org <mailto:
bel...@mailbox.org>
> <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
> > > <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>
> <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>>
> > > > <mailto:
bel...@mailbox.org
> <mailto:
bel...@mailbox.org>
> > <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
> <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>
> > <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>>>> wrote:
> > > >
> > > > If your channel is not connected, then null will
> > be returned
> > > >
> > > >
> > > >
> > > > Sent from my Samsung device
> > > >
> > > >
> > > > -------- Original message --------
> > > > From: Abhishek verma <
abhi...@gmail.com
> <mailto:
abhi...@gmail.com>
> > <mailto:
abhi...@gmail.com <mailto:
abhi...@gmail.com>>
> > > <mailto:
abhi...@gmail.com <mailto:
abhi...@gmail.com>
> <mailto:
abhi...@gmail.com <mailto:
abhi...@gmail.com>>>
> > > > <mailto:
abhi...@gmail.com
> <mailto:
abhi...@gmail.com>
> > <mailto:
abhi...@gmail.com <mailto:
abhi...@gmail.com>>
> <mailto:
abhi...@gmail.com <mailto:
abhi...@gmail.com>
> > <mailto:
abhi...@gmail.com <mailto:
abhi...@gmail.com>>>>>
> > > > Date: 8/22/18 3:29 PM (GMT+01:00)
> > > > To: Bela Ban <
bel...@mailbox.org
> <mailto:
bel...@mailbox.org>
> > <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
> > > <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>
> <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>>
> > <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>
> <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
> > > <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>
> <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>>>>
> > > > Subject: Re: [jgroups-raft] Re: Jgroups-raft in
> > different
> > > network
> > > >
> > > > i tried chanel.getAddressAsUUID() using this
> > method but i am
> > > > getting null
> > > >
> > > > thanks
> > > >
> > > > On Wed, Aug 22, 2018 at 6:58 PM Abhishek verma
> > > > <
abhi...@gmail.com
> <mailto:
abhi...@gmail.com> <mailto:
abhi...@gmail.com
> <mailto:
abhi...@gmail.com>>
> > <mailto:
abhi...@gmail.com <mailto:
abhi...@gmail.com>
> <mailto:
abhi...@gmail.com <mailto:
abhi...@gmail.com>>>
> > > <mailto:
abhi...@gmail.com <mailto:
abhi...@gmail.com>
> <mailto:
abhi...@gmail.com <mailto:
abhi...@gmail.com>>
> > <mailto:
abhi...@gmail.com <mailto:
abhi...@gmail.com>
> <mailto:
abhi...@gmail.com <mailto:
abhi...@gmail.com>>>>> wrote:
> > > >
> > > > Hi,
> > > > according to jgroups-raft manual each
> > cluster
> > > member
> > > > has an address assign by jgroups.can you
> > please let
> > > me know
> > > > how to get this uuid
> > > >
> > > > thanks
> > > >
> > > > On Thu, Aug 9, 2018 at 6:05 PM Bela Ban
> > > <
bel...@mailbox.org <mailto:
bel...@mailbox.org>
> <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
> > <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>
> <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>>
> > > > <mailto:
bel...@mailbox.org
> <mailto:
bel...@mailbox.org>
> > <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
> > > <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>
> <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>>>> > >
> <mailto:
jgroups-raft%2Bunsu...@googlegroups.com
> <mailto:
jgroups-raft%252Buns...@googlegroups.com>
> > <mailto:
jgroups-raft%252Buns...@googlegroups.com
> <mailto:
jgroups-raft%25252Bun...@googlegroups.com>>
> > > <mailto:
jgroups-raft%252Buns...@googlegroups.com
> <mailto:
jgroups-raft%25252Bun...@googlegroups.com>
> > <mailto:
jgroups-raft%25252Bun...@googlegroups.com
> <mailto:
jgroups-raft%2525252Bu...@googlegroups.com>>>>
> > > > >
> > > <mailto:
jgroups-raft...@googlegroups.com
> <mailto:
jgroups-raft%2Bunsu...@googlegroups.com>
> > <mailto:
jgroups-raft%2Bunsu...@googlegroups.com
> <mailto:
jgroups-raft%252Buns...@googlegroups.com>>
> > > <mailto:
jgroups-raft%2Bunsu...@googlegroups.com
> <mailto:
jgroups-raft%252Buns...@googlegroups.com>
> > <mailto:
jgroups-raft%252Buns...@googlegroups.com
> <mailto:
jgroups-raft%25252Bun...@googlegroups.com>>>
> > > >
> > > <mailto:
jgroups-raft%2Bunsu...@googlegroups.com
> <mailto:
jgroups-raft%252Buns...@googlegroups.com>
> > <mailto:
jgroups-raft%252Buns...@googlegroups.com
> <mailto:
jgroups-raft%25252Bun...@googlegroups.com>>
> > > <mailto:
jgroups-raft%252Buns...@googlegroups.com
> <mailto:
jgroups-raft%25252Bun...@googlegroups.com>
> > <mailto:
jgroups-raft%25252Bun...@googlegroups.com
> <mailto:
jgroups-raft%2525252Bu...@googlegroups.com>>>>>. >
> > <mailto:
jgroups-raft%2Bunsu...@googlegroups.com
> <mailto:
jgroups-raft%252Buns...@googlegroups.com>
> > <mailto:
jgroups-raft%252Buns...@googlegroups.com
> <mailto:
jgroups-raft%25252Bun...@googlegroups.com>>
> > > <mailto:
jgroups-raft%252Buns...@googlegroups.com
> <mailto:
jgroups-raft%25252Bun...@googlegroups.com>
> > <mailto:
jgroups-raft%25252Bun...@googlegroups.com
> <mailto:
jgroups-raft%2525252Bu...@googlegroups.com>>>>.
> > > > To post to this group, send email to
> > > >
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>
> > <mailto:
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>>
> > <mailto:
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>
> > <mailto:
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>>>
> > > > <mailto:
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>
> > <mailto:
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>>
> > > <mailto:
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>
> > <mailto:
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>>>>.
> > > > To view this discussion on the web visit
> > > >
> > >
> >
>
https://groups.google.com/d/msgid/jgroups-raft/c433ea2d-fc6f-dc91-a9d6-a35a4c91907d%40mailbox.org.
> > > > For more options, visit
> > >
https://groups.google.com/d/optout.
> > > >
> > >
> > > --
> > > Bela Ban |
http://www.jgroups.org
> > >
> >
> > --
> > Bela Ban |
http://www.jgroups.org
> >
>
>
>
> ----------
> From: *Abhishek verma* <
abhi...@gmail.com <mailto:
abhi...@gmail.com>>
> Date: Thu, Aug 23, 2018 at 6:23 PM
> To: Bela Ban <
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
>
>
> So how can i check level of consensus
>
> thanks
>
>
> ----------
> From: *Abhishek verma* <
abhi...@gmail.com <mailto:
abhi...@gmail.com>>
> Date: Thu, Sep 6, 2018 at 1:08 PM
> To: Bela Ban <
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
>
>
> Hi,
> Can i open and see the log of members of the cluster.
> thanks
>
>
> ----------
> From: *Abhishek verma* <
abhi...@gmail.com <mailto:
abhi...@gmail.com>>
> Date: Thu, Sep 6, 2018 at 1:47 PM
> To: Bela Ban <
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
>
>
> hi,
> In which format log entries stored.I am enable to read it.
> thanks
>
>
>
> ----------
> From: *Abhishek verma* <
abhi...@gmail.com <mailto:
abhi...@gmail.com>>
> Date: Sat, Sep 8, 2018 at 3:32 PM
> To: Bela Ban <
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
>
>
> Hi,
> Why all nodes are converting to candidates and none become the
> leader.Please find the attached the code.
> thanks
> Abhishek Verma
>
>
> ----------
> From: *Abhishek verma* <
abhi...@gmail.com <mailto:
abhi...@gmail.com>>
> Date: Sat, Sep 8, 2018 at 6:59 PM
> To: Bela Ban <
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
>
>
> Hi,
> I am attaching raft.xml file which i am using.Is there any missing
> in configuration please let me know.
> Thanks
> Abhishek Verma
>
>
> ----------
> From: *Bela Ban* <
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
> Date: Mon, Sep 10, 2018 at 11:31 AM
> To: Abhishek verma <
abhi...@gmail.com <mailto:
abhi...@gmail.com>>
>
>
> What are you trying to do? You're not using RaftHandle, but instead send
> messages using the JChannel directly?
>
> On 08/09/18 12:02, Abhishek verma wrote:
> > Hi,
> > Why all nodes are converting to candidates and none become the
> > leader.Please find the attached the code.
> > thanks
> > Abhishek Verma
> >
> > On Thu, Sep 6, 2018 at 1:47 PM Abhishek verma <
abhi...@gmail.com
> <mailto:
abhi...@gmail.com>
> > <mailto:
abhi...@gmail.com <mailto:
abhi...@gmail.com>>> wrote:
> >
> > hi,
> > In which format log entries stored.I am enable to read it.
> > thanks
> >
> >
> > On Thu, Sep 6, 2018 at 1:08 PM Abhishek verma
> <
abhi...@gmail.com <mailto:
abhi...@gmail.com>
> > <mailto:
abhi...@gmail.com <mailto:
abhi...@gmail.com>>> wrote:
> >
> > Hi,
> > Can i open and see the log of members of the cluster.
> > thanks
> >
> > On Thu, Aug 23, 2018 at 6:23 PM Abhishek verma
> > <
abhi...@gmail.com <mailto:
abhi...@gmail.com>
> <mailto:
abhi...@gmail.com <mailto:
abhi...@gmail.com>>> wrote:
> >
> > So how can i check level of consensus
> >
> > thanks
> >
> > On Thu, Aug 23, 2018 at 6:10 PM Bela Ban
> > <
bel...@mailbox.org <mailto:
bel...@mailbox.org>
> <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>> wrote:
> >
> >
>
http://belaban.github.io/jgroups-raft/manual/index.html#_cluster_singleton_service
> >
> > On 23/08/18 14:30, Abhishek verma wrote:
> > > Hi,
> > > Ok then how i get to know that who is the
> > leader and who is the
> > > follower.
> > >
> > > On Thu, Aug 23, 2018 at 5:50 PM Bela Ban
> > <
bel...@mailbox.org <mailto:
bel...@mailbox.org>
> <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
> > > <mailto:
bel...@mailbox.org
> <mailto:
bel...@mailbox.org>
> > <mailto:
bel...@mailbox.org
> <mailto:
bel...@mailbox.org>>>> wrote:
> > >
> > > Leader election is part of Raft, and as such you
> > cannot do your own
> > > voting
> > >
> > > On 23/08/18 13:51, Abhishek verma wrote:
> > > > Ok, I got it .but i want to elect the leader
> > based on vote ,so
> > > how to do
> > > > it.i need example .
> > > >
> > > > thanks
> > > >
> > > > On Thu, Aug 23, 2018 at 2:28 PM Bela Ban
> > <
bel...@mailbox.org <mailto:
bel...@mailbox.org>
> <mailto:
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
> > > <mailto:
bel...@mailbox.org
> <mailto:
bel...@mailbox.org>
> > <mailto:
bel...@mailbox.org
> <mailto:
bel...@mailbox.org>>>
> >
> <mailto:
jgroups-raft%252Buns...@googlegroups.com
> <mailto:
jgroups-raft%25252Bun...@googlegroups.com>
> >
> <mailto:
jgroups-raft%25252Bun...@googlegroups.com
> <mailto:
jgroups-raft%2525252Bu...@googlegroups.com>>
> > >
> >
> <mailto:
jgroups-raft%25252Bun...@googlegroups.com
> <mailto:
jgroups-raft%2525252Bu...@googlegroups.com>
> <mailto:
jgroups-raft%2525252Bu...@googlegroups.com
> <mailto:
jgroups-raft%252525252B...@googlegroups.com>>>>>
> > > > > >
> > > >
> > <mailto:
jgroups-raft...@googlegroups.com
> <mailto:
jgroups-raft%2Bunsu...@googlegroups.com>
> > <mailto:
jgroups-raft%2Bunsu...@googlegroups.com
> <mailto:
jgroups-raft%252Buns...@googlegroups.com>>
> > >
> > <mailto:
jgroups-raft%2Bunsu...@googlegroups.com
> <mailto:
jgroups-raft%252Buns...@googlegroups.com>
> > <mailto:
jgroups-raft%252Buns...@googlegroups.com
> <mailto:
jgroups-raft%25252Bun...@googlegroups.com>>>
> > > >
> > <mailto:
jgroups-raft%2Bunsu...@googlegroups.com
> <mailto:
jgroups-raft%252Buns...@googlegroups.com>
> > <mailto:
jgroups-raft%252Buns...@googlegroups.com
> <mailto:
jgroups-raft%25252Bun...@googlegroups.com>>
> > >
> >
> <mailto:
jgroups-raft%252Buns...@googlegroups.com
> <mailto:
jgroups-raft%25252Bun...@googlegroups.com>
> >
> <mailto:
jgroups-raft%25252Bun...@googlegroups.com
> <mailto:
jgroups-raft%2525252Bu...@googlegroups.com>>>>
> > > > >
> > > >
> > <mailto:
jgroups-raft%2Bunsu...@googlegroups.com
> <mailto:
jgroups-raft%252Buns...@googlegroups.com>
> > <mailto:
jgroups-raft%252Buns...@googlegroups.com
> <mailto:
jgroups-raft%25252Bun...@googlegroups.com>>
> > >
> >
> <mailto:
jgroups-raft%252Buns...@googlegroups.com
> <mailto:
jgroups-raft%25252Bun...@googlegroups.com>
> >
> <mailto:
jgroups-raft%25252Bun...@googlegroups.com
> <mailto:
jgroups-raft%2525252Bu...@googlegroups.com>>>
> > > >
> >
> <mailto:
jgroups-raft%252Buns...@googlegroups.com
> <mailto:
jgroups-raft%25252Bun...@googlegroups.com>
> >
> <mailto:
jgroups-raft%25252Bun...@googlegroups.com
> <mailto:
jgroups-raft%2525252Bu...@googlegroups.com>>
> > >
> >
> <mailto:
jgroups-raft%25252Bun...@googlegroups.com
> <mailto:
jgroups-raft%2525252Bu...@googlegroups.com>
> <mailto:
jgroups-raft%2525252Bu...@googlegroups.com
> <mailto:
jgroups-raft%252525252B...@googlegroups.com>>>>>>. >
> <mailto:
jgroups-raft%2Bunsu...@googlegroups.com
> <mailto:
jgroups-raft%252Buns...@googlegroups.com>
> > <mailto:
jgroups-raft%252Buns...@googlegroups.com
> <mailto:
jgroups-raft%25252Bun...@googlegroups.com>>
> > >
> >
> <mailto:
jgroups-raft%252Buns...@googlegroups.com
> <mailto:
jgroups-raft%25252Bun...@googlegroups.com>
> >
> <mailto:
jgroups-raft%25252Bun...@googlegroups.com
> <mailto:
jgroups-raft%2525252Bu...@googlegroups.com>>>
> > > >
> >
> <mailto:
jgroups-raft%252Buns...@googlegroups.com
> <mailto:
jgroups-raft%25252Bun...@googlegroups.com>
> >
> <mailto:
jgroups-raft%25252Bun...@googlegroups.com
> <mailto:
jgroups-raft%2525252Bu...@googlegroups.com>>
> > >
> >
> <mailto:
jgroups-raft%25252Bun...@googlegroups.com
> <mailto:
jgroups-raft%2525252Bu...@googlegroups.com>
> <mailto:
jgroups-raft%2525252Bu...@googlegroups.com
> <mailto:
jgroups-raft%252525252B...@googlegroups.com>>>>>.
> > > > > To post to this group,
> > send email to
> > > > >
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>
> > <mailto:
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>>
> > > <mailto:
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>
> > <mailto:
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>>>
> > > <mailto:
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>
> > <mailto:
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>>
> > > <mailto:
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>
> > <mailto:
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>>>>
> > > > >
> > <mailto:
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>
> > <mailto:
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>>
> > > <mailto:
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>
> > <mailto:
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>>>
> > > > <mailto:
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>
> > <mailto:
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>>
> > > <mailto:
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>
> > <mailto:
jgroup...@googlegroups.com
> <mailto:
jgroup...@googlegroups.com>>>>>.
> > > > > To view this discussion
> > on the web visit
> > > > >
> > > >
> > >
> >
>
https://groups.google.com/d/msgid/jgroups-raft/c433ea2d-fc6f-dc91-a9d6-a35a4c91907d%40mailbox.org.
> > > > > For more options, visit
> > > >
https://groups.google.com/d/optout.
> > > > >
> > > >
> > > > --
> > > > Bela Ban |
http://www.jgroups.org
> > > >
> > >
> > > --
> > > Bela Ban |
http://www.jgroups.org
> > >
> >
> > --
> > Bela Ban |
http://www.jgroups.org
> >
>
>
>
> ----------
> From: *Abhishek verma* <
abhi...@gmail.com <mailto:
abhi...@gmail.com>>
> Date: Tue, Sep 11, 2018 at 8:22 PM
> To: <
su...@instor.in <mailto:
su...@instor.in>>,
> <
nagendr...@instor.in <mailto:
nagendr...@instor.in>>
>
>
> Hi,
> Please check the message
>
> ---------- Forwarded message ---------
> From: *Bela Ban* <
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
> Date: Mon, Sep 10, 2018 at 11:31 AM
> Subject: Re: [jgroups-raft] Re: Jgroups-raft in different network
> To: Abhishek verma <
abhi...@gmail.com <mailto:
abhi...@gmail.com>>
>
>
> ----------
> From: *Abhishek verma* <
abhi...@gmail.com <mailto:
abhi...@gmail.com>>
> Date: Tue, Sep 11, 2018 at 8:58 PM
> To: <
nagendr...@instor.in <mailto:
nagendr...@instor.in>>
>
>
> Hi,
> Please check this message
>
> ---------- Forwarded message ---------
> From: *Abhishek verma* <
abhi...@gmail.com <mailto:
abhi...@gmail.com>>
> Date: Sat, Sep 8, 2018 at 3:32 PM
> Subject: Re: [jgroups-raft] Re: Jgroups-raft in different network
> To: Bela Ban <
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
>
>
> ----------
> From: *Abhishek verma* <
abhi...@gmail.com <mailto:
abhi...@gmail.com>>
> Date: Tue, Sep 11, 2018 at 8:59 PM
> To: <
nagendr...@instor.in <mailto:
nagendr...@instor.in>>
>
>
>
>
> ---------- Forwarded message ---------
> From: *Abhishek verma* <
abhi...@gmail.com <mailto:
abhi...@gmail.com>>
> Date: Sat, Sep 8, 2018 at 6:59 PM
> Subject: Re: [jgroups-raft] Re: Jgroups-raft in different network
> To: Bela Ban <
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
>
>
> ----------
> From: *Nagendra Kumar Sankara Moorthy* <
nagendr...@instor.in
> <mailto:
nagendr...@instor.in>>
> Date: Tue, Sep 11, 2018 at 9:54 PM
> To: <
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
> Cc: Abhishek verma <
abhi...@gmail.com <mailto:
abhi...@gmail.com>>,
> Subbu Jois <
su...@instor.in <mailto:
su...@instor.in>>
>
>
> Hi Belaban,
> Is this usage with RaftHandle is not correct?
> We thought this will send messages through RaftHandle.
> Can you kindly share a example code. The demo code which is in
> jgroups-raft github is not using raft.xml, rather configurations are
> done through Java code.
>
> ch=new JChannel("raft.xml").name(raftId);
> handle=new RaftHandle(ch, this).raftId(raftId);
> //rsm=new ReplicatedStateMachine<>(ch).raftId(raftId).timeout(1000);
> ch.connect("DCB");
> handle.addRoleListener(this);
> //System.out.println("LEADER IS:::"+handle.leader()+"::"+handle.isLeader());
> ch.setReceiver(this); //call view accept method
> ch.getState(null, 10000);
> eventLoop();
> ch.close();
>
>
> Thanks in advance.
>
> - Nagendra
> --
> Thanks
> Nagendra
>
>
> ----------
> From: *Abhishek verma* <
abhi...@gmail.com <mailto:
abhi...@gmail.com>>
> Date: Wed, Sep 12, 2018 at 8:11 PM
> To: Bela Ban <
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
>
>
> Hi Bela Ban,
> Is there any method so i can get the ack and print
> somewhere.
> Thanks
> Abhishek Verma
> ---------- Forwarded message ---------
> From: *Bela Ban* <
bel...@mailbox.org <mailto:
bel...@mailbox.org>>
> Date: Mon, Sep 10, 2018 at 11:31 AM
> Subject: Re: [jgroups-raft] Re: Jgroups-raft in different network
> To: Abhishek verma <
abhi...@gmail.com <mailto:
abhi...@gmail.com>>
>
>
--
Bela Ban |
http://www.jgroups.org