Sears Russell
|
2903e48e71
|
Added INTERNALLOG
|
2006-10-04 04:39:30 +00:00 |
|
Sears Russell
|
4bd93ee66a
|
Added support for computing size of internal log entries.
|
2006-10-04 04:38:21 +00:00 |
|
Sears Russell
|
23dd227654
|
Cleaned up API.
|
2006-09-27 20:32:27 +00:00 |
|
Sears Russell
|
c11e1167b2
|
Commented-out #defines for finding leaked pages in multithreaded apps.
|
2006-09-27 20:31:29 +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
|
1a60582a0c
|
Added function to handle code that allocates data without first consulting the allocationPolicy
|
2006-08-11 03:01:16 +00:00 |
|
Sears Russell
|
7847331771
|
Minor cleanup, added ability to calculate the global average number of
buckets traversed per find(). Added a warning for code that actually
relies upon PBL's way of interpreting insert.
|
2006-08-10 23:43:53 +00:00 |
|
Sears Russell
|
d3f87b5af4
|
Added support for locking on deallocation.
|
2006-08-10 23:39:36 +00:00 |
|
Sears Russell
|
8a390c40d2
|
Improved latch profiling, especially for loadPage.
|
2006-08-04 23:45:27 +00:00 |
|
Sears Russell
|
c413203ec8
|
Talloc() now reuses space when possible. It still needs to call slottedCompact() intelligentally. Also, allocationPolicy should support an extra tier
of pages, so it doesn't suggest ones that aren't already in the buffer pool unless it has to.
|
2006-07-29 00:56:54 +00:00 |
|
Sears Russell
|
cdd44a2f2d
|
Initial import of redblack implementation.
|
2006-07-28 00:01:57 +00:00 |
|
Sears Russell
|
3725cc9b8e
|
Added a function that returns the number of allocated entries in the list
|
2006-07-28 00:00:32 +00:00 |
|
Sears Russell
|
e9880654e4
|
Added the INVALID_XID constant.
|
2006-07-27 00:03:36 +00:00 |
|
Sears Russell
|
7888d647ed
|
Removed unused abort/commit callbacks.
|
2006-07-26 17:48:36 +00:00 |
|
Sears Russell
|
62abe94bf5
|
added fsckRegions(), and call it from the unit tests.
|
2006-07-25 22:23:15 +00:00 |
|
Sears Russell
|
aec9148b83
|
added call to get the page type.
|
2006-07-25 22:22:49 +00:00 |
|
Sears Russell
|
6501e7a24d
|
MAX_BUFFER_SIZE can now be specified in CFLAGS.
|
2006-07-25 17:43:39 +00:00 |
|
Sears Russell
|
0f45b97eda
|
regions now make use of nested top actions, so they're almost correct. (Still need to lock freed regions until end of transaction.)
|
2006-07-25 00:56:50 +00:00 |
|
Sears Russell
|
0725af91be
|
Fixed page leak in Talloc().
|
2006-07-21 01:07:09 +00:00 |
|
Sears Russell
|
ffd3bd960b
|
switched to region allocator, but TpageAlloc currently grabs its own region...
|
2006-07-20 01:29:39 +00:00 |
|
Sears Russell
|
3bd79f4e24
|
perf tuning to reproduce numbers for OSDI.
|
2006-07-20 00:49:49 +00:00 |
|
Sears Russell
|
8ed909e79d
|
Fixed the fixedPageAlloc hack.
|
2006-07-20 00:48:42 +00:00 |
|
Sears Russell
|
1ac3dc6779
|
More progress on boundary tags. (Still not tested/working yet...)
|
2006-07-18 23:59:00 +00:00 |
|
Sears Russell
|
93e7e96ea3
|
Started implementing the region allocator
|
2006-06-22 19:10:02 +00:00 |
|
Sears Russell
|
d26263262b
|
Completely new blob implementation. Slower than the old one was supposed to be, but is correct, and extremeley
simple. It simply writes the pre-image and post-image of each blob to the log using TpageSet.
|
2006-06-21 00:45:18 +00:00 |
|
Sears Russell
|
3e4cac0fe3
|
Continued cleaning up allocation code. It seems really slow all of a sudden, so this commit probably introduced a performance bug.
|
2006-06-17 00:25:09 +00:00 |
|
Sears Russell
|
209a6916e5
|
Updated some comments.
|
2006-06-16 00:27:02 +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
|
59bd80a2a8
|
half-hearted attempt to fix -Wextra warnings...
|
2006-06-13 23:58:04 +00:00 |
|
Sears Russell
|
0d09e9fb93
|
removed assert() heisenbug.
|
2006-06-13 22:38:50 +00:00 |
|
Sears Russell
|
e56c46b95c
|
Moved blob_record_t into transactional.h (part of transition to using
slot type lookup tables.)
|
2006-06-13 22:37:29 +00:00 |
|
Sears Russell
|
8bec3d6175
|
Changed to use uint_64 for lsn_t
|
2006-06-13 22:36:03 +00:00 |
|
Sears Russell
|
a11fbdd9e6
|
Did away with slottedPreRallocFromPage.
|
2006-06-13 20:00:46 +00:00 |
|
Sears Russell
|
cef9e2c4ce
|
Added settings for longer-running tests
|
2006-06-12 22:45:41 +00:00 |
|
Sears Russell
|
e0b34633ec
|
Fixed broken min_rec_lsn() semantics; before, if there were not outstanding transactions / writes,
then these calls would return flushedLSN(). The problem was that flushedLSN wasn't guaranteed to
return a pointed to the beginning of a log entry.
|
2006-06-12 21:50:21 +00:00 |
|
Sears Russell
|
27f7df6f09
|
Fixed races on flushedLSN and page->dirty.
|
2006-06-12 20:05:28 +00:00 |
|
Sears Russell
|
29662b7e06
|
removed dead field from TransactionLog
|
2006-05-25 22:24:13 +00:00 |
|
Sears Russell
|
b5d578f4e0
|
Fixed remaining warnings, got rid of alTupdate
|
2006-05-25 20:08:12 +00:00 |
|
Sears Russell
|
fda416090b
|
Fixed a bunch of 'easy' warnings
|
2006-05-25 00:02:46 +00:00 |
|
Sears Russell
|
827e0d891a
|
The linear hashtable implementation (to replace pbl's)
|
2006-05-24 02:23:58 +00:00 |
|
Sears Russell
|
2e06cafaa8
|
|
2006-05-24 02:19:04 +00:00 |
|
Sears Russell
|
f06159b3cd
|
forgot to add these...
|
2006-05-19 20:17:44 +00:00 |
|
Sears Russell
|
ef43d5e4ce
|
Implemented log truncation.
|
2006-04-14 03:45:26 +00:00 |
|
Sears Russell
|
11c311bc91
|
Added support for raw pages, implemented posix_memalign workaround, and re-enabled O_DIRECT by default
|
2006-04-12 01:41:35 +00:00 |
|
Sears Russell
|
c29b16a6ed
|
Created new module, bufferPool, and moved memory management for page structs to it.
|
2006-04-11 20:34:52 +00:00 |
|
Sears Russell
|
c1d8906d28
|
removed memcpy() calls from inMemoryLog; added "const" qualifier to many LogEntry pointers.
|
2006-04-11 02:20:21 +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
|
1c979f3052
|
Factored logWriter.h out of the rest of the system. The only file that directly depends on it is logger2.c, which can
now dispatch requests to different (hardcoded) log implementations.
|
2006-04-06 03:22:57 +00:00 |
|
Sears Russell
|
6898b2a2a6
|
recordid.size is now a signed 64-bit int
|
2006-04-04 22:31:59 +00:00 |
|
Sears Russell
|
ced022d0fe
|
partial fixes
|
2006-03-28 20:15:31 +00:00 |
|