READONLY: only send a control to schedule fast-vacuuming from child context iff we...
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Mon, 20 Feb 2012 20:03:44 +0000 (07:03 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Mon, 20 Feb 2012 20:03:44 +0000 (07:03 +1100)
commit42e477b14e0c690be28115825ac61f890e84d1c4
tree229b77ccd3c4a9ec2be974844377554e79898933
parentcdc232f2dd798100a608c5a4845391d3c07899ad
READONLY: only send a control to schedule fast-vacuuming from child context iff we have a connection open to the main daemon

there are some child processes where we do not create a connection to the main daemon (switch_from_server_to_client()) because it is expensive to set up and we normally might not need to talk to the daemon at all via a domainsocket.
but we might want to still call to ctdb_ltdb_store() from such chil processes.

(This used to be ctdb commit 9e372a08c40087e6b5335aa298e94d88273566a5)
ctdb/client/ctdb_client.c
ctdb/common/ctdb_util.c
ctdb/include/ctdb_private.h
ctdb/server/ctdb_vacuum.c