AFAIK, you didn't replicate the server. Please correct me if I'm
wrong. But unless the slave has the ability of connect to the master,
you just got a pool of mmc servers, with is what we all usually do.
What distribution are you using?

weights are for sharding. if you set a weight to 0 that server wont
get any connection so basically all the keys will be in the other
server but that doesn't means you are creating a master where slaves
can get data from.

Saludos

On Wed, Sep 22, 2010 at 12:30 AM, GOD <[email protected]> wrote:
> I have replicated memcached implemented where there is replication
> happening between two memcache servers. I need to be able to write to
> only one of the servers and not both. I am using the com danga client.
> Will I be able to achieve that if I set weights to 0 for the 2nd
> server.
>
> The main reason I am doing this is that the 2nd memcached server is
> needed only during a failover situation and not always. The data will
> be replicated through the 1st server and my client need not
> specifically write to the 2nd one.



-- 
Gabriel Sosa
Si buscas resultados distintos, no hagas siempre lo mismo. - Einstein

Reply via email to