From owner-freebsd-hackers@FreeBSD.ORG Wed May 14 07:24:11 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 013E81065676 for ; Wed, 14 May 2008 07:24:11 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.169]) by mx1.freebsd.org (Postfix) with ESMTP id C1CE68FC0C for ; Wed, 14 May 2008 07:24:10 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by wf-out-1314.google.com with SMTP id 28so2978093wfa.7 for ; Wed, 14 May 2008 00:24:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; bh=HUqk5bKcJGAYnsGUNEN0wJ5mFV2ODexX+pAoAfJUTGg=; b=xc1Y1OZhz4pCEPPK9yuTCwmGRbT2tfiqWAUEeGrH8Iy8S6Dybp/4B/Xzbvye9CY5WDcc13bzPELzEyf+rzRmHVGl9RDRu+VXY0XurY0cZ8zJfz7yZdVzpbn9gIkJpTymXm8N2dMXrh2UIkZksMhwBAJpPre33k3tGbdswsLNAfI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=xgdAVomDyttOTCpSz9tO/yTOFJVpqW/RVKU0Bitv10nzu7z23ykzkGQbBm9+BG4kBk3Wi81lfeKKYx0GFjIj8wXL8OnBxYFXT4OVD61CoYMG5YgOuKfkMcZbP8kDOji2hPv1sDHXEdcZykvWsD7N1bfYBNi1lHBYC5OTPOok5R4= Received: by 10.142.99.21 with SMTP id w21mr291990wfb.55.1210749850491; Wed, 14 May 2008 00:24:10 -0700 (PDT) Received: from ?192.168.10.42? ( [99.155.199.64]) by mx.google.com with ESMTPS id 30sm1773902wfc.5.2008.05.14.00.24.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 14 May 2008 00:24:09 -0700 (PDT) Message-Id: From: Garrett Cooper To: James Mansion In-Reply-To: <482A02CD.7040308@mansionfamily.plus.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Wed, 14 May 2008 00:25:16 -0700 References: <9FC19AC2-DAD8-418C-8B9C-F129DEC58CEF@gmail.com> <15336578.20080512123806@mail.ru> <200805121153.00809.jonathan+freebsd-hackers@hst.org.za> <1663320218.20080512223531@mail.ru> <20080512152430.3720683e@mbook.local> <2117635718.20080513154406@mail.ru> <20080513121452.GA70860@eos.sc1.parodius.com> <20080513154137.GA28842@pix.net> <482A02CD.7040308@mansionfamily.plus.com> X-Mailer: Apple Mail (2.919.2) Cc: freebsd-hackers@freebsd.org, Jeremy Chadwick , Anthony Pankov Subject: Re: BDB corrupt X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2008 07:24:11 -0000 On May 13, 2008, at 2:06 PM, James Mansion wrote: > Kurt J. Lidl wrote: >> This catapults back into the arena of "stuff that isn't in the >> base system". Not to mention I'm not sure that the Oracle BDB >> license would allow bundling in the OS as a binary. I doubt it, >> but that's a different bikeshed to paint :-) >> > Is the LGPL of QDBM and TokyoCabinet also a problem? Could even try > grovelling > with Mikio? (Partially joking there. I assume he chose LGPL because > he wants > it that way, but people have been known to change licenses for a > base system - like > this http://blogs.sun.com/aalok/entry/lzma_on_opensolaris) > > And is the objection to SQL such the sqlite is really out of the > running? > > Anyway, in this case, would writing an RPC server to own the data > kill the performance? > It should be easier to write something that can save the database > atomically and index > it in-core. It could be started on demand and shut down after a > short inactivity, a bit > like tibco's rvd. >> There are known problems with certain keys corrupting the DB 1.8x >> series code. In fact, the "release" of the 1.86 was an attempt >> to solve this problem when the KerberosV people at MIT found >> a repeatable key insert sequence that would corrupt things. >> (Or at least that's what I remember, it was a long time ago, and >> I might have the details wrong.) >> >> > Have to say its a little concerning that such 'mature' code is > actually problematic. > Particularly since I'm not aware of a non-LGPL alternative. > > Do you have anything by way of a pointer? Google didn't help me here. > > James Most of the complaints about other DBs is licensing related, but SQLite's complaint was also the fact that the past stability record was a bit rocky. HTH, -Garrett