Howard Chu
|
23a2339090
|
Fix prev commits...
|
2007-01-04 03:26:54 +00:00 |
|
Howard Chu
|
f2acc11976
|
Simpler fix
|
2007-01-04 03:17:59 +00:00 |
|
Howard Chu
|
831d1cccc7
|
Fix idl_cache teardown again - skip if cache is empty
|
2007-01-04 03:14:46 +00:00 |
|
Howard Chu
|
e094bef172
|
Remember our own success code in case an overlay changes it
|
2007-01-03 20:28:56 +00:00 |
|
Howard Chu
|
5cfd2f6d97
|
Use Clock algorithm for IDL cache too
|
2007-01-03 19:00:07 +00:00 |
|
Howard Chu
|
6d1ca0a769
|
Delete unused idl_cache_entry rwlock field
|
2007-01-03 05:36:49 +00:00 |
|
Kurt Zeilenga
|
da6d9eb046
|
happy new year
|
2007-01-02 20:00:42 +00:00 |
|
Howard Chu
|
822888eafc
|
Bypass a few redundant locks
|
2007-01-01 11:44:39 +00:00 |
|
Howard Chu
|
6074f48fa7
|
Tweak cache_lru_print
|
2007-01-01 11:17:13 +00:00 |
|
Howard Chu
|
a5546a22a8
|
Fix prev commit, hdb_cache_find_parent
|
2007-01-01 07:09:22 +00:00 |
|
Howard Chu
|
cd35516bdc
|
Fix typo in prev commit
|
2007-01-01 02:16:25 +00:00 |
|
Howard Chu
|
37dfbd3e8b
|
Fix prev commit
|
2007-01-01 01:07:57 +00:00 |
|
Howard Chu
|
d7fa1e764d
|
partial revert - keep acquiring BDB lock in lru_purge.
|
2007-01-01 01:00:19 +00:00 |
|
Howard Chu
|
b8309b4cf8
|
Cleanup db_lock/unlock parameters
|
2006-12-31 23:37:06 +00:00 |
|
Howard Chu
|
a720011c8a
|
Ditch LRU cache replacement in favor of 2nd-chance/clock.
Much better concurrency.
|
2006-12-31 16:16:48 +00:00 |
|
Howard Chu
|
e844a6956d
|
In bdb_cache_add use a readlock outside the txn to protect the entry
until send_ldap_result completes.
|
2006-12-30 12:05:55 +00:00 |
|
Howard Chu
|
3bf226382e
|
ITS#3707 preserve filter input, allow (and ignore) undefined attributes
|
2006-12-25 23:30:45 +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
|
77ed3423b9
|
ITS#4767 fix bdb_add / translucent interaction
|
2006-12-04 22:06:58 +00:00 |
|
Howard Chu
|
eb47d50da7
|
Tweak bei_state so cache_lru_add doesn't ever try to free just-added
entries. This allows us to use the frontend's entry directly instead
of having to entry_dup it before adding to the cache.
|
2006-12-01 14:48:38 +00:00 |
|
Howard Chu
|
2a9afa55a7
|
Avoid unnecessary calls to oc_bvfind
|
2006-11-27 19:59:59 +00:00 |
|
Howard Chu
|
3711183610
|
Skip checkpoint call if size was not specified - defer time-based
checkpoints to the runq job
|
2006-11-27 19:54:04 +00:00 |
|
Howard Chu
|
ee0026ec1e
|
Don't bother setting up threads if there are no indexed attrs (unlikely...)
|
2006-11-15 01:20:34 +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 |
|
Howard Chu
|
bd95f8ab1c
|
ITS#4738 provisional fix, still needs confirmation
|
2006-11-13 00:24:59 +00:00 |
|
Pierangelo Masarati
|
fb2d3926ce
|
only abort update if failed pre/post read control is critical: the only thing RFC 4527 says about failure is that in case of failure of the read, no control is appended to the result message; maybe no failure should ever occur (please review)
|
2006-10-14 01:08:41 +00:00 |
|
Pierangelo Masarati
|
576646abb1
|
DB_BUFFER_SMALL is BDB 4.4 only
|
2006-09-27 12:34:00 +00:00 |
|
Ralf Haferkamp
|
e1f068f712
|
Check for the correct return code of cursor->c_get() (DB_BUFFER_SMALL)
|
2006-09-27 10:51:06 +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
|
8f90eb97ec
|
use right, although empty, function in bdb_db_destroy()
|
2006-09-25 23:45:29 +00:00 |
|
Howard Chu
|
db082f4b1d
|
Fix prev commit
|
2006-09-20 20:22:59 +00:00 |
|
Howard Chu
|
f63f46f0b1
|
Use a single malloc for entry_decode instead of two - partially decode
the entry to get nvals first, so the size can be computed.
|
2006-09-20 02:43:47 +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 |
|
Kurt Zeilenga
|
2c4b2b5566
|
return structuralObjectClass errors
(likely need to be applied to other backends)
|
2006-09-16 11:48:52 +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
|
103485bf99
|
fix use with back-hdb
|
2006-09-06 15:11:54 +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 |
|