ReadOnly: Add functions to register CALLs to a context used to handle deferal of...
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 20 Jul 2011 03:49:17 +0000 (13:49 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 23 Aug 2011 00:25:57 +0000 (10:25 +1000)
commitcc6f78efcfa3b8caeffbd68018e6dfbf81488dce
tree6f40d22660cbeefe723c45e69bcb0c96bf755575
parentb935e83255aeb3754b2fd37cf5611e02f7283514
ReadOnly: Add functions to register CALLs to a context used to handle deferal of processing of CALL commands.
Once the contexts are freed, the deferred calls are re-issued to the input packet processing functions again.
This is needed when/if a CALL can not currently be processed by the main engine due to the record being locked down for revoking of all delegations.

The data is passed through several layers of callbacks, and finally a timed event callback to ensure that the processing of the packet will be restarted again at the topmost eventloop, avoinding event loop nesting.
include/ctdb_private.h
server/ctdb_call.c