ctdb-call: Convert pending calls list to per database list
authorAmitay Isaacs <amitay@gmail.com>
Tue, 5 Aug 2014 04:42:00 +0000 (14:42 +1000)
committerAmitay Isaacs <amitay@samba.org>
Wed, 7 Oct 2015 12:53:26 +0000 (14:53 +0200)
commit6a212d13d046d9f3ff6a2423d55b24b8068498e3
treec4626f04e698b8c340fc30a8cf32864e682b9c97
parent2116c55b08288b3c59613ed0d088eeba1c29d682
ctdb-call: Convert pending calls list to per database list

The pending calls are migration requests received from clients (over unix
domain socket) which are under processing.  After a recovery is finished,
any requests which are under processing will be dropped since they do
not belong to the current generation.  All the pending call requests
are resent with new generation to restart record migrations.

This is in preparation for parallel database recovery.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/include/ctdb_private.h
ctdb/server/ctdb_call.c