Re: RFC/Pull Request: Refs db backend
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Jun 24, 2015, 10:18 UTC
- Message-ID
- <CACsJy8CZqpAARwYpj6g7fR-qiKcV6UeWZaei5Yqh-0oSV8DW6Q@mail.gmail.com>
- In-Reply-To
- <CAJo=hJsu2b0kmpjOhGwvgRsG3yGK56+U_2RANDi2qoEg7V_PmQ@mail.gmail.com>
On Wed, Jun 24, 2015 at 1:09 PM, Shawn Pearce <spearce@spearce.org> wrote:
Show 12 quoted lines
>>> I chose to use LMDB for the database. LMDB has a few features that make >>> it suitable for usage in git: >> >> One of the complaints that Shawn had about sqlite is that there is no >> native Java implementation, which makes it hard for JGit to ship a >> compatible backend. I suspect the same is true for LMDB, but it is >> probably a lot simpler than sqlite (so reimplementation might be >> possible). > > Yes. Whatever the default standard format is for git-core, we need > that format to be easily supportable from JGit. Loading code via JNI > is not "easily supportable".
I'm under the impression that this will be opt-in, not completely replacing fs-based ref backend. Anyway, any recommendation about database format or engine that is more friendly to Java and JGit (and preferably has good C support too)?
-- Duy