You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by Richard Sharpe <re...@gmail.com> on 2015/02/12 02:30:57 UTC
Using the Zookeeper C client in a fork model
Hi,
I am trying to use Zookeeper with Samba to allow Samba to keep parts
of its registry in Zookeeper, specifically the smb.conf info.
This is a little painful because of the state that Zookeeper keeps and
what happens across a fork.
Currently I am forced to disconnect from zookeeper (zookeeper_close)
in the parent before a fork and reconnect after the fork in both the
parent and the child.
Is there a simpler way?
--
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)