Sears Russell
470c52c9cc
add compile time PACK_STATS option that displays statistics about the number of bytes used per column
2008-10-27 23:27:48 +00:00
Sears Russell
a2a8c73cb5
prevent rose from initiating lots of small merges when the writer process is slow
2008-10-27 23:26:16 +00:00
Sears Russell
15e0391187
initial checkin of perl bindings
2008-10-27 23:25:03 +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
108d40ec16
fix warnings on 32-bit platforms
2008-10-09 19:00:17 +00:00
Sears Russell
97dfdb8f95
Fix conditional compilation for libcheck and libconfuse
2008-10-09 18:59:45 +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
42d779838e
Check TarrayListLength()
2008-10-04 07:01:38 +00:00
Sears Russell
35216c4ee4
check ring buffer error handling, deallocation
2008-10-04 01:39:23 +00:00
Sears Russell
c8d368f4b1
Don't include btree header...
2008-10-04 01:37:31 +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
aee7e00c99
Fixed doxygen warning
2008-10-03 17:10:54 +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
c0f7336772
fixed broken test cases
2008-10-03 02:41:14 +00:00
Sears Russell
18fd6009fe
cosmetic change
2008-10-02 20:40:43 +00:00
Sears Russell
5195eca7f9
fix pobj warning; add pobj tests to cmake
2008-10-02 07:15:35 +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
cf8eb2ca15
fix doxygen warnings
2008-10-01 20:32:02 +00:00
Sears Russell
7341668b81
Fix CMake version compatibility warnings
2008-10-01 20:03:57 +00:00
Sears Russell
65a3c94421
Fix libdfa warnings, add libdfa to CMake.
2008-10-01 20:03:15 +00:00
Sears Russell
348783398a
port pobj to c99, add to build system
2008-10-01 20:02:09 +00:00
Sears Russell
545fe27019
increased test timeout
2008-10-01 17:59:16 +00:00
Sears Russell
4afe95cda7
unit test was setting page lsns to invalid values, breaking truncation
2008-10-01 15:57:29 +00:00
Sears Russell
ff5ef752f3
fix compiler warning
2008-10-01 15:50:24 +00:00
Sears Russell
defbcbfde1
Fixed bug in check_bufferManager.c. It wasn't marking pages dirty or setting LSN's.
2008-09-30 17:49:39 +00:00
Sears Russell
db1d79efcd
Removed Tinstant* and broken logical hash stuff
2008-09-30 15:34:42 +00:00
Sears Russell
313a55f401
- Added CREATE_EXECUTABLE macro
...
- Build the benchmarks in CMake
2008-09-30 15:28:32 +00:00
Sears Russell
b91050755a
Shortened tests again (hitting timeouts...)
2008-09-29 14:38:19 +00:00
Sears Russell
466c58a141
Shortened test so that it can terminate in a reasonable amount of time.
2008-09-29 14:20:43 +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
0ec7af69a2
fixed locking bugs, cleanup, added diagnostic messages
2008-09-29 04:30:21 +00:00
Sears Russell
a7e8751f2f
Remove hardcoded path from parser; tell automake not to bother with swig or parser
2008-09-28 07:35:20 +00:00
Sears Russell
f19dd1d2b4
cmake files for lex and yacc
2008-09-28 06:42:53 +00:00
Sears Russell
e96b4d1c05
check in lex/yacc based relational algebra primitives
2008-09-28 06:39:45 +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