Sears Russell
77b24a991d
- Arrange for buffer manager writback to use group commit
...
- Only call correct log force when log_to_mem is enabled.
2008-12-01 04:28:46 +00:00
Sears Russell
1cddd8ab8c
remove ancient obsolete file
2008-12-01 04:24:24 +00:00
Sears Russell
e22c35a1b5
fix lsm iterator data corruption bug
2008-11-26 22:39:48 +00:00
Sears Russell
6a5e7f5589
Fix two problems in lsmTree:
...
- rewrite lookup() to be simpler, and fixed a few bugs
- was keeping node records around after pages were released
2008-11-26 07:01:43 +00:00
Sears Russell
15a097a100
sort of compiles under macos now
2008-11-25 01:19:36 +00:00
Sears Russell
11082997d8
revert accidentally committed files
2008-11-24 23:43:26 +00:00
Sears Russell
a321ba6e4e
handle null lsmIiterator_ gracefully
2008-11-24 23:41:11 +00:00
Sears Russell
09641257ad
fixed memory leak
2008-11-24 07:35:59 +00:00
Sears Russell
2b63991014
preliminary (and largely untested) support for opening LSM-tree iterators starting at a given tuple
2008-11-24 01:32:35 +00:00
Sears Russell
cafd05f9bd
moved legacy buffer manager into its own directory
2008-11-13 20:08:37 +00:00
Sears Russell
53a7982f47
fixes numerous blob bugs, allowing linearHashNTA to store arbitrary length key,value pairs.
2008-11-13 04:18:50 +00:00
Sears Russell
46fbfa3c35
Implement blob deallocation; add test case
2008-11-13 00:13:11 +00:00
Sears Russell
e2f604175b
move hash iterator code around, update documentation
2008-11-13 00:12:19 +00:00
Sears Russell
f5d1229941
Recovery now maintains XactionTable's state in the same way as forward operation.
...
Internal transactional2.c state is now declared static.
2008-11-13 00:06:35 +00:00
Sears Russell
9bf242f1a5
Add check for invalid transaction xids to Tupdate().
2008-11-12 19:00:09 +00:00
Sears Russell
fc5b5a2b29
do away with librw
2008-11-07 03:44:41 +00:00
Sears Russell
2c2c603dd2
all naive linear hash methods now start with TnaiveHash; removed references to ThashAlloc from documentation
2008-11-03 21:42:42 +00:00
Sears Russell
5c5b6d0c67
allow callers to truncateNow() to (safely) override normal truncation policy
2008-10-27 23:24:21 +00:00
Sears Russell
23548354a4
fixes over-zealous assert due to partial log read
2008-10-27 23:22:38 +00:00
Sears Russell
71cc9d6df7
transactions now can check with allocation policy before allocating to pages of their own choosing
2008-10-27 23:20:31 +00:00
Sears Russell
fa18df2424
ignore size field of hashHeader argument
2008-10-23 20:27:55 +00:00
Sears Russell
c76f22fd4f
reduce the risk that broken calls to Tset() will create unrecoverable logs
2008-10-23 20:27:08 +00:00
Sears Russell
db4f26b48c
Fix crash in recovery; 'initted' was false during undo. undo calls Tupdate(), which checks the status of 'initted'
2008-10-23 19:56:21 +00:00
Sears Russell
0940c59d96
fail fast if Tbegin() called before Tinit()
2008-10-22 21:05:49 +00:00
Sears Russell
6f717c351a
update comment
2008-10-22 21:05:12 +00:00
Sears Russell
edb51e5789
Fix buffer manager page leak.
2008-10-09 20:14:55 +00:00
Sears Russell
ad65a806a5
removed old #include
2008-10-07 19:19:58 +00:00
Sears Russell
474cabdb99
removed workaround code for old arraylist bug
2008-10-04 16:09:34 +00:00
Sears Russell
82ec112788
Fixed overly specific assertion.
2008-10-04 15:53:19 +00:00
Sears Russell
a6a83b98a1
Removed handling/warning related to old kludge.
2008-10-04 07:27:53 +00:00
Sears Russell
a20d28d369
removed dead code; added additional check for TpagedListInsert()
2008-10-04 07:18:25 +00:00
Sears Russell
132a567533
removed dead/unnecessary code; private methods are now static
2008-10-04 07:08:35 +00:00
Sears Russell
d43e64a41f
remove bTree stuff from build systems
2008-10-04 01:35:56 +00:00
Sears Russell
ef487c4dc8
remove btree stub files
2008-10-04 00:53:11 +00:00
Sears Russell
6354fe8a2f
use pageid instead of int; Tupdate now takes a pageid instead of a recordid
2008-10-03 02:42:25 +00:00
Sears Russell
220c33cc31
Fixed two buffer manager performance problems (Markos, Vinayak, thanks for pointing these out!):
...
- No longer hold global mutex during page writeback
- Don't reserve 90% of the buffer pool for the free list. Now the freelist reserves 1% of the buffer pool + 6 pages, and expands if it runs out of space.
2008-10-01 20:43:58 +00:00
Sears Russell
ff5ef752f3
fix compiler warning
2008-10-01 15:50:24 +00:00
Sears Russell
db1d79efcd
Removed Tinstant* and broken logical hash stuff
2008-09-30 15:34:42 +00:00
Sears Russell
5dcf3bd1a4
check_bufferManager should pass now(!!!) bufferManager was crashing with "assert(victim)
...
failed" if the application pinned so many pages that the writeback tasks could not write back
pages in order to maintain the free page list.
- Instead of crashing, issue warning the first time this happens.
- Add diagnostic message explaining that all pages have been pinned before crashing
due to a failed loadPage() request.
2008-09-29 04:35:08 +00:00
Sears Russell
ff0887624c
Simplified the page locking conventions.
...
Added paranoid calls to assertlock() to page.c
Fixed race in abort():
- pick CLR LSN
- release page lock
- someone else updates page
- lock page
- apply undo
2008-09-28 05:50:59 +00:00
Sears Russell
6d17442380
Major refactoring:
...
- Changed operations to take only two arguments
- No more hacks regarding log argument sizes
- Set pageid = INVALID_PAGE if you want a logical operation
- Ported operation implementations to new api; exposed + fixed a number of concurrency bugs
- More fixes to prepare
- Fixed to nested top actions
- More coherent operations api / recovery implmentation
- TnaiveHash* and Tinstant* are (and were already) broken, and are set for removal
- Removed some instances of fail_unless
- Fixed design flaws in blob implementation.
- New naming convention for operation callback functions.
2008-09-28 03:11:24 +00:00
Sears Russell
7867100b8b
change default io handle to pfile (was non_blocking)
2008-09-28 01:44:18 +00:00
Sears Russell
b6c3f60126
removed unneccessary local variable
2008-09-28 01:02:36 +00:00
Sears Russell
41cd975e91
fixed new const warnings from gcc
2008-09-24 06:40:34 +00:00
Sears Russell
944c7e984f
fixes / cleanups of Tprepare()
2008-09-24 03:08:32 +00:00
Sears Russell
fb4e91debe
removed deferred operation stubs
2008-09-12 23:08:41 +00:00
Sears Russell
75419290c4
Added asserts to help narrow down unit test failures
2008-09-12 22:55:23 +00:00
Sears Russell
e6ec2cb9fc
Added "loadUninitializedPage()", which returns an uninitialized page instead of reading preimages from disk.
2008-06-09 01:13:02 +00:00
Sears Russell
2863487991
Documentation update; added more sections under modules, reduced amount of cruft generated by doxygen.
2008-04-23 01:41:57 +00:00
Sears Russell
2929394b31
Fixed some documentation warnings, and clarified a few points.
2008-04-17 06:29:34 +00:00