From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3D751FC9.61D67840@research.bell-labs.com> From: Sean Quinlan MIME-Version: 1.0 To: 9fans@cse.psu.edu Subject: Re: [9fans] How to sync venti References: <002901c2538a$49c31870$4bf0b487@dnrc.belllabs.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 3 Sep 2002 16:47:05 -0400 Topicbox-Message-UUID: e3e06652-eaca-11e9-9e20-41e7f4b1d025 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.