Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jul 2001 11:17:22 -0400 (EDT)
From:      Keith Bostic <bostic@sleepycat.com>
To:        keramida@ceid.upatras.gr
Cc:        current@FreeBSD.ORG, mi@aldan.algebra.com, msmith@FreeBSD.ORG, wes@softweyr.com
Subject:   Re: picking a DB (Re: nvi maintainer?)
Message-ID:  <200107101517.f6AFHMN08697@abyssinian.sleepycat.com>

next in thread | raw e-mail | index | archive | help
>> Nvi needs some of the features of Berkeley DB 3.X (transactional
>> logging) in order to fix long-standing bugs in the application.
>
> Is DB 3.x the only workaround for these bugs?

Pretty much.  To make a long story short, all known versions of vi
(including the original) will lose changes if they crash at the
wrong time due to corrupted recover files.  The obvious solution is
to use standard transactional techniques like write-ahead logging
and recovery to ensure that the vi recover file isn't ever corrupt.
Berkeley DB 3.X has that infrastructure, but it's complex stuff.

Regards,
--keith

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Keith Bostic
Sleepycat Software Inc.		bostic@sleepycat.com
118 Tower Rd.			+1-781-259-3139
Lincoln, MA 01773		http://www.sleepycat.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107101517.f6AFHMN08697>