Netflix / astyanax

Cassandra Java Client
Apache License 2.0
1.04k stars 355 forks source link

Uniqueness implementation uses CL_LOCAL_QUORUM by default #595

Open lucasbru opened 8 years ago

lucasbru commented 8 years ago

I am surprised to discover that RowUniquenessConstraint is implemented using CL_LOCAL_QUORUM by default. This would leave the possibility of creating non-unique rows across datacenters. I suggest this behavior to be fixed or at least documented.