Re: Handoff on failure.

2010-06-12 Thread Jonathan Ellis
>From that page:

To bootstrap a node, turn AutoBootstrap on in the configuration file,
and start it.

If you explicitly specify an InitialToken in the configuration, the
new node will bootstrap to that position on the ring. Otherwise, it
will pick a Token that will give it half the keys from the node with
the most disk space used, that does not already have another node
bootstrapping into its Range.

On Fri, Jun 11, 2010 at 8:24 PM, Sriram Srinivasan  wrote:
> I saw the operations page, but didn't get what I was looking for. What I
> meant by my earlier statement was that it is not clear to me who assigns the
> token to a new node; if a node goes down, and another process comes up, is
> (a) the token assigned to it automatically by consensus (and the bootstrap
> process gives it a place in the ring where it needs most load balancing),
> or, (b) it is an external script's responsibility to bootstrap every node
> with a new initialtoken?
>
>
> On Jun 12, 2010, at 8:46 AM, Jonathan Ellis wrote:
>
>> I'm not sure what you mean, but
>> http://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 out which range needs help.
>>>
>
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support
http://riptano.com


Re: column family naming restrictions?

2010-06-12 Thread Eric Evans
On Tue, 2010-06-08 at 13:30 -0700, Ed Anuff wrote:
> Are the restrictions on column family names specified anywhere?  I see that
> hyphens aren't allowed, and I assume anything else that wouldn't work in a
> filename?  I assume that underscores, commas, and periods are allowed?

This is a good question, and no there is no formal specification.
Hyphens are definitely out since they are used as delimiters when
constructing filenames, and imagine that things like slashes and
backslashes would wreak havoc as well.

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

-- 
Eric Evans
eev...@rackspace.com