To my knowledge, nodes are already started with consistent hash code used
for affinity, which survives restarts. Can someone clarify why we need the
consistent ID as well?

D.

On Tue, Jul 7, 2015 at 5:45 AM, Ira Vasilinets <[email protected]>
wrote:

> Alexey,
>
> I do not want to remove default implementation of consistentId. If user
> would like to configure consistentId, he should write xml file per node.
> I will be glad if someone propose more elegant solution =)
>
> On Tue, Jul 7, 2015 at 2:07 PM, Alexey Kuznetsov <[email protected]>
> wrote:
>
> > Ira, usually we have xml file with node config and start several nodes.
> > What would happened if user specify consistent id in spring xml file and
> > start several nodes with same config?
> > Or in this case user should write as much xml files as much nodes he
> going
> > to start?
> >
> >
> > On Tue, Jul 7, 2015 at 6:00 PM, Ira Vasilinets <[email protected]
> >
> > wrote:
> >
> > > ClusterNode.consistentId is consistent globally unique node ID and
> should
> > > be the same after node restart. Node consistent id is a string that
> > > contains node's addresses and port discovery number by default. After
> > > restarting node default consistentId could change. I think that
> > > IgniteConfiguration should have possibility to configurate constant
> > node's
> > > consistentId.
> > >
> > > On Tue, Jul 7, 2015 at 1:31 PM, Dmitriy Setrakyan <
> [email protected]
> > >
> > > wrote:
> > >
> > > > Ira,
> > > >
> > > > Can you please describe what a consistent ID is?
> > > >
> > > > D.
> > > >
> > > > On Tue, Jul 7, 2015 at 3:27 AM, Ira Vasilinets <
> > [email protected]
> > > >
> > > > wrote:
> > > >
> > > > > Hi!
> > > > >
> > > > > I looked throught IgniteConfiguration methods and noticed that we
> do
> > > not
> > > > > have posibility to configure node consistentId. I think
> > > > IgniteConfiguration
> > > > > should have methods setConsistentId and getConsistentId.
> > > > >
> > > > > Thoughts?
> > > > >
> > > > > Kind Regards,
> > > > > Ira.
> > > > >
> > > >
> > >
> >
> >
> >
> > --
> > Alexey Kuznetsov
> > GridGain Systems
> > www.gridgain.com
> >
>

Reply via email to