Pierangelo Masarati
f65ee5ddc1
ITS#6656 add reqEntryUUID to logs of write ops
2012-04-10 22:39:35 +02:00
Pierangelo Masarati
d7d1789e80
ITS#7224 check *_names pointer before dereferencing
2012-04-10 00:47:23 +02:00
Pierangelo Masarati
829efa878a
move entrypriv_create into monitor_extra_t
2012-04-09 18:37:48 +02:00
Pierangelo Masarati
11acc75e9f
move entry_stub to monitor_extra_t
2012-04-09 18:18:21 +02:00
Howard Chu
321b0fa93e
Merge remote branch 'origin/mdb.master'
2012-04-09 05:19:41 -07:00
Howard Chu
71843da2a7
MDB_APPEND should only be used in tool mode
2012-04-09 05:18:44 -07:00
Howard Chu
191d78948b
ITS#7238 doc clarification
2012-04-09 05:01:37 -07:00
Howard Chu
ae027b5214
ITS#7229 additional tweaks
...
Should probably compare nsize to pg_size/4 instead...
2012-04-09 04:45:32 -07:00
Howard Chu
de0cb27d70
ITS#7230 check and strip 0 length IDLs from freelist
2012-04-09 04:44:08 -07:00
Howard Chu
9e6245f87e
ITS#7235 prevent sop from being freed during init
2012-04-07 10:22:56 -07:00
Howard Chu
8bf047c8cb
ITS#7231 simplify prev commit
2012-04-07 07:57:39 -07:00
Howard Chu
494c6fa37f
ITS#7231 fix idl_append when b has only 1 element
2012-04-07 07:36:43 -07:00
Hallvard Furuseth
e6a25b2db6
ITS#7233 Fix slapd listener initialization.
...
This broke if i was incremented before the new thread read i:
for(...; i++) { ldap_pvt_thread_create(,,, &i); ... }
2012-04-07 14:13:50 +02:00
Hallvard Furuseth
19905a390f
ITS#7234 Fix syncprov entry leak: Set op->o_tag
2012-04-07 14:13:50 +02:00
Howard Chu
d2da9c1a7d
Merge remote branch 'origin/mdb.master'
2012-04-07 04:59:30 -07:00
Howard Chu
7ba25c488a
ITS#7229 more mdb_page_split fixes
2012-04-07 01:27:38 -07:00
Howard Chu
03737b5bfa
ITS#7228 check for unexpected result from ldapsearch
2012-04-06 03:37:54 -07:00
Howard Chu
6d5dac4fa2
ITS#7197 fix olcTLSVerifyClient keywords
2012-04-04 13:25:09 -07:00
Pierangelo Masarati
ce54dabb1b
fix uninit'ed parameters to monitor_back_register_entry_attrs()
2012-04-04 15:09:50 +02:00
Howard Chu
04c44f016c
Merge remote branch 'origin/mdb.master'
2012-04-04 05:52:45 -07:00
Howard Chu
84acc0e803
ITS#7219 fixup keysize in previous commit
2012-04-04 05:44:53 -07:00
Howard Chu
fc1396fa2e
Merge remote branch 'origin/mdb.master'
2012-04-04 01:39:27 -07:00
Howard Chu
0f10814494
ITS#7219 fix for odd-aligned keys in mdb_update_key()
2012-04-03 12:24:27 -07:00
Howard Chu
487d3966ee
Merge remote branch 'origin/mdb.master'
2012-03-30 06:37:12 -07:00
Howard Chu
91bab157f6
ITS#7210 fix leak of overflow pages in freelist
2012-03-30 06:36:02 -07:00
Howard Chu
b849ab00f8
ITS#7149 pick up definition of STRLENOF
2012-03-30 03:22:40 -07:00
Howard Chu
ac12129465
ITS#7182 silence warning about AVL_APPLY type
2012-03-29 07:06:16 -07:00
Ondrej Kuznik
8452b4ccde
ITS#7182 Expose the peer address of a connection.
2012-03-29 07:01:15 -07:00
Ondrej Kuznik
af09702199
ITS#7182 Expose the URI used for this connection.
2012-03-29 07:01:12 -07:00
Ondrej Kuznik
fa3a79c1b9
ITS#7182 Expose the connection flags.
...
The flags are exposed using a multivalued parameter so that other
connection flags (like back-meta's) could be exported without needing
additional code.
2012-03-29 07:01:10 -07:00
Ondrej Kuznik
cfc947dd54
ITS#7182 Enable operation and connection monitoring.
...
Reintroduce the cn=connections entry exactly as it were before ITS#7182.
2012-03-29 07:01:07 -07:00
Ondrej Kuznik
979e0f00b9
ITS#7182 Rework monitor registration.
...
Letting back-monitor create the subsystem entries is much more readable
than doing this manually.
Only the database is registered if needed (chain overlay has to be
updated to cope with this), the cn=Connection entry is removed in this
patch to be reinstated in the following one as part of the correct
subsystem.
The owner (overlay mostly) should already know the target subtree DN,
therefore the filter machinery can go away too.
2012-03-29 07:01:04 -07:00
Ondrej Kuznik
7c40b6e904
ITS#7182 Keep connection IDs for monitoring purposes.
2012-03-29 07:00:56 -07:00
Howard Chu
f6b8103b78
ITS#7149 more for back-perl, always use bv_len when available
2012-03-29 06:11:55 -07:00
Howard Chu
ab481c0f74
ITS#7149 fix back-shell/back-perl Modify with binary values
2012-03-29 06:05:15 -07:00
Howard Chu
7ff8baf1d3
Merge remote branch 'origin/mdb.master'
2012-03-28 10:45:06 -07:00
Howard Chu
f53beeabee
Partial revert of prev commit
...
Sub-DBs were correct before
2012-03-28 10:44:18 -07:00
Howard Chu
55060f6b1f
Merge remote branch 'origin/mdb.master'
2012-03-28 10:35:56 -07:00
Howard Chu
ac0b18911b
Fix entry counts in cursor_put
...
when replacing an existing item
2012-03-28 10:34:35 -07:00
Howard Chu
b8bbe985b8
Merge remote branch 'origin/mdb.master'
2012-03-28 09:34:13 -07:00
Howard Chu
0952cfdf84
Fix uninit'd xcursor index
2012-03-28 09:33:06 -07:00
Howard Chu
5c16c8842b
Add mfree utility to show the freelist
2012-03-28 09:20:18 -07:00
Howard Chu
04f488e7a0
ITS#7210 additional freelist fixes
...
Also allow read access to freelist in mdb_cursor_open
2012-03-28 09:18:00 -07:00
HIRABAYASHI Satoshi
92d439a0dd
ITS#7218 fix sessionlog usability check
2012-03-28 02:48:03 -07:00
Howard Chu
b92af0760b
ITS#7210 partial fix
...
Allow pages from free list to be used when growing the free list.
(Yes, this is self-referential...)
2012-03-27 06:44:28 -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