locking: Implement active lock requests limit per database
authorAmitay Isaacs <amitay@gmail.com>
Fri, 15 Nov 2013 04:58:59 +0000 (15:58 +1100)
committerAmitay Isaacs <amitay@gmail.com>
Fri, 15 Nov 2013 06:48:51 +0000 (17:48 +1100)
commitceadee057087e5a3b116722d50bda06c8cf1c847
treea9f5bffe745b8001fa58c4493450a960fb541dda
parentda61dd7c25407e25c19276fa1ebad86ef9944b66
locking: Implement active lock requests limit per database

This limit was currently a global limit and not per database.  This
prevents any database freeze lock requests from getting scheduled if
the global limit was reached.

Only individual record requests should be limited and database freeze
requests should always get scheduled.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
include/ctdb_private.h
server/ctdb_lock.c