cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Alonso <i...@mrcalonso.com>
Subject Re: Is replication possible with already existing data?
Date Mon, 12 Oct 2015 10:16:59 GMT
Yes Ajay, in your particular scenario, after all hints are delivered, both
CAS11 and CAS12 will have the exact same data.

Cheers!

Carlos Alonso | Software Engineer | @calonso <https://twitter.com/calonso>

On 11 October 2015 at 05:21, Ajay Garg <ajaygargnsit@gmail.com> wrote:

> Thanks a ton Anuja for the help !!!
>
> On Fri, Oct 9, 2015 at 12:38 PM, anuja jain <anujajain4@gmail.com> wrote:
> > Hi Ajay,
> >
> >
> > On Fri, Oct 9, 2015 at 9:00 AM, Ajay Garg <ajaygargnsit@gmail.com>
> wrote:
> >>
> > In this case, it will be the responsibility of APP1 to start connection
> to
> > CAS12. On the other hand if your APP1 is connecting to cassandra using
> Java
> > driver, you can add multiple contact points(CAS11 and CAS12 here) so
> that if
> > CAS11 is down it will directly connect to CAS12.
>
> Great .. Java-driver it will be :)
>
>
>
>
> >>
> > In such a case, CAS12 will store hints for the data to be stored on CAS11
> > (the tokens of which lies within the range of tokens CAS11 holds)  and
> > whenever CAS11 is up again, the hints will be transferred to it and the
> data
> > will be distributed evenly.
> >
>
> Evenly?
>
> Should not the data be """EXACTLY""" equal after CAS11 comes back up
> and the sync/transfer/whatever happens?
> After all, before CAS11 went down, CAS11 and CAS12 were replicating all
> data.
>
>
> Once again, thanks for your help.
> I will be even more grateful if you would help me clear the lingering
> doubt to second point.
>
>
> Thanks and Regards,
> Ajay
>

Mime
View raw message