Commit graph

11481 commits

Author SHA1 Message Date
HIRABAYASHI Satoshi
92d439a0dd ITS#7218 fix sessionlog usability check 2012-03-28 02:48:03 -07:00
Ondrej Kuznik
be9585d0ed ITS#7182 Maintain the operation counts.
Currently ldap_back_default_rebind cannot access the ldapinfo structure.
Being a configurable callback, not letting it monitor when a change
might be disruptive feels safer.
2012-03-27 04:28:37 -07:00
Ondrej Kuznik
fb2d235615 ITS#7182 Introduce the variables for operation monitoring.
Only completed operations are considered for now, this can be changed
if needed.
2012-03-27 04:28:26 -07:00
Ondrej Kuznik
7baac1d9b4 ITS#7182 Add mss_private for monitor subsystem.
During initialization (and elsewhere), the subsystems have no way of
storing local data. While embedding them inside a larger strusture and
breaking out when needed (like the current back-ldap monitoring code
currently does) works, it certainly does not add to readability.

Notice that there is still no way to unregister an active subsystem.
This patch does not attempt to include such functionality while it might
actually be needed with the advent of SLAP_CONFIG_DELETE.
2012-03-27 04:28:16 -07:00
Howard Chu
dc0ef72dff Cleanup prev commit 2012-03-27 01:53:41 -07:00
Ondrej Kuznik
122faa5bd9 (ITS#6987) Consider only same attribute siblings for Cft_misc.
For all other ce_types it holds that each is represented by one
attribute, making ce_type matching for X-ORDERED siblings equivalent to
how back-ldif handles them. Cft_misc is means "all other types", however
no overlay/backend so far has used different attributes as siblings,
triggering the difference in handling between bconfig.c and back-ldif.
2012-03-27 01:53:30 -07:00
Howard Chu
4433b1b8d5 ITS#7205 fix check for existing suffix 2012-03-26 03:35:23 -07:00
Howard Chu
93d3a4104a ITS#7200 fix regression in b4d403ea31 2012-03-09 13:10:58 -08:00
Howard Chu
8c452e3272 ITS#7203 approxIndexer should omit zero-length keys 2012-03-09 12:47:49 -08:00
Howard Chu
47e57a9c8f ITS#7191 fix typo, more alignment tweaks 2012-03-08 21:39:31 -08:00
Howard Chu
6143aa0c18 ITS#7201 fix config flags 2012-03-08 19:27:20 -08:00
Howard Chu
b4d403ea31 ITS#7200 enforce check for matching serverID URL 2012-03-08 19:24:09 -08:00
Howard Chu
d0bcaee0f3 ITS#7190 don't crash in slapcat on NULL entry 2012-03-06 22:15:51 -08:00
Howard Chu
6ab4d830cb ITS#7195 add NotAllowedOnNonleaf to deltasync fallback errors 2012-03-02 14:12:41 -08:00
Howard Chu
c4325af7e0 ITS#7180 fix mdb_entry_get when mdb_entry_next was not called 2012-02-24 15:20:17 -08:00
Howard Chu
9b9f4984f0 More for ITS#7170 2012-02-23 12:08:53 -08:00
Howard Chu
3792e9ec59 ITS#7178 fix uninit'd op->ors_deref 2012-02-23 01:16:39 -08:00
Howard Chu
c4d78a17c3 ITS#7170 fix Quick mode index generation 2012-02-22 16:01:59 -08:00
Howard Chu
164e738878 ITS#7176 fix slapindex -q -t 2012-02-20 17:04:24 -08:00
Hallvard Furuseth
465942e74d ITS#7160 Support POSIX make: No $< in target rules 2012-02-18 18:17:40 +01:00
Howard Chu
463c1fa25d ITS#7143 fix attr_dup2 when no values are present (attrsOnly = TRUE) 2012-02-14 17:29:14 -08:00
Howard Chu
eace24ef33 ITS#7162 Revert "ITS#7052 ignore Adds with too old entryCSN"
This reverts commit ba4366eae0.
The patch caused a regression (ITS#7162).
2012-02-12 21:07:25 -08:00
Howard Chu
d4b3c2af6a Partial revert of f30269f5d2
ITS#6024 patch breaks MMR loop detection
2012-02-12 15:54:11 -08:00
Howard Chu
8e7af6331e Add some debug info to aid Delete tracking 2012-02-09 14:16:17 -08:00
Timo Teräs
3dc71dfb1a ITS#7158 Fix a crash in back-sql 2012-02-08 23:04:34 +01:00
Howard Chu
430256fafb ITS#7143 add FIXME comment, note that current patch is not ideal 2012-02-03 11:58:00 -08:00
Howard Chu
ef2f5263de ITS#7143 don't leave empty slots in normalized attr values 2012-02-03 11:43:40 -08:00
Howard Chu
ba4366eae0 ITS#7052 ignore Adds with too old entryCSN 2012-02-03 11:16:10 -08:00
Howard Chu
5584e5b98d ITS#7150 fix check for already abandoned op 2012-02-03 09:35:13 -08:00
Howard Chu
3423b56690 ITS#7146 fix prev commit 2012-02-02 03:26:53 -08:00
Howard Chu
9d3b1af2ff ITS#7146 check for ad_index overflow
Temporary fix...
2012-02-02 03:08:33 -08:00
Howard Chu
d2958a2a4e ITS#7144 fix crash replicating modDN if oldRDN not present 2012-02-02 02:53:40 -08:00
Howard Chu
2e9f1f93c8 ITS#7142 fix slapadd exit on failure 2012-01-28 15:44:51 -08:00
Howard Chu
d7933e2ea4 ITS#7140 more cleanup on txn abort 2012-01-28 11:52:09 -08:00
Howard Chu
3be354d0d2 ITS#7052 syncrepl deletes should ignore some errors
Treat LDAP_NO_SUCH_OBJECT as success, otherwise the consumer will
abort and start a new refresh for no good reason.
2012-01-27 11:21:04 -08:00
Ondrej Kuznik
19fda82e75 ITS#7123 Update the cached entry when handling compare too. 2012-01-24 03:22:03 -08:00
Hallvard Furuseth
42faa8393e ITS#7132 Fix syncrepl access to freed naming attr 2012-01-24 11:38:10 +01:00
Hallvard Furuseth
624642ba83 Fix sl_malloc valgrind support. 2012-01-24 01:45:51 +01:00
Hallvard Furuseth
db49dfecc9 ITS#7131 Fix connection loop connindex usage.
connection_<first/next>() takes a ber_socket_t *index, not int*.
2012-01-24 00:47:48 +01:00
Hallvard Furuseth
2b538761e9 ITS#7125 Document connection loop API.
Code comments belong in the code, not in commit messages.
2012-01-24 00:47:48 +01:00
Kevan Carstensen
7e893c75d1 ITS#7113 fix check order in connection_write() 2012-01-21 17:27:47 -08:00
Howard Chu
5ca62457f3 Fix: txn is invalidated by mdb_txn_commit() 2012-01-21 08:49:49 -08:00
Hallvard Furuseth
03e594d903 ITS#7075 Re-fix back-perl initialization.
Use PERL_SYS_INIT3() after all.  There appears to be no correct
way to do this, so we should as least follow the documentation.
2012-01-21 05:01:43 +01:00
Howard Chu
214ad8c987 ITS#7127 fix syncrepl_config reference to freed memory 2012-01-19 15:55:54 -08:00
Hallvard Furuseth
221d3ccdc6 ITS#7125 Fix Connection.c_mutex usage.
Partial revert of 9e00b6cc6ce2857490b33218bdaf1339319c5f60:connection.c.
2012-01-13 16:07:39 +01:00
Kurt Zeilenga
2bbf9804b9 Happy New Year! 2012-01-01 07:10:53 -08:00
Howard Chu
68ee165fb5 ITS#7115 blocked writers should not interfere with pool pause 2011-12-21 01:24:23 -08:00
Howard Chu
85c1c545f4 ITS#7107 fix Operation init on reuse
Additional fix for a66fb1630c
2011-12-14 19:33:40 -08:00
Howard Chu
50e02126b7 ITS#7050 fix uninit'd return code in back-meta 2011-12-12 11:52:05 -08:00
Howard Chu
704e8228c0 ITS#7098 fix del/add of first schema element 2011-11-29 08:16:34 -08:00