make set-version-recursor complain if invoked incorrectly
Merge branch 'master' of github.com:PowerDNS/pdns
Merge branch 'master' of github.com:PowerDNS/pdns
make our AtomicCounter 64 bit on 64 bit machines
Our "StatBag" statistics class was 1) 32 bit 2) heavily locked 3) still allowed for lock-free operations for high speed counters.
This commit 1) makes the StatBag 64 bit on 64 bit systems, 2) removes all locks and 3) has gone AtomicCounter 'native'
The upshot of this is that 64 bit users will suddenly get 64 bit counters. A second upshot is that multicore systems should now see consistent statistics again.
One important thing that changed is that the StatBag class used to be completely thread safe, and now it no longer is. You can't declare new counters while the StatBag is in use. This should not be happening, but you never know.
Finally, there is now a StatBag unit test.
Merge branch 'master' of github.com:PowerDNS/pdns
actually writing some unit tests for the new 64 bit capable AtomicCounter found a pile of bugs!
a 32 bit regression test failure we don't understand..
this should fix our unit tests
disabling test if test environment does not define things we need to know..