A ref change was pushed to the OpenLDAP (openldap.git) repository. It will be available in the public mirror shortly.
The branch, mdb.master has been updated via c67ea9c060d845829a5ef903f2437cac2e044255 (commit) via c0f3d9b9a8864e744a8d1eaffc99bc86026d5351 (commit) via fe1b3794de3944967bd4ebce46dd0dc0d3449a17 (commit) via c760e536ec1b9fed01b4d8e8d884533dceec397d (commit) via 31be24896b455e45eaf4e3739299a19a29979183 (commit) via a35f9b2a5346e84bc920111348a1ea7d1cdfe32a (commit) via 38cc1e96b48ef0d0f00b79543c4c6db879537546 (commit) via 20a216fcc9cbfad838f5bfc970a160a23e9fe2be (commit) via 588a84a5ae0eb9ea343802e24b199af835204bfd (commit) from 8bb10add2465eee34e79abeaa62011e3e234effb (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit c67ea9c060d845829a5ef903f2437cac2e044255 Author: Hallvard Furuseth hallvard@openldap.org Date: Mon Sep 17 15:42:15 2012 +0200
ITS#7377 Catch MDB user errors.
commit c0f3d9b9a8864e744a8d1eaffc99bc86026d5351 Author: Hallvard Furuseth hallvard@openldap.org Date: Mon Sep 17 15:42:15 2012 +0200
ITS#7377 Catch MDB setup errors and clean up.
commit fe1b3794de3944967bd4ebce46dd0dc0d3449a17 Author: Hallvard Furuseth hallvard@openldap.org Date: Mon Sep 17 15:42:15 2012 +0200
ITS#7364 Limit mdb lock upgrade before sem_unlink.
Do not try shared lock when closing or after error. Track file lock state to decide. Change meaning of *excl to reflect file lock state.
commit c760e536ec1b9fed01b4d8e8d884533dceec397d Author: Hallvard Furuseth hallvard@openldap.org Date: Mon Sep 17 15:42:15 2012 +0200
ITS#7364 Always sem_unlink() in mdb_env_open().
Drop the sem_unlink() error checks, which could prevent the 2nd unlink. Instead use O_EXCL in sem_open().
This makes "open+close the database" the API for trying to clean away the old semaphores, if they were left behind by a previous run.
commit 31be24896b455e45eaf4e3739299a19a29979183 Author: Hallvard Furuseth hallvard@openldap.org Date: Mon Sep 17 15:42:14 2012 +0200
ITS#7377 Wrap sem_wait & file locks in EINTR loops
commit a35f9b2a5346e84bc920111348a1ea7d1cdfe32a Author: Hallvard Furuseth hallvard@openldap.org Date: Mon Sep 17 15:42:14 2012 +0200
Remove mdb data races. Use (txnid_t)-1 as "no ID".
Avoid race between numreaders++ and reading numreaders at cleanup. Make the un-mutexed reset of reader table entry, atomic: Reset mr_pid only.
Instead check mr_pid != 0 in mdb_page_alloc()'s scan for readers. (txnid_t)-1 as "no ID"-mark avoids a check for mr_txnid != 0. The scan can stop when seeing an old reader.
commit 38cc1e96b48ef0d0f00b79543c4c6db879537546 Author: Hallvard Furuseth hallvard@openldap.org Date: Mon Sep 17 15:42:14 2012 +0200
Save pid in MDB_env instead of repeating getpid().
An open MDB environment does not survive or catch fork(), so repeating getpid() was pointless.
commit 20a216fcc9cbfad838f5bfc970a160a23e9fe2be Author: Hallvard Furuseth hallvard@openldap.org Date: Mon Sep 17 15:42:14 2012 +0200
MDB_WRITEMAP needs no DSYNC descriptor (me_mfd)
commit 588a84a5ae0eb9ea343802e24b199af835204bfd Author: Hallvard Furuseth hallvard@openldap.org Date: Mon Sep 17 15:42:14 2012 +0200
ITS#7363 Preprocessor namespace cleanup.
Rename USE_POSIX_SEM to MDB_USE_POSIX_SEM. Separate MDB_FDATASYNC from MDB_USE_POSIX_SEM.
-----------------------------------------------------------------------
Summary of changes: libraries/libmdb/mdb.c | 373 ++++++++++++++++++++++++------------------------ 1 files changed, 187 insertions(+), 186 deletions(-)