Kurt Zeilenga
71511a0569
more txn infrastructure
2006-03-08 05:54:10 +00:00
Kurt Zeilenga
815c178edc
control/TXN cleanup
2006-03-07 22:05:57 +00:00
Kurt Zeilenga
247536744e
Some more txn infrastructure
2006-03-07 08:07:21 +00:00
Howard Chu
fe3b6d0071
ITS#4384 rework entryCSN handling, retrieve from incoming request
...
if it was provided. Always check and graduate, regardless of shadow status.
2006-02-05 01:09:48 +00:00
Howard Chu
a4a85e03c1
ITS#3950 delete gratuitous yield()s
2006-01-15 13:33:29 +00:00
Luke Howard
e7f164773e
Remove RDN checks/logging -- now done by frontend
2006-01-02 15:38:04 +00:00
Luke Howard
b6fffd1417
Add orr_modlist member to request structure, containing a list of
...
modifications to be applied by the backend atomically with a modify
RDN request.
Handle updating of RDN values in frontend.
Code that calls a backend's be_modrdn should call slap_modrdn2mods(op, rs)
before invoking the backend and cleanup with slap_mods_free( op->orr_modlist, 1 ).
See do_modrdn() for an example.
2006-01-01 09:23:24 +00:00
Pierangelo Masarati
f29447d9de
use helper to destroy modrdn modifications...
2005-12-06 22:55:30 +00:00
Kurt Zeilenga
ecd86725f2
Update result code to IANA-assigned values
...
Provide some backwards compatibility.
Misc cleanup
2005-11-03 01:27:07 +00:00
Howard Chu
6e2c36b03d
Fix noop behavior, don't same TXN twice. Use consistent return code.
2005-10-17 08:09:28 +00:00
Howard Chu
214e13eecc
Tweak newsuperior error codes
2005-09-10 01:51:34 +00:00
Howard Chu
262c44772d
ITS#2757 remove be_isroot checks, simplify...
2005-09-10 01:16:55 +00:00
Luke Howard
71d76fbeba
slap_mods2entry() should not zero pointers into the modifications
...
list because checking is performed on these, rather than the entry.
slap_mods_free() now takes an extra argument indicating whether to
free the values or not.
2005-08-01 02:16:02 +00:00
Howard Chu
fbbfac6771
ITS#3857 fix bottom-up modrdn cascades, use a global modrdn counter.
2005-07-12 13:17:56 +00:00
Howard Chu
e3703bfaab
Propagate Abandon to allow cleanup callbacks to run
2005-04-28 18:50:24 +00:00
Howard Chu
b45a912070
Check for abandon during transaction retry
2005-04-28 18:45:31 +00:00
Howard Chu
46bea91379
ITS#3657 added missing check
2005-04-15 03:57:57 +00:00
Pierangelo Masarati
4abbf9c610
implement add/delete granularity in write access (ITS#3631)
2005-04-08 00:18:24 +00:00
Howard Chu
df3d8f3e30
Cleanup unused variables
2005-02-20 04:59:29 +00:00
Howard Chu
1dbe92c27b
Delete dubious use of be_syncinfo - only the consumer can write the
...
database, and it will only perform writes it received from the provider,
so referring back to the provider is pointless. (And of course, the
consumer never chases referrals.)
2005-01-15 10:39:23 +00:00
Howard Chu
aa27cb2262
Delete obsolete syncprovider stuff
2005-01-14 05:49:45 +00:00
Howard Chu
f845c573b0
Single consumer context per database
2005-01-13 21:15:50 +00:00
Kurt Zeilenga
dc0eacd40b
Happy New Year!
2005-01-01 20:49:32 +00:00
Howard Chu
30a6f4d24d
Better fix for ITS#3365, manage back-bdb's read locks so frontend/etc.
...
don't need to worry about them.
2004-12-05 02:00:19 +00:00
Howard Chu
3426a11983
More BDB_PSEARCH cleanup
2004-11-26 09:39:33 +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
Pierangelo Masarati
bc478dee46
log the right function names
2004-11-17 14:53:03 +00:00
Pierangelo Masarati
be32dce97f
rework static backend initialization
2004-11-11 00:38:11 +00:00
Jong Hyuk Choi
62febe5dff
fix slap_sl_free() calls in pre / post read controls
2004-11-10 21:38:41 +00:00
Kurt Zeilenga
b29e311ae7
unifdef -DBDB_ALIASES
...
delete dead code
2004-11-05 07:48:15 +00:00
Howard Chu
501f749c05
Don't access entry after commit; it may be gone if the cache is full
2004-10-30 23:48:26 +00:00
Howard Chu
7e87f54716
Revert ITS#3353 patch, it needs to be reworked.
2004-10-06 05:51:38 +00:00
Howard Chu
fda3d6260e
ITS#3353 consolidate slapd globals into a single struct
2004-10-01 07:33:16 +00:00
Jong Hyuk Choi
86aa3728b9
referral mem leak fix
2004-09-14 01:03:08 +00:00
Kurt Zeilenga
d611a4b49a
unifdef -UNEW_LOGGING
2004-09-04 04:54:28 +00:00
Howard Chu
5ab38cfa5f
Better fix for ITS#3213, plug mem leaks. Also fix postread response.
2004-07-05 20:08:20 +00:00
Jong Hyuk Choi
2adcccb27d
logging psearch return code
2004-06-28 23:51:17 +00:00
Howard Chu
826b177877
More locking cleanup (ITS#3201, etc)
2004-06-25 05:29:33 +00:00
Kurt Zeilenga
8bca3b42f9
Rework pre/post read controls to handle retry conditions...
...
(and plug leaks)
2004-06-23 06:56:23 +00:00
Kurt Zeilenga
e23b0f677f
Move pre/post read calls into outer transaction.
...
Need to fix retry handling.
2004-06-23 06:02:49 +00:00
Jong Hyuk Choi
bc6b28a650
using write lock in accessing pslist
2004-06-23 02:07:12 +00:00
Howard Chu
06f3bfb7f9
More for ITS#3188
2004-06-16 03:29:02 +00:00
Pierangelo Masarati
c0c24cfec5
first round of SHADOW flags/isupdate test unification
2004-04-10 10:00:58 +00:00
Jong Hyuk Choi
1c1b2bb6ee
updatedn fix for syncrepl
2004-04-07 17:32:37 +00:00
Kurt Zeilenga
f7d8d55d84
cleanup
2004-04-06 19:42:37 +00:00
Pierangelo Masarati
a11dc61e05
rework be_isupdate accordingly to be_isroot
2004-04-06 09:42:40 +00:00
Kurt Zeilenga
c7e89d57be
swap be_isroot and be_isroot_dn symbols
2004-04-06 01:06:20 +00:00
Pierangelo Masarati
e516247068
exploit new isroot_dn helper
2004-04-05 17:31:27 +00:00
Jong Hyuk Choi
372dcb78eb
Glue entry pruning : delete parent entries after modrdn when they are glue and become leaf entry
2004-02-23 22:48:46 +00:00
Kurt Zeilenga
3c598e89fb
Happy new year
2004-01-01 19:15:16 +00:00