Commit Graph

36 Commits

Author SHA1 Message Date
Howard Chu
5d2ba11ad9 ITS#3847 silence warnings 2005-07-11 12:11:15 +00:00
Howard Chu
21b8be393a Add slap_timestamp(), use mutex in slap_get_csn() 2005-06-07 04:12:14 +00:00
Kurt Zeilenga
dc0eacd40b Happy New Year! 2005-01-01 20:49:32 +00:00
Pierangelo Masarati
bd166fbcb8 rework fix for NULL be_pcl_mutexp 2004-12-11 15:44:30 +00:00
Pierangelo Masarati
fe30850765 required by global overlay write funcs... 2004-12-11 12:53:47 +00:00
Howard Chu
99f2d0b49b Let slap_get_commit_csn return the current CSN as well 2004-12-08 00:46:14 +00:00
Howard Chu
fc9b1b7aca Delete unused be_context_csn, cleanup pending csn entry 2004-12-06 23:17:58 +00:00
Howard Chu
c2b339d456 More syncprov fixes. test019 now passes. 2004-11-26 09:40:22 +00:00
Howard Chu
3a5bde98ba Disable back-bdb native syncrepl support, enable syncprov overlay,
remove syncrepl stuff from Operation struct
2004-11-25 21:16:54 +00:00
Howard Chu
1d0e99858a Free old op->o_sync_csn before allocating new one. (Internal operations
using the same op structure, such as in refint overlay, cause a memleak
otherwise.) Probably should be using tmpmem for this.
2004-10-16 21:32:45 +00:00
Pierangelo Masarati
0c1f1f959f minor cleanup 2004-10-04 20:55:09 +00:00
Pierangelo Masarati
761f287943 multiple precision with BIGNUM/gmp/ulong 2004-09-26 22:58:47 +00:00
Howard Chu
77ba70be13 Fix ITS#3288: use be_pcl_mutexp instead of be_pcl_mutex 2004-08-18 10:53:34 +00:00
Howard Chu
e5ffb0c466 Use previously unused Backend->be_context_csn 2004-07-09 17:27:23 +00:00
Jong Hyuk Choi
b85ba35ba7 Patch for ITS#3133 2004-05-31 02:01:59 +00:00
Kurt Zeilenga
13d25a675f cleanup 2004-04-06 01:48:36 +00:00
Kurt Zeilenga
3c598e89fb Happy new year 2004-01-01 19:15:16 +00:00
Howard Chu
313bb1dcae Minor cleanup. Still need to address ITS#2866 point 2 2003-12-09 19:09:58 +00:00
Kurt Zeilenga
041c8dacc2 Misc cleanup 2003-11-30 01:19:40 +00:00
Kurt Zeilenga
4e15a84452 Updated notices 2003-11-27 01:17:14 +00:00
Jong Hyuk Choi
279760a467 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
2003-11-10 02:44:25 +00:00
Howard Chu
08407b5b00 More malloc cleanup 2003-10-19 00:30:55 +00:00
Jong Hyuk Choi
13f981fdd4 remove #include <db.h> (ITS#2765) 2003-10-14 20:22:09 +00:00
Jong Hyuk Choi
bcb4529d9d ITS#2744 2003-09-30 18:01:47 +00:00
Hallvard Furuseth
76dd417dc9 Plug memory leak in slap_get_csn(). 2003-09-29 14:06:48 +00:00
Howard Chu
c58ac9d8f1 Add memctx param to build_new_dn(). cleanup DN leaks. 2003-09-24 04:30:41 +00:00
Howard Chu
30f3b91ddc ITS#2735 - plug memory leaks 2003-09-23 22:52:35 +00:00
Howard Chu
a2cfda21cd Fix prev commit 2003-09-12 19:40:04 +00:00
Howard Chu
72adc38cdf Construct ctxcsn entries directly, plug memory leaks, remove
dependency on slap_mods_check and slap_mods2entry
2003-09-12 18:52:34 +00:00
Jong Hyuk Choi
57152b08ce structrual oc fix 2003-09-05 20:13:10 +00:00
Jong Hyuk Choi
c25a892e62 misc cleanup 2003-09-04 19:48:53 +00:00
Jong Hyuk Choi
7357caac90 memory mgmt cleanup 2003-09-03 23:47:37 +00:00
Jong Hyuk Choi
aa8ff20012 Patch for ITS#2692 2003-09-03 08:21:51 +00:00
Jong Hyuk Choi
090ac0a772 unifdef LDAP_SYNC and LDAP_SYNCREPL 2003-08-27 22:16:04 +00:00
Jong Hyuk Choi
3be0b77c88 Context CSN Patch (2)
- BDB context csn codes moved to a separate function in back-bdb/ctxcsn.c
2003-08-25 19:15:04 +00:00
Jong Hyuk Choi
660617ae66 Context CSN patch (1)
- currenty works for refreshOnly mode of LDAP Sync
- Context CSN for add / modify is implemented
- code for delete / modrdn / refreshAndPersist will be soon committed
2003-08-23 02:51:33 +00:00