User: Password:
Subscribe / Log in / New account

Alternatives to SQL Databases

Alternatives to SQL Databases

Posted Apr 16, 2009 19:43 UTC (Thu) by jordanb (guest, #45668)
In reply to: Alternatives to SQL Databases by intgr
Parent article: Alternatives to SQL Databases

Yeah in this case we tried making the LDAP init script do that, but it seemed to make the problem even worse. We began to suspect that the problem was that there was a version incompatibility between the bdb tools we had and the library being used, which was likely Fedora's fault, but we weren't able to verify that.

But anyway, 'need to explicitly run recovery before attempting to use the database again' is a design failure, imho. The database should be able to recognize that it is not completely consistent and recover itself on startup, and there should always be enough data to reach a consistent state that's not too far from the state when the system crashed.

(Log in to post comments)

Alternatives to SQL Databases

Posted Apr 23, 2009 14:44 UTC (Thu) by joib (subscriber, #8541) [Link]

At least on RHEL, you need to use slapd_db_recover rather than dbxx_recover, and similar for the other db_* commands, this will use the correct version of the BDB libraries that openldap was built against.

But yeah, needing manual recovery after a crash is incredibly annoying. Though we have replicated openldap servers that reduce the likelihood of service disruptions due to this.

Copyright © 2018, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds