Handoff on failure.

2010-06-10 Thread Sriram Srinivasan
I am looking at Cassandra 0.6.2's source code, and am unable to figure out where, if at all, repartitioning happens in the case of failure. The Gossiper's onDead message is ignored. Can someone please clarify this for me?

Re: Handoff on failure.

2010-06-11 Thread Sriram Srinivasan
wrote: repartitioning is expensive. you don't want to do it as soon as a node goes down (which may be temporary, cassandra has no way of knowing). so repartitioning happens when decommission is done by a human. On Thu, Jun 10, 2010 at 10:37 PM, Sriram Srinivasan wrote: I am looking at Cassandra 0.6.

Re: Handoff on failure.

2010-06-11 Thread Sriram Srinivasan
wiki.apache.org/cassandra/Operations may clear some things up. On Fri, Jun 11, 2010 at 7:49 PM, Sriram Srinivasan wrote: Fair enough. But doesn't that mean that the node that comes up has the same token? I suppose the answer is that the auto bootstrap process is smart enough to figure o

Re: Atomic Compare and Swap

2010-06-20 Thread Sriram Srinivasan
I too am interested in a CAS facility. I like Rishi's proposal. One could simply use a version number as the logical timestamp. If we promote CAS to a consistency level, it would rate higher than a quorum. One pays the price for a more complex write path to obtain the requisite guarantee.

"CommitLog" semantics

2010-06-28 Thread Sriram Srinivasan
Hiya. The architecture internals document and various presentations (such as http://www.slideshare.net/jhammerb/data-presentations-cassandra-sigmod) say something like the following: ... a row mutation is first written to the commit log before being propagated to the memtable ... This g

Re: "CommitLog" semantics

2010-06-28 Thread Sriram Srinivasan
In batch mode, we still block while the commit log is written. See BatchCommitLogExecutorService.add(). That add() method is what gets called in Table.apply(). Ah, yes. I did see the .add(), but I missed the .get() wait on the future. Thanks much. --sriram.

Dumb question: where is v. 0.7?

2010-07-01 Thread Sriram Srinivasan
I feel dumb; I'm unable to locate version 0.7. Is it online anywhere? Thanks. --sriram.

Re: Dumb question: where is v. 0.7?

2010-07-01 Thread Sriram Srinivasan
rrelate to a node's position on the ring? --sriram. On Jul 2, 2010, at 11:45 AM, Jeremy Hanna wrote: It's still trunk. 0.7 hasn't been tagged for a beta release or anything yet. On Jul 1, 2010, at 11:10 PM, Sriram Srinivasan wrote: I feel dumb; I'm unable to locate version 0.7. Is it online anywhere? Thanks. --sriram.