Commit graph

1117 commits

Author SHA1 Message Date
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
Sears Russell
14fc96e068 add C utilities to CMake build system 2008-09-28 02:39:14 +00:00
Sears Russell
3da2d2b71c fix compile warnings 2008-09-28 01:45:18 +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
7e54d72f18 fixed compilation warning 2008-09-28 01:01:38 +00:00
Sears Russell
41cd975e91 fixed new const warnings from gcc 2008-09-24 06:40:34 +00:00
Sears Russell
021f28b8fd Add handling for PREPARE entries. 2008-09-24 03:10:49 +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
a07852007e Improved graph printability, fixed remaining todo's in rose.tex. 2008-06-17 04:09:14 +00:00
Sears Russell
d9b2ee7c32 Fixed some typos. 2008-06-17 02:26:15 +00:00
Sears Russell
2aa191c755 Very nearly the camera ready. 2008-06-17 01:13:25 +00:00
Sears Russell
6f49d9cabd More fixes; graphs print in black and white, cleaned up text. 2008-06-13 11:43:31 +00:00
Sears Russell
0dee9a1af6 Nearly final graphs; rewrote section 4. 2008-06-13 00:57:56 +00:00
Sears Russell
56fa9378d5 More fixes; reviewer comments largely addressed; incorporates Mark's
suggestions.
2008-06-11 19:56:28 +00:00
Sears Russell
6d108dfa73 Added line to compile sequential throughput test. 2008-06-11 00:52:22 +00:00
Sears Russell
71be29c843 New version of paper. Still needs new graphs, editing, etc. 2008-06-10 17:36:41 +00:00
Sears Russell
2dc3d666e3 Modified output of synthetic runs for benchmarking 2008-06-09 17:26:52 +00:00