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
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
Jong Hyuk Choi
0af878ac3f
syncrepl consistency patch: utilize BDB txn rollback
2004-10-12 17:53:50 +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
Ralf Haferkamp
b8113c5df9
ITS#3226: Clear attribute flags after schema_check failed
2004-07-09 11:18:42 +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
Pierangelo Masarati
e052d7297d
`err' might be used uninitialized
2004-06-29 17:32:43 +00:00
Ralf Haferkamp
498530fc4c
TS#3213: free copy of e_attrs before retrying the transaction in bdb_modify()
2004-06-29 14:52:03 +00:00
Jong Hyuk Choi
2adcccb27d
logging psearch return code
2004-06-28 23:51:17 +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
Kurt Zeilenga
83476f2d98
Add pre-read FIXME comment
2004-06-22 23:44:35 +00:00
Kurt Zeilenga
7537d3d843
Partial fix for ITS#3188.
...
As Howard noted, additional fixes may be needed in other update routines.
2004-06-15 21:13:40 +00:00
Jong Hyuk Choi
4e3c30bbf0
misc addition to the previous glueing commit
2004-02-24 01:55:59 +00:00
Jong Hyuk Choi
53d191e14d
syncrepl update: 1) improve error handling 2) glueing support for non-leaf deletion (TODO : deletion of leaf glue entries in the delete / modrdn code)
2004-02-22 20:44:44 +00:00
Kurt Zeilenga
3c598e89fb
Happy new year
2004-01-01 19:15:16 +00:00
Kurt Zeilenga
2775c8d4a8
Update no-op control to return LDAP_NO_OPERATION instead of LDAP_SUCCESS.
...
(back-sql needs to be updated)
2003-12-29 23:31:39 +00:00
Howard Chu
e6f34fddcd
ITS#2895 TXN_PREPARE is not needed since we use nested transactions. It
...
also has a side-effect of releasing all the transaction's existing locks.
2003-12-24 13:27:03 +00:00
Jong Hyuk Choi
fa2aa5bb25
fix for concurrent persistent searches
2003-12-11 00:04:52 +00:00
Kurt Zeilenga
9d811eb1fa
Notices
2003-11-28 21:08:20 +00:00
Jong Hyuk Choi
1fdda703e6
Support multiple sync replication at the consumer :
...
1) simultaneous operation of multiple active sync replication threads
2) cookie management for individual sync replication thread
(include rid=%3d to the slapd cookie command line option (-c))
2003-11-26 19:49:47 +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
Kurt Zeilenga
ce4b199485
Syncrepl code cleanup (namely prefix struct field names)
2003-10-22 05:19:30 +00:00
Howard Chu
5c711a3b46
ITS#2741 yield before backing off
2003-09-27 03:16:38 +00:00
Howard Chu
fddbe13c6e
Revert broken index optimizations
2003-09-21 10:11:46 +00:00
Howard Chu
f2c3ba16d6
cn=ldapsync berval cleanup
2003-09-20 03:26:40 +00:00
Kurt Zeilenga
99f968b597
Initial support for pre/post read controls.
...
TODO:
Fix transactional consistency
Add client response control handling
2003-09-16 18:56:04 +00:00
Jong Hyuk Choi
090ac0a772
unifdef LDAP_SYNC and LDAP_SYNCREPL
2003-08-27 22:16:04 +00:00
Jong Hyuk Choi
79b04b12a2
Context CSN Patch (5)
...
- persistent search patch
- cascading search patch
2003-08-26 00:35:27 +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
Kurt Zeilenga
b54780f940
Add initial support for modify/increment. No over/under flow detection.
...
Currently discovered via a "feature", but should use a control.
Start of a control made, but needs to be better integrated (with
auto use in ldapmodify(1)).
2003-08-07 16:42:40 +00:00
Jong Hyuk Choi
aaa66d254e
Various udpates for SyncRepl
2003-07-15 00:43:39 +00:00
Jong Hyuk Choi
cc6f31782d
- partial attribute replication tested ok
...
- conf file processing udpate
- misc updates
2003-07-02 14:51:23 +00:00
Jong Hyuk Choi
5bc1e1a3c9
Berkeley DB congestion avoidance
2003-07-01 11:55:18 +00:00
Jong Hyuk Choi
ea57395f82
Glueing code changes for replica promotion scenario
2003-06-28 00:52:40 +00:00
Jong Hyuk Choi
262f8bf11f
LCUP primitive routines removed
2003-06-27 17:39:48 +00:00
Howard Chu
0c8a4b1756
More fixes for modify - don't delete index keys that are still being used
...
by other values of the attribute.
Also, filter out duplicate keys to avoid redundant DB operations.
Key collisions due to separate attributes indexed by supertype are still
not safe. Yuck.
2003-06-13 06:09:45 +00:00
Kurt Zeilenga
a8e859a401
Add server side assert control support.
2003-06-10 04:44:41 +00:00
Howard Chu
4a3748b6cf
Restructured to avoid direct use of sl_malloc functions. Minimizes impact
...
of #ifdef USE_SL_MALLOC...
2003-05-25 00:53:08 +00:00
Luke Howard
ac7ac5acef
Don't crash if attr_find() fails (Howard, you might like to review this)
2003-05-14 07:25:00 +00:00