At Thu, 01 Mar 2012 10:29:32 +0800, Liu Yuan wrote: > > On 02/29/2012 06:32 PM, Chris Webb wrote: > > > MORITA Kazutaka <[email protected]> writes: > > > >> If you specify zero to the number of virtual nodes, no data will not > >> be stored to the node. > > > > This looks great to me: gives us a nice way to deal with varying disk sizes > > across a cluster. > > > > If I set -v 0, presumably the store directory is completely unused; would > > this allow me to create a forward-only sheep, or would -v 0 need additional > > special-casing for that to work right? > > > > I think -v 0 would serve your purpose as a forward-only sheep. -v 0 > means no virtual nodes of this node will be created on the consistent > hash ring, so 'data object' in the ring would never have the chance to > be spread on the specified node with '-v 0'.
Yes. Note that the forward-only node with '-v 0' still needs a small storage to store a configuration file and epochs. Thanks, Kazutaka -- sheepdog mailing list [email protected] http://lists.wpkg.org/mailman/listinfo/sheepdog
