Commit Graph

55 Commits

Author SHA1 Message Date
Howard Chu
1336616065 Delete obsolete context entry stuff 2009-03-10 03:51:14 +00:00
Rein Tollevik
447f3f746e ITS#6001 SID of queued CSN must match the one in the op 2009-03-05 20:43:53 +00:00
Howard Chu
e841247c90 Fix corrupted CSN issue 2009-02-16 00:12:38 +00:00
Kurt Zeilenga
4af9eb9715 Update copyright notices 2009-01-22 00:40:04 +00:00
Howard Chu
60450c7045 ITS#5709 make sure CSNs are generated and queued atomically 2008-11-15 08:49:44 +00:00
Howard Chu
1214d24cc0 ITS#5709 forgot to commit this with syncprov.c 2008-11-02 22:16:20 +00:00
Howard Chu
a8658c742e be->be_pcl_mutexp superseded by be->bd_self 2008-11-02 07:58:50 +00:00
Howard Chu
ad8180b3b9 Fix ITS#5709, use original pending list 2008-11-02 07:46:46 +00:00
Howard Chu
584c7fb8be Debug info for CSN tracking (ITS#5362) 2008-02-10 02:18:22 +00:00
Kurt Zeilenga
c890c96d13 Happy New Year (belated) 2008-01-08 00:19:56 +00:00
Howard Chu
f2355e91e0 Unconditionalize gmtime_mutex, always use it when calling lutil_csnstr 2007-02-11 13:52:55 +00:00
Howard Chu
51549d2e5d Add olcServerID for configuring serverID portion of CSN 2007-02-04 00:02:38 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Howard Chu
78172aa0cf Entry/Attribute struct caching, to minimize malloc fragmentation
Note: this breaks LDAP_COMP_MATCH and SLAP_ZONE_MALLOC. But they
were probably broken already anyway.
2006-08-29 01:43:23 +00:00
Howard Chu
7036e2bb89 Delete curcsn arg to slap_get_commit_csn, redundant with op->o_csn 2006-08-15 08:51:49 +00:00
Pierangelo Masarati
2f81cc64b1 since o_csn is always allocated on the thread's slab, and since CSNs always have the same length, reuse memory (part of o_csn memory handling cleanup) 2006-01-06 16:26:36 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Howard Chu
a1830a3cd0 Fix for syncprov checkpoint CSN disposal 2005-11-14 19:38:48 +00:00
Howard Chu
7dcb68f6fa Move CSN invocations to backends 2005-10-13 11:58:44 +00:00
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