Sears Russell
6360eae602
autoconf macro for finding lladd. (only supports source tree versions of lladd for now, since lladd is
...
uninstallable)
2005-03-01 07:35:04 +00:00
Sears Russell
3e5f7aea8a
Bugfixes for OASYS.
2005-03-01 07:32:02 +00:00
Sears Russell
3b88909c5f
Fixed compensations test; FreeBSD fix (?) for makefile.
2005-02-28 00:00:17 +00:00
Sears Russell
890a7385d0
Fixeds cht test / finished error checking within LLADD, but haven't tested error handling yet.
2005-02-24 21:12:36 +00:00
Sears Russell
29dacbe7ed
Error handling for linked list.
2005-02-22 23:11:03 +00:00
Sears Russell
41fb85eef0
More error handling...
2005-02-22 03:10:54 +00:00
Sears Russell
84a20a3c96
Started adding error handling code to LLADD.
2005-02-16 04:11:14 +00:00
Sears Russell
f4484e35b5
Update for perl script; added return type handling.
2005-02-16 02:13:54 +00:00
Sears Russell
f68e6b9dd3
Heuristic perl script to check for proper use of compensations.
2005-02-16 02:11:01 +00:00
Sears Russell
fdf5344ec3
Implemented 'compensations' for C. They're not proper compensations, but they're more flexible than pthread's mechanisms, as they allow the stack to be partially rolled up. (Although calling functions need to either check for errors and return manually, or wrap calls to error-producing callees in a begin_action{ }end_action block.
2005-02-14 02:49:59 +00:00
Sears Russell
2ac1302062
Recovery now supports the lock manager. (And vice-versa ;)
2005-02-10 21:56:32 +00:00
Sears Russell
8bf6ea29ff
Added @todo that details requirements for next version of alloc.
2005-02-10 21:55:35 +00:00
Sears Russell
b8a67cbfb2
Numerous lock manager fixes; more realistic test case for lock manager, added support for optional page-level locking.(Still need to report deadlocks back up to the caller.)
2005-02-10 03:51:09 +00:00
Sears Russell
6f022cc577
Some random code cleanups, and implemented a naive lock manager. (Still need to tie it into LLADD...)
2005-02-09 02:53:14 +00:00
Gilad Arnold
815942ed4c
- some further API improvements (?).
2005-02-08 23:56:47 +00:00
Gilad Arnold
307f268fdc
- working with flags instead of Boolean arguments; replaced some specialized
...
function calls with header-file macros.
2005-02-08 22:06:24 +00:00
Gilad Arnold
b2b0e8a9d4
- test_list2.c now issues a secondary init/shutdown sequence, just to make
...
sure that repeated init/shutdown works correctly.
2005-02-08 08:05:24 +00:00
Gilad Arnold
b0a9265d1a
- enhanced init/shutdown semantics: init may now be re-issued, following a
...
predecessing shutdown; note that shutdown does not deallocate objects (either
persistent or non-persistent), hence re-init would use the same objects as in
the previous run (assuming they are all intact).
2005-02-08 08:04:35 +00:00
Sears Russell
258dd5f4c4
Fixed up some return values; tests now pass with assert disabled.
2005-02-08 01:13:57 +00:00
Gilad Arnold
eec80a0e38
- improvement to error handling in pobj: now properly handles resource
...
allocation errors (at least most cases...?), including hash/queue
library calls.
2005-02-08 00:54:30 +00:00
Gilad Arnold
c94bee33a3
- cosmetic changes to debug logging.
2005-02-07 07:59:40 +00:00
Gilad Arnold
037c164728
- cosmetic fixes in hash module
...
- new debug facility to show context-based (stack) debugging messages; turned on
by corresponding compile switch (HAVE_DEBUG_CONTEXTS, currently hard-coded in
debug.h)
- added use of dedicated queue module (supporting dynamic allocation and
growable buffers).
- improvement w.r.t. full error handling in pobj.c: tackled some error cases
with library calls (malloc, hash module calls, etc) -- but still there's a way
to go.
2005-02-07 07:11:52 +00:00
Sears Russell
e33319175f
Fixed some cht bugs. Abort is flakey.
2005-02-06 03:48:12 +00:00
Gilad Arnold
f96061a1bd
- implementation of growable queues; to replace fix-sized queues used
...
in recursive traversal functions.
2005-02-03 21:22:14 +00:00
Gilad Arnold
91f2c7c382
- moved pobj header internals back into the .c file (sorry Amir)
...
- added pobj_is_persistent() call to replace the formerly used macro
- minor rearragement of common contants/macros
- minor fix to makefile
2005-02-03 21:05:48 +00:00
Gilad Arnold
1fd827a59e
- cosmetic: changes all shorthand for 'repository' from 'rep' to 'repo'...
...
- handling error return value of hash_insert in two cases (still two other left)
2005-02-03 20:43:15 +00:00
Gilad Arnold
570dc16f70
- minor: hash_insert returns an error in case of memory allocation failure
2005-02-03 20:40:31 +00:00
Gilad Arnold
c3229723ab
- removed std99 and pedantic flags for GCC (caused annoying warnings
...
with variable argumented macros).
2005-02-03 20:39:11 +00:00
Sears Russell
a27787b2fa
Cluster hash table now allows transactions to contain multiple requests.
2005-02-03 02:01:23 +00:00
Sears Russell
54ecc0d3c4
page->dirty is now set correctly (assuming LSN's are updated properly). pageFile.c makes use of this fact by ignoring write requests on clean pages.
2005-02-02 02:12:40 +00:00
Sears Russell
24b644162f
Shortened test because it was painfully slow.
2005-02-02 02:10:17 +00:00
Sears Russell
a4c13449b8
Bugfix for pageOrientedList.
2005-01-31 02:18:46 +00:00
Sears Russell
1260710a27
Got rid of another broken hash implementation...
2005-01-31 01:34:29 +00:00
Sears Russell
bb69197a65
Fixed blob implementation (it was impossible to distinguish between a blob and a record of length 12), removed jbhash, and ported cht to linearHashNTA.
2005-01-31 01:29:52 +00:00
Sears Russell
7cf5fdee6e
Re-implemented pageOrientedListNTA from scratch. It's now more flexible, but relies on features that are not provided by Talloc/Tdealloc, so performance isn't as good as it could be.
2005-01-29 01:17:37 +00:00
Sears Russell
4d04155b0e
An optimized, but still slow implementation of pageOrientedList.
2005-01-29 01:09:29 +00:00
Sears Russell
56d98adcbf
Working, but slow and non-concurrent variable length key/value support for linear hashtable.
2005-01-28 21:28:23 +00:00
Sears Russell
17f76264aa
Implemented pageOrientedList, also did some bug fixing, and added some support functions to alloc.c
2005-01-28 03:32:17 +00:00
Sears Russell
05934d296a
Removed O_DIRECT since it breaks on 2.4 kernels. Need to figure out how to
...
detect this in the build script so that systems that support O_DIRECT can use it.
(Note: RedHat kernels silently fail on O_DIRECT)
2005-01-24 19:58:09 +00:00
Sears Russell
5a2d2bde31
More documentation updates.
2005-01-21 02:13:17 +00:00
Sears Russell
eed439d53a
CHT cleanup; integrated cht tests into make check.
2005-01-20 23:58:29 +00:00
Sears Russell
3642716431
CHT cleanup, integrated CHT tests into 'make check'
2005-01-20 22:55:54 +00:00
Sears Russell
b04e71360f
Documentation update.
2005-01-20 21:19:47 +00:00
Sears Russell
54edde96c2
Possible fix for older 2.4 kernels. (Also should improve performance...)
2005-01-20 00:26:09 +00:00
Sears Russell
23539f446a
More-or-less working version of CHT. Needs a lot of performance/stability/code cleanup work.
2005-01-19 00:51:54 +00:00
Sears Russell
d7b846d370
CHT is starting to work.
2005-01-19 00:47:55 +00:00
Sears Russell
7dacf21069
Rearranged cht, moving some functionality into the 2pc library. Still
...
need some test cases.
2005-01-16 02:30:32 +00:00
Sears Russell
894e30085c
libdfa ported to new hash table implementation. (Uses nested top actions.)
2005-01-15 23:55:49 +00:00
Sears Russell
ac0d413e58
- linkedListNTA is now re-entrant.
...
- linearHashNTA now uses nested top actions, is re-entrant, and supports a
non-re-entrant iterator
- 'recursive' nested top actions allow nested top actions to be nested within each
other.
2005-01-15 01:45:27 +00:00
Sears Russell
7a990886d2
The linked list implementation now uses nested top actions. (Also, many bugfixes regarding nested top actions were introduced.)
2005-01-14 10:08:10 +00:00