1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-06 13:18:07 +03:00
samba-mirror/lib/ldb/tests
Gary Lockyer fc13304d15 ldb tests: Confirm lmdb free list handling
Add cmocka tests to confirm lmdb's handling of the free list.

As a result of lmdb's MVCC (Multiversion Concurrency Control) long
running read transactions or stale readers (read transactions where the
process exited without ending the transaction) can cause the database to
run out of space.

Items in the free list are only reused when they would not be visible in
a read transaction.  So long running read transactions prevent entries
in the free list being reused, and the database can run out of space.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2020-03-22 04:39:36 +00:00
..
python ldb: Add tests aimed at the SCOPE_ONELEVEL bug in particular 2020-02-25 10:38:34 +00:00
schema-tests
guidindexpackv1.ldb ldb: python test for repack 2019-05-29 04:41:24 +00:00
init_slapd.sh
init.ldif
kill_slapd.sh
ldapi_url.sh
ldb_filter_attrs_test.c ldb: Call TALLOC_FREE(filtered_msg->elements) on ldb_filter_attrs() failure 2019-08-27 01:16:33 +00:00
ldb_key_value_sub_txn_mdb_test.valgrind lib ldb ldb_key_value tests: Add tests for wrapped operations 2019-06-21 04:27:12 +00:00
ldb_key_value_sub_txn_test.c lib/ldb/tests: include stdint.h before cmocka.h 2019-12-18 15:32:40 +00:00
ldb_key_value_test.c lib/ldb/tests: include stdint.h before cmocka.h 2019-12-18 15:32:40 +00:00
ldb_kv_ops_test.c ldb:tests: Add missing null check for ldb_kv_private 2019-12-06 11:13:24 +00:00
ldb_kv_ops_test.valgrind lib ldb ldb_key_value tests: Add tests for wrapped operations 2019-06-21 04:27:12 +00:00
ldb_lmdb_free_list_test.c ldb tests: Confirm lmdb free list handling 2020-03-22 04:39:36 +00:00
ldb_lmdb_size_test.c lib/ldb/tests: include stdint.h before cmocka.h 2019-12-18 15:32:40 +00:00
ldb_lmdb_test.c lib/ldb/tests: include stdint.h before cmocka.h 2019-12-18 15:32:40 +00:00
ldb_match_test.c CVE-2019-3824 ldb: Add tests for ldb_wildcard_match 2019-02-25 21:26:12 +01:00
ldb_match_test.valgrind CVE-2019-3824 ldb: Add tests for ldb_wildcard_match 2019-02-25 21:26:12 +01:00
ldb_mod_op_test.c ldb:tests: Allow test filtering in ldb_mod_op_test 2019-12-05 17:13:36 +00:00
ldb_msg.c Fix uClibc build on 64bit platforms by including stdint.h 2018-08-24 17:22:09 +02:00
ldb_no_lmdb_test.c lib/ldb/tests: include stdint.h before cmocka.h 2019-12-18 15:32:40 +00:00
ldb_parse_test.c ldb: Avoid read beyond buffer 2019-05-30 07:12:11 +00:00
ldb_tdb_test.c Fix uClibc build on 64bit platforms by including stdint.h 2019-05-19 17:34:20 +00:00
photo.ldif
samba4.png
sample_module.c ldb:tests/sample_module: don't be lazy and use ldb_msg_copy_shallow/ldb_build_add_req 2015-03-20 20:43:12 +01:00
slapd.conf
start_slapd.sh
test_ldb_dn.c lib/ldb/tests: include stdint.h before cmocka.h 2019-12-18 15:32:40 +00:00
test_ldb_qsort.c Fix uClibc build on 64bit platforms by including stdint.h 2019-05-19 17:34:20 +00:00
test-attribs.ldif
test-config.ldif
test-controls.sh
test-default-config.ldif
test-dup-2.ldif
test-dup.ldif
test-extended.sh
test-generic.sh LDB:test-generic.sh - fix smaller/greater comparison tests 2017-12-19 03:09:12 +01:00
test-index.ldif
test-ldap.sh
test-modify-modrdn.ldif
test-modify-unmet-2.ldif
test-modify-unmet.ldif
test-modify.ldif
test-schema.sh
test-soloading.sh
test-sqlite3.sh
test-tdb-features.sh ldb: Add test for behaviour of rdn_name 2016-12-01 05:54:23 +01:00
test-tdb-subunit.sh
test-tdb.sh ldb: Run the Python testsuite 2015-11-05 18:04:23 +01:00
test-wildcard.ldif
test-wrong_attributes.ldif
test.ldif
testdata.txt
testsearch.txt