Quanah Gibson-Mount pushed to branch OPENLDAP_REL_ENG_2_5 at openldap / OpenLDAP
Commits: 62ecd38b by Howard Chu at 2020-09-22T21:27:15+01:00 ITS#8102 syncrepl: only use trylock on the cn=config DB
- - - - - 1b8e6b94 by Ondřej Kuzník at 2020-09-23T11:10:29+01:00 ITS#9355 Propagate errors from overlay_entry_get_ov
- - - - - bf2b88f0 by Howard Chu at 2020-09-24T23:02:26+00:00 ITS#9354 cleanup watcher
After initial contact, don't exit if a server goes down. Also, don't wait forever for responses, use a timeout and mention when a timeout occurs. Simplify csn/sid handling, we know the max we expect so just allocate the space in advance and keep a fixed sid to slot mapping.
- - - - - c3131eb5 by Howard Chu at 2020-09-24T23:34:36+00:00 ITS#9348 replace all uses of STRERROR with AC_STRERROR_R
Avoid using sys_errlist unless there's no other choice
- - - - - 81e43a63 by Howard Chu at 2020-09-24T23:34:36+00:00 ITS#9348 cleanup strerr/sys_errlist detection
- - - - - 3f5293e1 by Ondřej Kuzník at 2020-09-24T23:34:36+00:00 ITS#5422 Save errno before passing it to Debug()
- - - - - 9442a7bb by Quanah Gibson-Mount at 2020-09-25T00:07:23+00:00 ITS#9348 - regenerate configure
- - - - - d2036cec by Ondřej Kuzník at 2020-09-25T00:07:50+00:00 ITS#8486 Switch sessionlog to use TAVL
- - - - - 8f8774c0 by Howard Chu at 2020-09-25T00:07:50+00:00 ITS#8486 Minor play_sessionlog cleanup
Fix logmsg uuidstr. Shortcut finding start of playback. Allow dup CSNs in log, but with different UUIDs. All non-present deletes in a refresh use the same CSN.
- - - - - 98d5c5c6 by Ondřej Kuzník at 2020-09-25T00:07:50+00:00 ITS#8486 Protect tavl_* calls in play_sessionlog
- - - - - 1915cb96 by Howard Chu at 2020-09-25T00:07:50+00:00 ITS#8486 use kbtree for sessionlog
Saves about 20% CPU time and RAM
- - - - - fe3636df by Quanah Gibson-Mount at 2020-09-25T02:05:55+00:00 ITS#8341 - Add matching rule to the namingContexts attr
- - - - - f3e86d3d by Quanah Gibson-Mount at 2020-09-25T04:29:59+00:00 ITS#8636 - Fix DESC for deltaCRL attribute
- - - - - 67d005ee by Ondřej Kuzník at 2020-09-25T12:47:46+01:00 ITS#9348 Stop using plain strerror()
- - - - - 2bbb51e2 by Howard Chu at 2020-09-29T09:43:37+01:00 ITS#9358 Fix reqStart normalizer
Don't truncate trailing zeroes in reqStart/reqEnd timestamps
- - - - - 80a545b5 by Howard Chu at 2020-09-30T15:11:31+00:00 Partially Revert "ITS#8486 use kbtree for sessionlog"
This mostly reverts commit 1915cb968ab3eed2bbd0104a12c8b90b1cdebd99. Too many concurrency issues. Retains the improvement to syncprov_sessionlog_cmp
- - - - - ed949bf2 by Howard Chu at 2020-09-30T15:45:04+00:00 ITS#9342 delta-sync: ignore add if entryCSN is too old
This check is only needed for ops received without a CSN in their cookie. This only occurs when the ops completed out of order on the provider.
- - - - - 81361ed3 by Ondřej Kuzník at 2020-09-30T19:25:26+01:00 ITS#9359 Adjust test to trigger issue
- - - - - 20024d5b by Ondřej Kuzník at 2020-09-30T19:25:56+01:00 ITS#9359 Do not create an empty add
- - - - - efc23cdd by Ondřej Kuzník at 2020-09-30T18:55:34+00:00 ITS#9295 Do not replace 'op'
- - - - - 56860fc4 by Howard Chu at 2020-10-01T14:27:24+01:00 ITS#9342 delta-syncL ignore add of already existing entry
if the entryCSN is older. Previous patch breaks if writes are received out of order, e.g. during a refresh.
- - - - - bf2a1e11 by Quanah Gibson-Mount at 2020-10-01T16:28:45+00:00 Merge remote-tracking branch 'origin/master' into OPENLDAP_REL_ENG_2_5
- - - - -
30 changed files:
- build/openldap.m4 - configure - contrib/slapd-modules/dsaschema/dsaschema.c - contrib/slapd-modules/nssov/nss-pam-ldapd/nslcd-prot.h - contrib/slapd-modules/nssov/nssov.c - include/ac/errno.h - include/ac/socket.h - libraries/libldap/os-ip.c - libraries/libldap/os-local.c - servers/slapd/ad.c - servers/slapd/back-ldif/ldif.c - servers/slapd/back-mdb/config.c - servers/slapd/back-mdb/init.c - servers/slapd/back-sock/result.c - servers/slapd/back-wt/init.c - servers/slapd/bconfig.c - servers/slapd/config.c - servers/slapd/connection.c - servers/slapd/daemon.c - servers/slapd/main.c - servers/slapd/overlays/accesslog.c - servers/slapd/overlays/syncprov.c - servers/slapd/result.c - servers/slapd/schema/core.ldif - servers/slapd/schema/core.schema - servers/slapd/schema_prep.c - servers/slapd/slaptest.c - servers/slapd/syncrepl.c - tests/progs/slapd-common.c - tests/progs/slapd-common.h
View it on GitLab: https://git.openldap.org/openldap/openldap/-/compare/2be22ecd009220e25f696d6...