Hi,

You can write with CL=EACH_QUORUM and read with CL=LOCAL_QUORUM to get strong consistency.

Kind regards,
Reynald

On 28/09/2017 13:46, Peng Xiao wrote:
even with CL=QUORUM,there is no guarantee to be sure to read the same data in DC2,right?
then multi DCs looks make no sense?


------------------?0?2?????????0?2------------------
*??????:*?0?2"DuyHai Doan";<doanduy...@gmail.com>;
*????????:*?0?22017??9??28??(??????) ????5:45
*??????:*?0?2"user"<user@cassandra.apache.org>;
*????:*?0?2Re: data loss in different DC

If you're writing into DC1 with CL = LOCAL_xxx, there is no guarantee to be sure to read the same data in DC2. Only repair will help you

On Thu, Sep 28, 2017 at 11:41 AM, Peng Xiao <2535...@qq.com <mailto:2535...@qq.com>> wrote:

    Dear All,

    We have a cluster with one DC1:RF=3,another DC DC2:RF=1 only for
    ETL,but we found that sometimes we can query records in DC1,while
    not able not find the same record in DC2 with local_quorum.How it
    happens?
    Could anyone please advise?
    looks we can only run repair to fix it.

    Thanks,
    Peng Xiao



Reply via email to