[prev in list] [next in list] [prev in thread] [next in thread]
List: openldap-technical
Subject: Re: Lock conflicts?
From: Howard Chu <hyc () symas ! com>
Date: 2024-03-11 15:07:11
Message-ID: 0178c915-8bde-13c6-fbb3-1c6314736588 () symas ! com
[Download RAW message or body]
rzhou44@tutamail.com wrote:
> At work we have a program that actively reads/writes into LMDB file. This program \
> uses MDB_NOLOCK (why, I'm not sure yet).
> Can I safely read/write to this LMDB file using my own programs or mdb_ command \
> line tools?
No.
> I worry that those (which by default use lock files) could conflict
> with the manual locking of the existing program and cause data corruptions.
You would have to use exactly the same locking code as the other program uses. And \
the mdb_ command line tools don't support any other locking methods.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic