Sears Russell
b3152261b4
Xid -1 leads to illegal memory accesses. Added checks for it; fixed
...
problematic unit test.
2007-03-03 01:48:58 +00:00
Sears Russell
61c6c6ec2c
Fixed compile warning.
2006-10-04 04:43:17 +00:00
Sears Russell
9169bfc075
Cleaned up comments and output.
2006-10-04 04:27:24 +00:00
Sears Russell
36157b5a51
Fixes for inMemoryLog
2006-09-27 20:37:56 +00:00
Sears Russell
b615f0bc3e
Towards 64-bit pageids. bufferManager can handle 64-bit offsets, but recordid.page is still 32 bit...
2006-08-11 19:31:42 +00:00
Sears Russell
dc8a3e5d60
Eliminated slottedPreRalloc
2006-06-16 00:05:44 +00:00
Sears Russell
50515ffd23
More steps toward factoring page allocation out of record allocation.
2006-06-15 05:31:20 +00:00
Sears Russell
fda416090b
Fixed a bunch of 'easy' warnings
2006-05-25 00:02:46 +00:00
Sears Russell
ef43d5e4ce
Implemented log truncation.
2006-04-14 03:45:26 +00:00
Sears Russell
d3d7f2c788
Implemented "LOG_TO_MEMORY", which mostly works (linear hash NTA goes into an infinite loop....)
2006-04-07 03:40:40 +00:00
Sears Russell
34bfccb439
Portability fixes for FreeBSD and Mac OS. Check broke compatibility w/
...
old versions; added #ifdef so that both versions of check will work.
2005-03-13 02:24:01 +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
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
Sears Russell
6198522971
Starting to rip the old jbhash implementation out, and replace it with a
...
linear hash implementation. In particular, I've implemented (sort of) an
iterator for linear hash, and (sort of) ported libdfa to linearhash.c
I say 'sort of' since this functionality is broken with this commit. On the other hand, CVS should build now, and the tests under lladd will pass. libdfa's new tests don't pass at the moment.
2005-01-10 03:02:02 +00:00
Sears Russell
55b0ddf1b6
Fixed nasty bug that was causing the LLADD header to be lost (!!)
2004-12-06 01:20:48 +00:00
Sears Russell
72070acb67
Implemented TsetRange, fixed bug in linear hash.
2004-12-03 00:27:47 +00:00
Sears Russell
ded5c92c9d
Support for nested top actions, with simple unit test. (Haven't tested for thread safety yet.)
2004-11-29 21:28:13 +00:00
Sears Russell
5064e3fac2
Implemented pages that store fixed sized records efficiently, and a java-style ArrayList data structure that efficiently supports (relatively) clustered, O(1) access time expandable arrays. (This will be used for the hash implementation...)
2004-10-06 06:08:09 +00:00
Sears Russell
96e7af92a4
Added test cases for Tprepare(), implemented some redo-only operations, and started to clean up record allocation/deallocation.
...
Also, numerous bugfixes.
2004-10-02 07:29:34 +00:00
Sears Russell
b4d7883f66
Fixed regressions, major update of page / slotted interfaces in anticipation of moving LLADD towards a generic transactional page system.
2004-08-17 01:46:17 +00:00
Sears Russell
a74c499dd7
Fixed data corruption bug in the freelist implementation, and corrected lsn updates.
2004-07-30 02:07:41 +00:00
Sears Russell
422198418a
bufferMananger is (really!) re-entrant now, performed big refactoring to prevent deadlocks, check_transactional2 ran overnight without coring, w/ 25 threads, and 10000 allocate/write/reads per thread. (The whole test suite was run in a loop...)
2004-07-23 20:21:44 +00:00
Sears Russell
126ae31392
bufferMananger is *really* reentrant now! (I think) However, the same thread may not load a page more than once. So, LLADD has to be altered so that it never calls loadPage() more than once per operation (more efficient), and/or pin/unpin need to be implemented. An easy way to do pin/unpin is to have them pull things out of the cache replacement list, and then re-insert them.
2004-07-21 02:13:28 +00:00
Sears Russell
2b42451280
Cleaning up bufferManager / page for locking. Want to limit access to the Page struct.
2004-07-14 20:49:18 +00:00
Sears Russell
f8015a5687
Documentation update, added latch profiling tools.
2004-07-04 00:46:49 +00:00
Sears Russell
fab0e6cbbd
Bugfixes ; blobs pass regression. Next stop: Delete old cruft.
2004-06-28 21:10:10 +00:00
Sears Russell
d1f76f0b4a
Initial revision
2004-06-24 21:10:31 +00:00