Tweak MDB restrictions

vmware
Hallvard Furuseth 12 years ago
parent a3f33dd20e
commit 756ce8e10c
  1. 6
      libraries/libmdb/mdb.h

@ -87,8 +87,10 @@
* - If you do that anyway, close the environment once in a while, * - If you do that anyway, close the environment once in a while,
* so the lockfile can get reset. * so the lockfile can get reset.
* *
* - Do not use MDB databases on remote filesystems. This breaks * - Do not use MDB databases on remote filesystems, even between
* flock() on some OSes, even between two processes on the same host. * processes on the same host. This breaks flock() on some OSes,
* possibly memory map sync, and certainly sync between programs
* on different hosts.
* *
* - Opening a database can fail if another process is opening or * - Opening a database can fail if another process is opening or
* closing it at exactly the same time. * closing it at exactly the same time.

Loading…
Cancel
Save