[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Repairing a lmdb database

Tim Uckun wrote:
Hi All.

I am writing a wrapper for Lmdb for the Crystal language.  During the process
of writing my code started hanging when attempting to open a transaction.  At
first I thought I was calling the C functions wrong but it turned out to be
some sort of a corruption in the database itself. I deleted the database
directory and the code started working fine again.

Sounds like you're not using robust mutexes. Just a guess, since you didn't provide any info about your OS / platform or LMDB version.

  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/