Summary: vlv: crash after repeated backend creation/deletion
https://bugzilla.redhat.com/show_bug.cgi?id=314851
Description of problem:
Steps:
Create 2 servers
Create a new backend instance on each server (exampleroot: dc=example,dc=com)
Initialize the backend with Example.ldif on one server
Set up MMR agreement on the backend instance
Initalize the replica on the server on which the backend was initialized
Create browsing index on the replica
Remove replication agreement and the backend exampleroot
Repeat the steps till the crash occurs.
Attaching the stacktrace. The direct cause is some dse callback points an
instance directory which is not associated with the backend.
------- Additional Comments From nhosoi(a)redhat.com 2007-10-01 20:04 EST -------
Created an attachment (id=213101)
--> (
https://bugzilla.redhat.com/attachment.cgi?id=213101&action=view)
stacktrace and DSE callback list
------- Additional Comments From nhosoi(a)redhat.com 2007-10-01 20:15 EST -------
Created an attachment (id=213111)
--> (
https://bugzilla.redhat.com/attachment.cgi?id=213111&action=view)
cvs diff ldapserver/ldap/servers/slapd/back-ldbm/vlv.c
Description: if the backend is not set, return SLAPI_DSE_CALLBACK_ERROR and
don't call vlvSearch_init.