You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Theoretically when vlv are used on lmdb, there should be one vlv index cache sub-database per vlv index sub-database.
But after configuring a freeipa server and two replica, sometime there are two caches sub-db (one with the bename and one without). The dbname should always be present.
Package Version and Platform:
Platform: Fedora
Package and version: 389-ds-base-3.0.0
Steps to Reproduce
Steps to reproduce the behavior:
Install 3 virtual machine running with Fedora 39 and freeipa and 389ds 3.0.
Ensure that hostname and /etc/hosts are set properly (so that all hosts
Setup 1 host as freeipa master and two as replicas
Run dbscan -L dbhomedir_path > output
grep -c "vlv#" output
grep -c recno output
Compare steps [5.] and [6.] results
See error
Expected results
steps [5.] result should be the double of steps [6.]
vlv index sub db should looks like: /var/lib/dirsrv/slapd-IPA-TEST/db//ipaca/vlv#allcertspkitomcatindex.db
vlv index cache sub-db should looks like:
/var/lib/dirsrv/slapd-IPA-TEST/db//~recno-cache/ipaca/vlv#allcertspkitomcatindex.db
but for 2 of the 35 vlv indexes I also see something like:
/var/lib/dirsrv/slapd-IPA-TEST/db//~recno-cache//vlv#allcertspkitomcatindex.db flags:
(with an empty bename)
So its looks like that sometime the bename is not filled.
Additional context
I will have to dig to understand when the cache without bename get created.
I suspect it is after an on-line or off-line reindex or import (or maybe bulk-import ?)
The text was updated successfully, but these errors were encountered:
…#6026)
Problem: dbstat -L shows two vlv cache db for a single vlv index db.
There should only have a single one.
Fix:
Added a CI Test
Using a single dbmdb_recno_cache_get_dbname function to get the cache db name.
Fix dbmdb_build_dbname to also append the backend name if the name is a vlv cache
Also fixed some issue found while creating the CI test:
Fixed an error message that puzzled me to make it clearer.
Fixed a race condition in lmdb bulk import that logged crappy data in error logs and crashed the CI tests.
Issue: #6022
Reviewed by: @droideck (Thanks !)
Issue Description
Theoretically when vlv are used on lmdb, there should be one vlv index cache sub-database per vlv index sub-database.
But after configuring a freeipa server and two replica, sometime there are two caches sub-db (one with the bename and one without). The dbname should always be present.
Package Version and Platform:
Steps to Reproduce
Steps to reproduce the behavior:
Expected results
steps [5.] result should be the double of steps [6.]
vlv index sub db should looks like: /var/lib/dirsrv/slapd-IPA-TEST/db//ipaca/vlv#allcertspkitomcatindex.db
vlv index cache sub-db should looks like:
/var/lib/dirsrv/slapd-IPA-TEST/db//~recno-cache/ipaca/vlv#allcertspkitomcatindex.db
but for 2 of the 35 vlv indexes I also see something like:
/var/lib/dirsrv/slapd-IPA-TEST/db//~recno-cache//vlv#allcertspkitomcatindex.db flags:
(with an empty bename)
So its looks like that sometime the bename is not filled.
Additional context
I will have to dig to understand when the cache without bename get created.
I suspect it is after an on-line or off-line reindex or import (or maybe bulk-import ?)
The text was updated successfully, but these errors were encountered: