LMDB key value backend for ldb_tdb (to be renamed ldb_key_val)

Andreas Schneider asn at samba.org
Thu Feb 22 07:14:40 UTC 2018

On Wednesday, 21 February 2018 23:45:08 CET Garming Sam via samba-technical 
> Hi,

Hi Garming,

> Any thoughts or comments would be well appreciated. There is definitely
> more to come in this space and using LMDB allows us to effectively
> implement a number of further improvements like indexing for >= which
> would make replication much faster.

when Jakub started to look into lmdb for ldb as a backend, we didn't have any 
test to verify that the API is working the same way with tdb and lmdb. For 
that he started to write tests for the API. The tests also revealed some bugs.

If I look at the patchset I would expect more unit tests. The unit tests are 
fast to run and we do that when we package ldb to verify it is working 
correctly. Especially when we apply patches.

And if you think some things can't be tested, the mocking support of cmocka 
might be the solution. Let me know if you need help.



Andreas Schneider                   GPG-ID: CC014E3D
Samba Team                             asn at samba.org

More information about the samba-technical mailing list