[PATCH] Fix CTDB statistics hop count calculations
martin at meltin.net
Mon Dec 17 09:43:26 UTC 2018
We have always assumed that the hop count buckets used in CTDB's
statistics represent powers of 2 hops. However, the code shifts 2
places to the right... so divides by 4, Given 16 buckets, the top
bucket contains counts higher than 268435456, which is a little
So, divide by 2 instead.
While, the documentation correctly assumed powers of 2, it only had 10
buckets documented, so fix this.
A 2nd patch improves nearby line wrapping in the documentation for lock
Please review and maybe push...
peace & happiness,
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4147 bytes
Desc: not available
More information about the samba-technical