-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vlv index keys inconsistencies #6028
Comments
The patch itself looks good but I am very novice on vlv index/cache. Something surprising to me is that the description states inconsistency on both bdb and mdb but the PR is only fixing mdb. |
The reason is that PR #6026 is fixing the issue #6022 which only impact mdb. |
I made a mistake in my test (run the wrong testcase), the inconsistency exists only purely with lmdb |
Inconsistency is due to the fact that when reindexing, vlv index sub db is not cleared before rebuilding the keys |
* Issue 6028 - Inconsistency among vlv keys The issue is that reindexed vlv database are not cleared, so old keys remains Solution: truncate the reindexed vlv sub database and its cache before starting the import engine. Note: this is tested by: dirsrvtests/tests/suites/vlv/regression_test.py::test_vlv_cache_subdb_names CI test Issue #6028 Reviewed by: @droideck (Thanks!)
Issue Description
When working on issue #6022 I discovered some inconsistencies that impact both bdb and lmdb
Package Version and Platform:
Steps to Reproduce
Steps to reproduce the behavior:
See that keys.1 are the keys for the entries that matches (uid=)
See that keys.2 are the keys for the entries that matches (|(uid=)(cn=*))
Expected results
Should have keys matching the same entries
The text was updated successfully, but these errors were encountered: