cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Wilkie <>
Subject Re: RFC: Cassandra Virtual Nodes
Date Wed, 21 Mar 2012 19:24:01 GMT
Hi Edward

> 1) No more raid 0. If a machine is responsible for 4 vnodes they
> should correspond to for JBOD.

So each vnode corresponds to a disk?  I suppose we could have a
separate data directory per disk, but I think this should be a
separate, subsequent change.

However, do note that making the vnode ~size of a disk (and only have
4-8 per machine) would make any non-hotswap rebuilds slower.  To get
the fast distributed rebuilds, you need to have at least as many
vnodes per node as you do nodes in the cluster.  And you would still
need the distributed rebuilds to deal with disk failure.

> 2) Vnodes should be able to be hot pluged. My normal cassandra chassis
> would be a 2U with 6 drive bays. Imagine I have 10 nodes. Now if my
> chassis dies I should be able to take the disks out and physically
> plug them into another chassis. Then in cassandra I should be able to
> run a command like.
> nodetool attach '/mnt/disk6'. disk6 should contain all data an it's
> vnode information.
> Now this would be awesome for upgrades/migrations/etc.

You know, your not the first person I've spoke to who has asked for
this!  I do wonder whether it is optimising for the right thing though
- in my experience, disks fail more often than machines.



View raw message