9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Sean Quinlan <seanq@research.bell-labs.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] How to sync venti
Date: Tue,  3 Sep 2002 16:47:05 -0400	[thread overview]
Message-ID: <3D751FC9.61D67840@research.bell-labs.com> (raw)
In-Reply-To: <002901c2538a$49c31870$4bf0b487@dnrc.belllabs.com>

At the moment there is no "clean" way to kill the venti server
other than what you describe below.  On the other hand,
the system is designed to be reasonably robust so the
worst thing that can happen is that in flight writes
are lost - in particular, the on disk data structures will
not be corrupted (assuming the implementaion is correct of course).
In particular, when the server starts up, it scans the end region
of the data log and ensures that all the other data structures
reflect the state of the log, including the index, arena header and
arena directory.  In other words, once the data is stored in the
log, it should be ok.  I've been planning to add the ability for
applications to sync with the venti server.  There should also
be a way to ask the server to shut down...

seanq


Dharani Vilwanathan wrote:
>
> > How can I sync venti to terminate safely?
>
> this is my concern too. i generally make sure there is no activity (no vac
> or vacfs runs) and then kill the process. upon venti restart, things seem to
> be fine. but still i am not sure if i can do that, venti being a disaster
> recovery mechanism.


  reply	other threads:[~2002-09-03 20:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-03 12:07 arisawa
2002-09-03 20:41 ` Dharani Vilwanathan
2002-09-03 20:47   ` Sean Quinlan [this message]
2002-09-04 12:49     ` arisawa
2002-09-04 19:22       ` arisawa
2002-11-05  4:33 Russ Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D751FC9.61D67840@research.bell-labs.com \
    --to=seanq@research.bell-labs.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).