> It's often better to use the Erlang fail-fast ("just fail") and restart
> approach for persistent services.

indeed. ndb/dns also has this "restart" ctl message where it restarts the
server part but keeps the 9p pipe posted. tho that kills all the fid's and
new fids starts as "dummy" user owned file, not a directory, so after restart
/net/dns vanishes.

doing some further experiments, it appears that when i make new fids start
out as directories it works. :-)

ndb/cs also has some logic where it remounts /srv/dns when opening /net/dns
fails.

--
cinap

Reply via email to