mirror of
https://github.com/samba-team/samba.git
synced 2025-01-06 13:18:07 +03:00
fc13304d15
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> |
||
---|---|---|
.. | ||
python | ||
schema-tests | ||
guidindexpackv1.ldb | ||
init_slapd.sh | ||
init.ldif | ||
kill_slapd.sh | ||
ldapi_url.sh | ||
ldb_filter_attrs_test.c | ||
ldb_key_value_sub_txn_mdb_test.valgrind | ||
ldb_key_value_sub_txn_test.c | ||
ldb_key_value_test.c | ||
ldb_kv_ops_test.c | ||
ldb_kv_ops_test.valgrind | ||
ldb_lmdb_free_list_test.c | ||
ldb_lmdb_size_test.c | ||
ldb_lmdb_test.c | ||
ldb_match_test.c | ||
ldb_match_test.valgrind | ||
ldb_mod_op_test.c | ||
ldb_msg.c | ||
ldb_no_lmdb_test.c | ||
ldb_parse_test.c | ||
ldb_tdb_test.c | ||
photo.ldif | ||
samba4.png | ||
sample_module.c | ||
slapd.conf | ||
start_slapd.sh | ||
test_ldb_dn.c | ||
test_ldb_qsort.c | ||
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 | ||
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 | ||
test-tdb-subunit.sh | ||
test-tdb.sh | ||
test-wildcard.ldif | ||
test-wrong_attributes.ldif | ||
test.ldif | ||
testdata.txt | ||
testsearch.txt |