when tracking the ctdb statistics, only decrement num_clients and pending_calls...
authorroot <root@rcn1.VSOFS1.COM>
Fri, 1 May 2009 02:30:26 +0000 (12:30 +1000)
committerroot <root@rcn1.VSOFS1.COM>
Fri, 1 May 2009 02:30:26 +0000 (12:30 +1000)
commit72f1c696ee77899f7973878f2568a60d199d4fea
tree8ee2cb5884a0041d5d23ea9d401cda983ea36904
parent329df9e47e6ca8ab5143985a999e68f37c6d88a5
when tracking the ctdb statistics,    only decrement num_clients and pending_calls IFF the counter is >0

Otherwise there is the chance that we will reset the statistics after the counter has been incremented (client connects) to zero   and when the client disconnects we decrement it to a negative number.

this is a pure cosmetic patch with no operational impact to ctdb
server/ctdb_daemon.c