]> git.sur5r.net Git - openldap/commit
1. Session history support
authorJong Hyuk Choi <jongchoi@openldap.org>
Mon, 10 Nov 2003 02:44:25 +0000 (02:44 +0000)
committerJong Hyuk Choi <jongchoi@openldap.org>
Mon, 10 Nov 2003 02:44:25 +0000 (02:44 +0000)
commit279760a4674c26b8d6b6a843c2fd20e630e3c7d6
tree7df32dc5e755d92bc484acad149b0f1f2ec6a5c1
parent9492ed16e29451a8caf2e965d149c72b8acf8347
1. Session history support
- memory based session history to minimize sync traffic
- when client is covered by a session history, then
      [add+delete] mode is used
- when client cookie is not covered by the history because
      the cookie is too outdated and/or the history is truncated,
  [add+present] mode is used
2. Sync cookie syntax : comma separated name=value pairs
- csn=yyyymmddhh:mm:ssZ#0xSSSS#r#ssssr,sid=nnn
28 files changed:
servers/slapd/Makefile.in
servers/slapd/back-bdb/add.c
servers/slapd/back-bdb/back-bdb.h
servers/slapd/back-bdb/config.c
servers/slapd/back-bdb/ctxcsn.c
servers/slapd/back-bdb/delete.c
servers/slapd/back-bdb/modify.c
servers/slapd/back-bdb/modrdn.c
servers/slapd/back-bdb/proto-bdb.h
servers/slapd/back-bdb/search.c
servers/slapd/config.c
servers/slapd/connection.c
servers/slapd/controls.c
servers/slapd/ctxcsn.c
servers/slapd/globals.c
servers/slapd/ldapsync.c [new file with mode: 0644]
servers/slapd/main.c
servers/slapd/mods.c
servers/slapd/operation.c
servers/slapd/proto-slap.h
servers/slapd/schema_prep.c
servers/slapd/search.c
servers/slapd/sessionlog.c [new file with mode: 0644]
servers/slapd/slap.h
servers/slapd/syncrepl.c
servers/slapd/tools/Makefile.in
tests/data/slapd-syncrepl-master.conf
tests/data/slapd-syncrepl-slave-refresh1.conf