Commit Graph

123 Commits

Author SHA1 Message Date
Howard Chu
0340a1f1bf ITS#4616 fix cache_modrdn bei_state management 2006-07-18 10:22:48 +00:00
Howard Chu
bab03f6d5c Additional purge changes for rev 1.120, don't keep the current thread
busy unnecessarily
2006-07-12 01:55:21 +00:00
Howard Chu
70512edd5a ITS#4572 don't unlock non-existent locks 2006-06-01 02:03:10 +00:00
Howard Chu
c76eb501ab Revert cache-purge task, go back to purging inline 2006-04-05 07:17:11 +00:00
Howard Chu
c002351982 cleanup 2006-03-31 22:24:39 +00:00
Howard Chu
9eca89acc8 Improve prev commit 2006-02-09 07:02:40 +00:00
Howard Chu
6344d36df0 Same as ITS#4385, must wake listener after submitting job to runqueue 2006-02-09 06:53:49 +00:00
Pierangelo Masarati
697df7cc06 silence warning 2006-01-07 11:06:32 +00:00
Howard Chu
a614a1c16e Cleanup task declarations 2006-01-06 04:06:18 +00:00
Howard Chu
e82ce6444c ITS#4308 fix cache flush task interval 2006-01-06 03:51:56 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Pierangelo Masarati
9c7aca5b47 fix indentation 2006-01-02 08:18:29 +00:00
Howard Chu
553b2884ab cache LRU concurrency improvements, reorder DB accesses for consistency 2005-12-09 00:20:18 +00:00
Howard Chu
3e062a3f35 ITS#4254 fix lock ordering 2005-12-08 23:45:47 +00:00
Pierangelo Masarati
af23be3675 silence warnings... 2005-11-14 21:47:17 +00:00
Pierangelo Masarati
474dfbc8fd don't trust strchr/strrchr with bervals 2005-11-13 22:26:53 +00:00
Howard Chu
a14fd7cc3b Cleanup unused def 2005-10-18 21:36:06 +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
Howard Chu
9944c9c461 ITS#4015 silence pointer/integer size warnings 2005-09-08 23:47:19 +00:00
Howard Chu
aa897eae90 ITS#4010 fixes complaint, larger problem remains 2005-09-08 15:28:36 +00:00
Hallvard Furuseth
3226cdf2a3 bdb_locker_id, bdb_locker_id_free: BerkeleyDB lock ids are u_int32_t, not int. 2005-07-27 12:19:16 +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
Hallvard Furuseth
d6cc947561 Silence "unused <something>" warnings 2005-07-14 19:52:08 +00:00
Howard Chu
fbbfac6771 ITS#3857 fix bottom-up modrdn cascades, use a global modrdn counter. 2005-07-12 13:17:56 +00:00
Howard Chu
c49ba400db Cleanup db_close vs db_destroy steps 2005-04-22 18:07:02 +00:00
Howard Chu
90d9791047 ITS#3616 use fake context entry if suffix is empty. 2005-04-09 10:01:13 +00:00
Pierangelo Masarati
ae3f784d5b fix database operations in tool mode (ITS#3622) 2005-04-01 12:20:02 +00:00
Howard Chu
1476ad80a6 Tweak log msg in prev commit 2005-03-20 20:55:49 +00:00
Howard Chu
e2a4978d82 Runtime detection of BDB read-only transaction patch 2005-03-20 20:54:44 +00:00
Howard Chu
df3d8f3e30 Cleanup unused variables 2005-02-20 04:59:29 +00:00
Howard Chu
eb7deb9eba ITS#3494 fix deadlock 2005-01-19 19:18:28 +00:00
Kurt Zeilenga
dc0eacd40b Happy New Year! 2005-01-01 20:49:32 +00:00
Jong Hyuk Choi
273052b573 adaptive caching implementation 2004-12-14 17:22:22 +00:00
Howard Chu
9dd58533ca Better cache counting, partially revert 1.85 2004-11-08 07:18:33 +00:00
Howard Chu
504d7ea261 Assist in cache debugging 2004-11-08 04:23:37 +00:00
Howard Chu
14b0d4fdad Fix hdb cache kid counts 2004-10-31 22:07:15 +00:00
Howard Chu
7087ffa2ca ITS#3356 - when purging cache, free entryInfo if node has no children 2004-10-31 13:04:27 +00:00
Howard Chu
e7ec96fc6d ITS#3358 - make bdb_cache_lru_add skip entries that are being deleted 2004-10-27 14:01:12 +00:00
Howard Chu
ca0bf91bba BDB 4.3 compatibility, if the reader TXN is deadlocked we must abort
and recreate it.
2004-10-16 13:07:01 +00:00
Pierangelo Masarati
559cf8bfb1 revert previous commit 2004-10-08 00:27:26 +00:00
Howard Chu
7e87f54716 Revert ITS#3353 patch, it needs to be reworked. 2004-10-06 05:51:38 +00:00
Pierangelo Masarati
0c1f1f959f minor cleanup 2004-10-04 20:55:09 +00:00
Kurt Zeilenga
d611a4b49a unifdef -UNEW_LOGGING 2004-09-04 04:54:28 +00:00
Howard Chu
856a8c1177 Don't bother logging lock failures for tryOnly mode 2004-07-12 20:02:24 +00:00
Howard Chu
214d3b26c1 Fix for non-thread run 2004-07-12 04:05:26 +00:00
Howard Chu
2d4f58bbf6 Make sure DB result codes are returned to caller; add missing retries to
callers of bdb_cache_find_id().
2004-07-10 19:06:20 +00:00
Howard Chu
22f895a4bb Minor cleanup 2004-07-10 04:48:07 +00:00
Howard Chu
ebc8bb0d83 Use long-lived per-thread TXNs for loading entries from DB.
Make sure only one thread tries to load a given entry at a time.
Bump up the DB environment's max TXNs to accomodate the new TXNs.
2004-07-09 17:00:07 +00:00