Re: [PATCH v7 31/33] refs: add LMDB refs storage backend
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Mar 1, 2016, 01:31 UTC
- Message-ID
- <CACsJy8AUqB_1XZweTmAV4atDeUWZJhzEJoY2t9nJqp3CNcViXA@mail.gmail.com>
- In-Reply-To
- <1456793586-22082-32-git-send-email-dturner@twopensource.com>
On Tue, Mar 1, 2016 at 7:53 AM, David Turner <dturner@twopensource.com> wrote:
Show 5 quoted lines
> +Weaknesses: > +----------- > + > +The reflog format is somewhat inefficient: a binary format could store > +reflog date/time information in somewhat less space.
This raises an interesting question. What if we want to change lmdb format in future (e.g. to address this weakness)? Do we need some sort of versioning in lmdb database? I suppose you can always add "lmdb2" backend that shares most of the code with current lmdb backend. Not sure if that's what you had in mind though. -- Duy