libmemcache: memcached_behavior_number_of_replicas working?

2011-03-03 Thread Bill Moseley
http://docs.libmemcached.org/memcached_behavior_set.html#memcached_behavior_number_of_replicas or http://

Re: libmemcache: memcached_behavior_number_of_replicas working?

2011-03-03 Thread Felipe Cerqueira
Hi, Its works for me on version 0.45 with C. I didnt like of this behavior but its works. The concept of master and slave dont exist. So, if its get a error trying to send data to the hash(key)->server, its dont send data to the others server(s). On Mar 3, 12:09 pm, Bill Moseley wrote: > htt

Re: libmemcache: memcached_behavior_number_of_replicas working?

2011-03-03 Thread Bill Moseley
On Thu, Mar 3, 2011 at 9:54 AM, Felipe Cerqueira wrote: > Hi, > > Its works for me on version 0.45 with C. > Well, perhaps I'm not configuring the client correctly. See below. > > I didnt like of this behavior but its works. > > The concept of master and slave dont exist. So, if its get a erro

Re: libmemcache: memcached_behavior_number_of_replicas working?

2011-03-03 Thread Felipe Cerqueira
Hi Bill, On Mar 3, 3:54 pm, Bill Moseley wrote: > On Thu, Mar 3, 2011 at 9:54 AM, Felipe Cerqueira wrote: > > > Hi, > > > Its works for me on version 0.45 with C. > > Well, perhaps I'm not configuring the client correctly.  See below. > > > > > I didnt like of this behavior but its works. > > > T

Re: libmemcache: memcached_behavior_number_of_replicas working?

2011-03-03 Thread Bill Moseley
On Thu, Mar 3, 2011 at 11:18 AM, Felipe Cerqueira wrote: > The replication only works with binary mode. Did you set it up? > Oh, no, I guess that would help. I must of missed that in the docs. I was running Memcached 1.2.8, so I just installed 1.4.5 and enabled binary in the Perl code with: $m

Re: libmemcache: memcached_behavior_number_of_replicas working?

2011-03-03 Thread Brian Aker
Hi! On Mar 3, 2011, at 5:12 PM, Bill Moseley wrote: > But, then when I exit the program (closing the connection) the LAST key I > wrote gets written to the replicant(s). I explained this on the libmemcached mailing list but I will comment do a short comment on it here as well. Libmemcached wi

Re: libmemcache: memcached_behavior_number_of_replicas working?

2011-03-03 Thread Brian Aker
Hi! On Mar 3, 2011, at 11:18 AM, Felipe Cerqueira wrote: > About your question, its really wont replicate the data if fails on > first server. You can see it on the source code of libmemcached: > > See: http://goo.gl/JSSro > > I dont like this behaivor too. I'd take a patch to change this beha