guanqingan / xmemcached

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

addOneServerWithWeight Operation does not work properly in JMX #235

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Start app server with XMemcached session with stats on
2.Load JConsole and load 
net.rubyeye.xmemcached:type=XMemcachedClient-MemcachedClient-0
3.Expand Operations and add a server using addOneServerWithWeight with 
appropriate parameters
What is the expected output? What do you see instead?
when I add a server using addOneServerWithWeight, I get the server added with 
default weight 1, irrespective of weight given in second parameter

What version of the product are you using? On what operating system?
1.3.8

Please provide any additional information below.

Original issue reported on code.google.com by contactp...@gmail.com on 21 Nov 2012 at 5:32

Attachments:

GoogleCodeExporter commented 9 years ago
The weight is meant that we add the server as many times as the weight value,so 
every server's weight is displayed as one,but it is duplicated weight times.

Original comment by xzhu...@avos.com on 21 Nov 2012 at 9:42

GoogleCodeExporter commented 9 years ago
So,this result is right, i closed this issue,thanks.

Original comment by killme2...@gmail.com on 21 Nov 2012 at 9:42