Howard Chu
|
90e644a1e9
|
Cleanup bdb_next_id unused arg
|
2008-02-10 00:56:44 +00:00 |
|
Kurt Zeilenga
|
c890c96d13
|
Happy New Year (belated)
|
2008-01-08 00:19:56 +00:00 |
|
Howard Chu
|
3218f6c110
|
Fix segv with -q
|
2007-12-13 07:51:56 +00:00 |
|
Howard Chu
|
460e94c001
|
ITS#5262 additional cleanup
|
2007-12-05 14:56:47 +00:00 |
|
Howard Chu
|
6ac8a0c584
|
ITS#5262 use explicit cursor and locker in dn2id
|
2007-12-05 14:09:34 +00:00 |
|
Howard Chu
|
f8588ff0c3
|
ITS#5225 fix contextCSN updating
|
2007-11-12 03:50:31 +00:00 |
|
Howard Chu
|
d7535d4ddc
|
ITS#5189 revert index.c 1.67, just catch LDAP_OTHER
|
2007-10-23 00:25:51 +00:00 |
|
Howard Chu
|
a87b4592a4
|
Remove tool_id2entry_get
|
2007-08-11 04:19:53 +00:00 |
|
Howard Chu
|
ed4b5d1bd7
|
ITS#5087 fix tool_id2entry_get for hdb
TODO: rip this all out and just use tool_entry_get
|
2007-08-11 02:11:27 +00:00 |
|
Howard Chu
|
b514b25795
|
Quick and dirty BDB 4.6.18 support. Expect this to change again soon.
|
2007-07-24 14:02:37 +00:00 |
|
Hallvard Furuseth
|
4586ede1ab
|
ITS#5007: Rename label "leave"; OSF1 pthread.h makes it as an exception keyword
|
2007-06-09 23:45:23 +00:00 |
|
Hallvard Furuseth
|
1c87542ea1
|
Add missing return from void *bdb_tool_trickle_task()
|
2007-04-09 22:45:21 +00:00 |
|
Howard Chu
|
87466fc7c8
|
Add trickle-sync for quick mode
|
2007-04-07 06:10:01 +00:00 |
|
Howard Chu
|
9a8b3f711e
|
Only sort the first time
|
2007-01-17 10:43:37 +00:00 |
|
Howard Chu
|
5d3f3c240d
|
ITS#4554 slapindex takes a list of attributes to index
|
2007-01-15 01:14:14 +00:00 |
|
Hallvard Furuseth
|
d16754c81b
|
Delete unused variables.
|
2007-01-11 12:04:22 +00:00 |
|
Kurt Zeilenga
|
da6d9eb046
|
happy new year
|
2007-01-02 20:00:42 +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 |
|
Ralf Haferkamp
|
e1f068f712
|
Check for the correct return code of cursor->c_get() (DB_BUFFER_SMALL)
|
2006-09-27 10:51:06 +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 |
|
Howard Chu
|
2a5ecbccaa
|
Remove some more yield() calls
|
2006-05-03 07:41:12 +00:00 |
|
Kurt Zeilenga
|
acbb5cf689
|
Happy new year!
|
2006-01-03 23:11:52 +00:00 |
|
Howard Chu
|
553b2884ab
|
cache LRU concurrency improvements, reorder DB accesses for consistency
|
2005-12-09 00:20:18 +00:00 |
|
Howard Chu
|
d84ffb62a6
|
ITS#4210 don't setup indexing threads if no indexing is defined.
|
2005-11-25 22:50:25 +00:00 |
|
Howard Chu
|
a9c95d36be
|
ITS#4175 wait for worker threads to be ready
|
2005-11-16 03:22:21 +00:00 |
|
Hallvard Furuseth
|
aa37b27ab3
|
Remove unused declaration bdb_tool_ix_rec() and variable bdb
|
2005-11-14 14:40:01 +00:00 |
|
Howard Chu
|
8f7fbfe60a
|
ITS#4143 bdb_tool_info should only be non-NULL for QUICK index/add
|
2005-11-04 02:52:14 +00:00 |
|
Howard Chu
|
675cda1b62
|
Use #ifdef BDB_TOOL_IDL_CACHE to enable IDL cache. Leave disabled for
now, it appears to just slow things down.
|
2005-10-27 13:57:48 +00:00 |
|
Howard Chu
|
8d0ed89832
|
Fix cache flush / retry sequencing
|
2005-10-27 13:38:21 +00:00 |
|
Howard Chu
|
d85cb6efbb
|
Revert to previous IDL cache scheme. Doesn't seem to help much in
the threaded case, may be best without it.
|
2005-10-27 12:00:26 +00:00 |
|
Howard Chu
|
f94968fb5b
|
Multi-threaded slapindex
|
2005-10-27 10:34:33 +00:00 |
|
Howard Chu
|
b3c3335418
|
Fix IDL caching
|
2005-10-27 01:41:34 +00:00 |
|
Howard Chu
|
888731e6c3
|
Use sorted array for indexed attrs instead of AVL tree
|
2005-10-26 08:31:38 +00:00 |
|
Howard Chu
|
b67c0123d2
|
Better IDL cache allocation
|
2005-10-26 05:24:41 +00:00 |
|
Howard Chu
|
8a69f642b8
|
hdb doesn't need to fix DNs for slapindex
|
2005-10-25 08:40:01 +00:00 |
|
Howard Chu
|
34e154e28b
|
Add IDL caching for slapadd/slapindex quick mode
|
2005-10-22 21:41:58 +00:00 |
|
Howard Chu
|
ed5e8db572
|
Eliminate long-lived read transaction, we can just set a cursor's locker
ID explicitly to our long-lived locker. Should have thought of this before...
|
2005-10-18 21:35:07 +00:00 |
|
Howard Chu
|
8f7da062f5
|
ITS#4088 force cursors to use same locker
|
2005-10-18 20:52:04 +00:00 |
|
Howard Chu
|
c44210a8bf
|
ITS#4088 proposed fix
|
2005-10-16 07:37:36 +00:00 |
|
Pierangelo Masarati
|
739128a016
|
silence warning(s)
|
2005-07-25 20:50:33 +00:00 |
|
Hallvard Furuseth
|
9d5308163c
|
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
|
2005-07-19 05:03:12 +00:00 |
|
Howard Chu
|
c8bffb5584
|
Fix bdb_tool_dn2id_get() - nobody should be calling bdb_dn2id() directly,
always call through the cache instead - bdb_cache_find_ndn().
|
2005-07-19 02:12:34 +00:00 |
|
Hallvard Furuseth
|
81ecb0b153
|
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
|
2005-07-18 06:22:33 +00:00 |
|
Howard Chu
|
11a1349366
|
ITS#3843 from jtownsend@opendarwin.org: hide index_attrs / index_dummy
|
2005-07-07 03:51:43 +00:00 |
|
Howard Chu
|
6399387580
|
ITS#3616 store contextCSN in glue entry if database suffix is empty
|
2005-04-15 06:58:03 +00:00 |
|
Howard Chu
|
a2a28f7b95
|
ITS#3616 allow adding entry with zero-length DN if the suffix is zero-length
|
2005-04-09 11:28:06 +00:00 |
|
Howard Chu
|
90d9791047
|
ITS#3616 use fake context entry if suffix is empty.
|
2005-04-09 10:01:13 +00:00 |
|
Howard Chu
|
dbb5d00908
|
ITS#3267 add a comment
|
2005-04-09 00:56:30 +00:00 |
|
Howard Chu
|
546bc9cf19
|
ITS#3267 fix out-of-order slapadd
|
2005-04-09 00:38:18 +00:00 |
|