New FreeBSD package system (a.k.a. Daemon Package System (dps))
Joerg Sonnenberger
joerg at britannica.bec.de
Fri May 11 10:11:04 UTC 2007
On Fri, May 11, 2007 at 11:59:41AM +0200, Ivan Voras wrote:
> I think you're overreacting. You say: if the database is consistent,
> it's ACID ("Avoiding database corruption is a necessary requirement for,
> rather than a consequence of, ACID") and I say: if the database is ACID,
> it's consistent. Aren't we both right?
Database corruption violate I (Integrety) and D (Durability). So you
can't have a database providing ACID without protecting against database
corruption. Consistency is actually the second letter of ACID.
That said, there are limits. Enough issues that can corrupt a sqlite
database can also corrupt the current pkgdb tree. In fact, a number of
issues are less likely to hit sqlite. It doesn't mean that either is
perfect.
Joerg
More information about the freebsd-hackers
mailing list