On Thu, Jan 14, 2016 at 07:50:05AM +0100, Petr Spacek wrote:
> On 13.1.2016 13:48, Florian Festi wrote:
> > On 01/11/2016 03:57 PM, Dan Horák wrote:
> >> On Mon, 11 Jan 2016 15:46:27 +0100
> >> Jan Kurik <jku...@redhat.com> wrote:
> >>
> >>> = Proposed System Wide Change: Change Proposal Name NewRpmDBFormat =
> >>> https://fedoraproject.org/wiki/Changes/NewRpmDBFormat
> >>>
> >>> Change owner(s):
> >>> * Florian Festi < ffesti AT redhat DOT com >
> >>>
> >>>
> >>> Change format of the RPM Database from Berkeley DB to RPM's own
> >>> format.
> >>>
> >>> == Detailed Description ==
> >>> The current implementation of the RPM Database is based on Berkeley
> >>> DB. There are doubts about the its future and level of maintenance. In
> >>> addition rpm's use of the database has multiple issues on its own. As
> >>> a result RPM upstream is working to replace the database format with a
> >>> new implementation.
> >>
> >> does it mean rpm is changing from Berkeley DB library to another
> >> library or to a completely new implementation of a database engine?
> > 
> > We change to our own format. One of the problem is the bit special
> > requirements of rpm where you want to have non privileged readers that
> > must not have any write access - which is required for most databases
> > for locking.
> 
> I'm curious! Would it be possible to elaborate on reasons why no existing DB
> was good enough for RPM?
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1086784#c8 indicates that this
> locking requirement is not a problem/obstacle for using LMDB.

Yup - I'm curious about this as well.  Using sqlite [for example]
would solve the libguestfs issues I outlined in this thread, as well
as using a format which is robust and proven rather than some
half-baked homebrew thing.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

Reply via email to