incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wei Zhu <wz1...@yahoo.com>
Subject Re: Data not fully replicated with 2 nodes and replication factor 2
Date Wed, 19 Jun 2013 23:35:24 GMT
Rob, 
Thanks. 
I was not aware of that. So we can avoid repair if there is no hardware failure...I found
a blog: 

http://www.datastax.com/dev/blog/modern-hinted-handoff 

-Wei 

----- Original Message -----

From: "Robert Coli" <rcoli@eventbrite.com> 
To: user@cassandra.apache.org, "Wei Zhu" <wz1975@yahoo.com> 
Sent: Wednesday, June 19, 2013 12:58:45 PM 
Subject: Re: Data not fully replicated with 2 nodes and replication factor 2 

On Wed, Jun 19, 2013 at 11:43 AM, Wei Zhu <wz1975@yahoo.com> wrote: 
> I think hints are only stored when the other node is down, not on the 
> dropped mutations. (Correct me if I am wrong, actually it's not a bad idea 
> to store hints for dropped mutations and replay them later?) 

This used to be the way it worked pre-1.0... 

https://issues.apache.org/jira/browse/CASSANDRA-2034 

In modern cassandra, anything but a successful ack from a coordinated 
write results in a hint on the coordinator. 

> To solve your issue, as I mentioned, either do nodetool repair, or increase 
> your consistency level. By the way, you probably write faster than your 
> cluster can handle if you see that many dropped mutations. 

If his hints are ultimately delivered, OP should not "need" repair to 
be consistent. 

=Rob 


Mime
View raw message