Commit Graph

50 Commits

Author SHA1 Message Date
Kurt Zeilenga
5c878c1bf2 Happy new year (belated) 2014-01-25 05:21:25 -08:00
Kurt Zeilenga
0fd1bf30b8 Happy New Year 2013-01-02 10:22:57 -08:00
Pierangelo Masarati
ce54dabb1b fix uninit'ed parameters to monitor_back_register_entry_attrs() 2012-04-04 15:09:50 +02:00
Kurt Zeilenga
2bbf9804b9 Happy New Year! 2012-01-01 07:10:53 -08:00
Howard Chu
9297050f9e Resolve MDB/HDB monitor OID clashes 2011-09-12 11:41:04 -07:00
Kurt Zeilenga
966cef8c9a Happy New Year 2011-01-05 00:42:37 +00:00
Pierangelo Masarati
b672d8535d make sure initialization is only tried once; improve error messages 2011-01-02 15:06:11 +00:00
Kurt Zeilenga
3dadeb3efe happy belated New Year 2010-04-13 22:17:29 +00:00
Pierangelo Masarati
49b1729ad7 don't dereference pointer in case of error 2009-10-19 23:41:11 +00:00
Pierangelo Masarati
5c62c82e00 more about ITS#6243 2009-08-17 23:05:48 +00:00
Howard Chu
016c518652 ITS#6230 fix typos 2009-07-27 18:54:56 +00:00
Howard Chu
474991afdf ITS#6222 dncachesize defaults to 0 == unlimited 2009-07-25 07:13:50 +00:00
Kurt Zeilenga
4af9eb9715 Update copyright notices 2009-01-22 00:40:04 +00:00
Hallvard Furuseth
6f39252bd0 Warning cleanup: signed meets unsigned. 2008-10-13 08:35:31 +00:00
Pierangelo Masarati
88bc524422 s/PATH_MAX/MAXPATHLEN/ (ITS#5531) 2008-05-26 20:53:16 +00:00
Kurt Zeilenga
c890c96d13 Happy New Year (belated) 2008-01-08 00:19:56 +00:00
Howard Chu
caac5b76fb Cleanup debug msgs 2007-11-12 08:34:55 +00:00
Howard Chu
e8c2414831 Preliminary sorted value support 2007-09-24 01:31:23 +00:00
Howard Chu
c4dbe1a274 Attribute/Modification value counters 2007-09-21 08:43:56 +00:00
Pierangelo Masarati
06e6e6c053 apply Howard's cleanup of database monitoring registration 2007-09-15 15:34:49 +00:00
Pierangelo Masarati
c83b8b58a3 hide (experimental) schema 2007-09-01 16:01:29 +00:00
Howard Chu
8b27523e4c Add config keyword for DN cache size (aka EntryInfoSize)
default is 2x entry cache size
2007-08-11 19:29:14 +00:00
Pierangelo Masarati
97d2c51980 improve previous commit: now each missing index has a specific counter 2007-08-08 18:22:19 +00:00
Pierangelo Masarati
b713eb5102 add monitor support for unindexed attributes (need to manually #define BDB_MONITOR_IDX) 2007-08-07 22:36:04 +00:00
Pierangelo Masarati
133035cdd2 do not try to register custom monitor stuff when subordinate (related to ITS#4965); note: this might not be the best solution, because it does not allow to monitor subordinate databases; however, right now it's necessary, since subodinate databases do not register themselves in back-monitor 2007-06-09 14:14:45 +00:00
Pierangelo Masarati
226133ea38 don't add databases twice; but try as hard as possible... 2007-03-21 23:22:49 +00:00
Pierangelo Masarati
d0fe3b0890 allow adding of back-bdb with monitoring on (ITS#4789) 2007-03-21 22:35:37 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Pierangelo Masarati
6193ee4003 don't leak callbacks if stuff cannot be registered; provide a means to dispose of private stuff if required 2006-12-24 15:44:56 +00:00
Kurt Zeilenga
80d74dc2cd Monitor attributes should have dSAOperation usage,
not directoryOperation usage.  Update test000 to
request return of only @monitor attributes.
2006-12-08 02:30:11 +00:00
Howard Chu
4b6a3e8b6d Convert schema parsers to ConfigArgs so they can pass errors back to clients 2006-11-15 01:18:37 +00:00
Pierangelo Masarati
067d6904c2 don't know exactly the reason, but here without this back-hdb suddenly starts crashings all times (since bdb_monitor_* stuff) 2006-09-26 08:43:01 +00:00
Pierangelo Masarati
c0c089f4a4 make sure we don't interfere with frontend's entry when the suffix is empty (test027) 2006-09-17 16:45:24 +00:00
Pierangelo Masarati
c92571680d also work with pcache 2006-09-15 00:16:55 +00:00
Pierangelo Masarati
b890f60e36 minor cleanup 2006-09-14 01:05:02 +00:00
Howard Chu
5342ce61dd Add register_at / register_oc helpers. 2006-09-13 12:48:45 +00:00
Howard Chu
2bfe79fe88 Add BackendInfo.bi_extra for backend custom APIs
Use bi_extra for back-monitor entry points. Backends should never
directly reference each other's symbols.
2006-09-13 11:38:51 +00:00
Pierangelo Masarati
6300e449d8 leave monitor calls in place, hide contents; in the long run, enable monitor and build as static by default 2006-09-12 07:53:19 +00:00
Howard Chu
7cd64d384b Use #ifdef SLAPD_MONITOR for monitor APIs 2006-09-12 02:59:28 +00:00
Howard Chu
c6ed29dc3c Fix uninit'd *cb (Coverity scan) 2006-09-09 22:15:45 +00:00
Pierangelo Masarati
8eab487020 further improve monitoring setup and cleanup 2006-09-09 16:24:35 +00:00
Pierangelo Masarati
4350ce5189 cleanup names 2006-09-08 22:10:49 +00:00
Pierangelo Masarati
b60990780f custom monitoring can be enabled/disabled via config 2006-09-06 23:08:57 +00:00
Pierangelo Masarati
4d55aeb57c cleanup subsystems monitoring OID handling 2006-09-06 16:06:49 +00:00
Pierangelo Masarati
1fc5e8e057 cleanup monitoring resources 2006-09-06 12:07:03 +00:00
Pierangelo Masarati
6ce47650c9 - objectClass is now AUXILIARY (modifies existing object...)
- moved directory path publication from back-monitor/database.c
- added cleanup handler
- minor cleanup
2006-09-06 09:10:46 +00:00
Howard Chu
9c2c30f541 Return current entry/IDL cache counts 2006-09-06 03:37:13 +00:00
Pierangelo Masarati
c67913ce1c don't get mad if monitor database is not configured 2006-09-06 02:14:32 +00:00
Pierangelo Masarati
ae1481ba62 minor cleanup; plug couple of one-time leaks 2006-09-06 02:06:45 +00:00
Pierangelo Masarati
55f24ce8f6 - setup framework for monitoring of back-bdb/back-hdb stuff in their
database entry in cn=monitor
- improve support for custom attribute/callback registration
  in back-monitor
- design API for registered antry/attr/callback removal in back-monitor

HEADS UP: now back-bdb requires back-monitor to be present, either static
or dynamically loaded __before__ back-bdb/back-hdb is initialized.
This works for sure if both back-bdb & back-monitor are static or dynamic
(provided back-monitor.la is loaded before back_bdb.la); it is not clear
what happens if back-bdb is static and back-monitor is dynamic.  In case,
either make back-bdb monitoring conditional, or hardwire back-monitor
much like back-config and back-ldif.
2006-09-06 01:54:54 +00:00