cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Lebresne <sylv...@yakaz.com>
Subject Re: How does cassandra deal with collisions?
Date Fri, 30 Apr 2010 07:32:29 GMT
Two rows are never compared by the MD5 of their keys. The md5 of a row key is
just used to choose which nodes of the cluster are responsible for the row.

On Fri, Apr 30, 2010 at 5:37 AM, Mark Jones <MJones@imagehawk.com> wrote:
> MD5 is not a perfect hash, it can produce collisions, how are these dealt
> with?
>
> Is there a size appended to them?
>
>
>
> If 2 keys collide, would that result in a merging of data (if the column
> names aren’t the same) or an overwrite if they were?

Mime
View raw message