Re: Data Model - Consistency question

2012-09-19 Thread Hiller, Dean
hni Rajagopal >mailto:roshni_rajago...@hotmail.com>> >Reply-To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" >mailto:user@cassandra.apache.org>> >Date: Wednesday, September 19, 2012 6:16 AM >To: "user@cassandra.apache.org<mailto:user@c

Re: Data Model - Consistency question

2012-09-19 Thread Hiller, Dean
;> Reply-To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" mailto:user@cassandra.apache.org>> Date: Wednesday, September 19, 2012 6:16 AM To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" mailto:user@cassandra.apache.org>>

Data Model - Consistency question

2012-09-19 Thread Roshni Rajagopal
Hi Folks, In the relational world, if I needed to model students, courses relationship, I may have donea students -master tablea course - master tablea bridge table students-course which gives me the ids to students and the courses they are taking. This can answer both 'which students take cour

Re: consistency question

2011-02-15 Thread Edward Capriolo
On Tue, Feb 15, 2011 at 3:59 AM, Serdar Irmak wrote: > Hi, > > > > In a 3 node named (named A,B,C) setup with replication factor 3 and quorum > read/write scenario; > > suppose a new value of data X is written to A and B but not C with any > reason, then A wend down and I fired D with the data of

consistency question

2011-02-15 Thread Serdar Irmak
Hi, In a 3 node named (named A,B,C) setup with replication factor 3 and quorum read/write scenario; suppose a new value of data X is written to A and B but not C with any reason, then A wend down and I fired D with the data of C or with an empty data where in a case is X is not present in D. Th

Re: Consistency question caused by Read_all and Write_one

2010-12-14 Thread Tyler Hobbs
Could you give more details on what you're trying to do? This sounds like a case where a UUID will give you what you need without needing to lock. - Tyler On Tue, Dec 14, 2010 at 10:24 AM, Alvin UW wrote: > Thanks. > It is very helpful. > > I think I'd like to write to the same column. > > Wou

Re: Consistency question caused by Read_all and Write_one

2010-12-14 Thread Alvin UW
Thanks. It is very helpful. I think I'd like to write to the same column. Would you please give me more details about your last sentence? For example, why can't I use locking mechanism inside of cassandra? Thanks. Alvin 2010/12/13 Aaron Morton > In your example is a little unclear. > > If yo

Re: Consistency question caused by Read_all and Write_one

2010-12-13 Thread Aaron Morton
In your example is a little unclear. If you are writing to a single row and creating columns with user names. Then when you read all the columns for row 1 you will get columns called Dan and Ken. If you are writing to the same column, let's say called user, then *if* they are send with the sam

Re: Consistency question caused by Read_all and Write_one

2010-12-13 Thread Alvin UW
Yes, the same timestamp 2010/12/10 Ryan King > On Fri, Dec 10, 2010 at 12:49 PM, Alvin UW wrote: > > Hello, > > > > > > I got a consistency problem in Cassandra. > > > > Given a column family with a record:Id Name > > 1David > >

Re: Consistency question caused by Read_all and Write_one

2010-12-10 Thread Ryan King
On Fri, Dec 10, 2010 at 12:49 PM, Alvin UW wrote: > Hello, > > > I got a consistency problem in Cassandra. > > Given a column family with a record:    Id   Name >     1    David > > There are three backups for this column family. > > Assume there

Re: Consistency question caused by Read_all and Write_one

2010-12-10 Thread Peter Schuller
> Assume there are two write operation happens issued by the same application > by this order: write_one("1", "Dan") ; write_one("1", "Ken"). > What will Read_all("1") get? Assuming read_all means reading at consistency level ALL, it sees the latest value ("Ken"). > Assume the above two write ope

Consistency question caused by Read_all and Write_one

2010-12-10 Thread Alvin UW
Hello, I got a consistency problem in Cassandra. Given a column family with a record:Id Name 1David There are three backups for this column family. Assume there are two write operation happens issued by the same application by t

Re: Upgrade and Consistency Question

2010-04-17 Thread Jonathan Ellis
Sounds like http://wiki.apache.org/cassandra/FAQ#change_replication On Sat, Apr 17, 2010 at 8:17 AM, Gary wrote: > I had a single-node instance (0.5) that has some data (1 SCF has 1 key and > about 500k columns). I upgraded the node to 0.6 release yesterday and added > another 0.6 node to try out

Upgrade and Consistency Question

2010-04-17 Thread Gary
I had a single-node instance (0.5) that has some data (1 SCF has 1 key and about 500k columns). I upgraded the node to 0.6 release yesterday and added another 0.6 node to try out clustering. The two nodes seem to work fine (discovered each other), but reading the data on either node only returns a