s***@icebubble.org
2012-01-03 17:21:31 UTC
Yeah, I know, pull out a sharp knife, and jab real hard...
No, really. What's the prescribed way to kill a venti server, safely,
without losing data? The approach I've been using on p9p has been:
(1) Wait for venti to stop writing to disk.
(2) Send venti SIGTERM.
The venti process dies, sure enough, but I later get errors that some
blocks haven't been stored. (Whether they weren't stored, or were
stored and just failed to get indexed or Bloomed, I don't know.)
So, what's the proper way to do this? Is there something like "echo
pleasedieimaskingnicely > /tmp/ns.smiley:1/venti.ctl" I can use?
No, really. What's the prescribed way to kill a venti server, safely,
without losing data? The approach I've been using on p9p has been:
(1) Wait for venti to stop writing to disk.
(2) Send venti SIGTERM.
The venti process dies, sure enough, but I later get errors that some
blocks haven't been stored. (Whether they weren't stored, or were
stored and just failed to get indexed or Bloomed, I don't know.)
So, what's the proper way to do this? Is there something like "echo
pleasedieimaskingnicely > /tmp/ns.smiley:1/venti.ctl" I can use?
--
+---------------------------------------------------------------+
|Smiley <***@icebubble.org> PGP key ID: BC549F8B |
|Fingerprint: 9329 DB4A 30F5 6EDA D2BA 3489 DAB7 555A BC54 9F8B|
+---------------------------------------------------------------+
+---------------------------------------------------------------+
|Smiley <***@icebubble.org> PGP key ID: BC549F8B |
|Fingerprint: 9329 DB4A 30F5 6EDA D2BA 3489 DAB7 555A BC54 9F8B|
+---------------------------------------------------------------+