zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Sharpe <realrichardsha...@gmail.com>
Subject Using the Zookeeper C client in a fork model
Date Thu, 12 Feb 2015 01:30:57 GMT
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
(何以解憂?唯有杜康。--曹操)

Mime
View raw message