[389-devel] Please review: [Bug 597375] Deleting LDBM database causes backup/restore problem

Noriko Hosoi nhosoi at redhat.com
Thu Jun 3 19:09:44 UTC 2010


https://bugzilla.redhat.com/attachment.cgi?id=419482&action=diff

https://bugzilla.redhat.com/attachment.cgi?id=419482&action=edit

Fix Description:
1) When a backend is removed, the db instance directory was removed
as well (See also 463774 - index files for database should be deleted
when db is deleted).  In case DB_RECOVER_FATAL is set in the DB open
after the removal (e.g., in restore), the logs in the transaction
logs are replayed and compared with the contents of the DB files.
At that time, if the db instance directory does not exist, libdb
returns FATAL error.  To prevent the problem, we have to leave the
empty directory.
2) When removing index files, we don't have to open index files
with CREAT flag.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6646 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.fedoraproject.org/pipermail/389-devel/attachments/20100603/2e690ade/attachment.bin 


More information about the 389-devel mailing list