vaseems / xmemcached

Automatically exported from code.google.com/p/xmemcached
Apache License 2.0
0 stars 0 forks source link

Tokyo Tyrant double backup,when shutdown main session, can't connect to backup session #209

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Set Tokyo Tyrant double backup
2.one TT was main session ;the other was backup session
3.shutdown main TT; then can't connect to backup.

What is the expected output? What do you see instead?
I expected xmemcached still connected to backup TT; instead threw exception: 
“There is no available connection at this moment”.

What version of the product are you using? On what operating system?
1.3.8.xp(client)---->TT(CentOS)

Original issue reported on code.google.com by chenyong...@gmail.com on 24 Jul 2012 at 1:54

GoogleCodeExporter commented 9 years ago
How did you use the standby feature?Please provide your xmemcached client 
configuration,thanks.

Original comment by killme2...@gmail.com on 30 Jul 2012 at 2:18

GoogleCodeExporter commented 9 years ago
I just want that standby node can backup when main node shutdown accidentally。
configuration: 
just new a XMemcachedClientBuilder(Map<InetSocketAddress, InetSocketAddress> 
addressMap) ,and main node was key, standby node was value。thanks.

Original comment by chenyong...@gmail.com on 14 Aug 2012 at 2:18