Commit graph

103 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
944c7e984f fixes / cleanups of Tprepare() 2008-09-24 03:08:32 +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
afbd89e3ff All headers now live in the header directory. (stasis/, not src/stasis) 2008-04-13 04:02:57 +00:00
Sears Russell
3b70dfaab7 nearly ready to run experiments... 2008-03-14 03:06:52 +00:00
Sears Russell
0c7d45f788 Added support for tombstones and rudimentary versioning.
workload 2 is broken at the moment.
2008-03-13 01:16:37 +00:00
Sears Russell
e8490c8b8a Fixed compiler warnings 2008-03-08 07:36:47 +00:00
Sears Russell
922669bde4 fix compiler warning 2008-03-08 03:04:16 +00:00
Sears Russell
3b74523a53 Fix memory leak. 2008-03-01 20:40:31 +00:00
Sears Russell
4104de06ff fixed double free (was freeing iterator in next() and close()...) 2008-03-01 20:30:48 +00:00
Sears Russell
f05b0233a3 Fixed memory leaks on iterator open/close Also zero out some memory defensively. 2008-03-01 19:32:34 +00:00
Sears Russell
673f6b55d3 Allocation bugfixes 2008-02-29 18:03:32 +00:00
Sears Russell
043b9a7a01 Regions are 1 offset;iterator was totally broken. 2008-02-20 22:56:52 +00:00
Sears Russell
a823255227 Added interface to let other stasis modules find regions' boundary tags 2008-02-19 22:07:13 +00:00
Sears Russell
71451f0c93 Bugfixes for experimental repeatability 2007-12-14 19:08:09 +00:00
Sears Russell
5d62e0c0df Filled in paper info about the data set; minor tweaks to R setting code. 2007-11-15 16:57:25 +00:00
Sears Russell
2bb6fce574 Code is ready(?) for experiments (version before this was solid despite (now) known bugs; I saw some crashes with these diffs, but think they've all been
addressed.)
2007-11-15 01:33:39 +00:00
Sears Russell
5ad137164f Fixed compiler warnings. 2007-11-12 16:40:50 +00:00
Sears Russell
799c7498cd Essentially leak free (mem and disk) after a few hours of roseTable 2007-11-12 07:27:49 +00:00
Sears Russell
ecc2392066 No (?) significant disk space leaks. 2007-11-12 01:40:12 +00:00
Sears Russell
9bb6984c23 force_range is now being called after compressData() 2007-11-12 00:49:00 +00:00
Sears Russell
87a70f29bc Preliminary force_range implementation; lsmTable leaks significantly less space now. 2007-11-11 23:22:21 +00:00
Sears Russell
48cdffe4d4 Stopgap (inefficient, but possibly correct) fix for the arraylist kludgieness. 2007-11-11 17:18:57 +00:00
Sears Russell
c34617fa16 Got versioning iterator to work. 2007-11-11 00:46:10 +00:00
Sears Russell
f2df518338 Implemented TlsmTableFind(); fixed quite a few bugs in merge, comparators, etc... 2007-11-06 02:27:04 +00:00
Sears Russell
d03a4e0c1f Static dispatch, multiple column types per page. 2007-11-04 21:25:08 +00:00
Sears Russell
e46dcce461 No more leaks; "fixed" RB tree memory usage estimates. 2007-11-04 01:51:37 +00:00
Sears Russell
3a88e43e9b Fixed statistics reporting. 2007-11-02 21:56:17 +00:00
Sears Russell
75cbb20e6d Tuple insertion now works (modulo storage leakage, hard coded tree sizes (not even ratios), and many other problems...) 2007-11-02 21:20:30 +00:00
Sears Russell
f101919244 LSM table is now able to spawn threads, then exit. 2007-11-02 15:00:47 +00:00
Sears Russell
7e2c37534e Partial implementation of a collection oriented interface for ROSE. (Checking in to create version to diff against.) 2007-11-01 20:09:55 +00:00
Sears Russell
1c408dd2f1 Initial refactoring of rose.cpp into reusable components. (Just shuffles the code around.) 2007-10-18 18:52:12 +00:00
Sears Russell
22c89bb3fe Renamed physical_slot_length 2007-10-03 01:53:51 +00:00
Sears Russell
c9bbf3af94 Converted page.h to follow new naming convention; documented new page api; begun stasis documentation cleanup. 2007-10-02 00:18:33 +00:00
Sears Russell
5f954eb239 Final commit from google. 2007-08-24 23:01:08 +00:00
Sears Russell
5bd2138a8b Fixes a number of memory leaks; adds pageCleanup() callback, and allows callers to use custom allocators with LSM trees 2007-08-20 21:58:20 +00:00
Sears Russell
9c1c284406 Implemented range scans; lsmTree now supports keys that are stored as fixed length byte arrays. 2007-08-20 16:53:16 +00:00
Sears Russell
9745d62887 Preliminary LSM tree implementation (hardcodes keys as ints for now) 2007-08-14 01:17:31 +00:00
no author
d0274c3304 Renamed 'lladd' directories and python module to 'stasis' 2007-06-11 21:36:57 +00:00