Bradley C. Kuszmaul
764ebe504c
Stop valgrind for some more bdb tests. Addresses #328 .
...
git-svn-id: file:///svn/tokudb@2004 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-31 22:19:39 +00:00
Bradley C. Kuszmaul
59c1eafaa1
Stop valgrind for some more bdb tests. Addresses #328 .
...
git-svn-id: file:///svn/tokudb@2003 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-31 22:16:24 +00:00
Bradley C. Kuszmaul
885e0bbb2e
Put all the child info into one struct. Addresses #126 .
...
git-svn-id: file:///svn/tokudb@2002 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-31 22:05:43 +00:00
Bradley C. Kuszmaul
809fcd793e
Stop valgrind for some more bdb tests. Fixes #328 .
...
git-svn-id: file:///svn/tokudb@2001 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-31 22:04:56 +00:00
Vincenzo Liberatore
1e3b4ae2cc
Addresses #293
...
Checkpoint and write lock implementation.
git-svn-id: file:///svn/tokudb@2000 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-31 21:23:00 +00:00
Vincenzo Liberatore
50a9057eec
#Addresses #311
...
Clean up the doxy comments.
git-svn-id: file:///svn/tokudb@1999 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-31 17:01:41 +00:00
Vincenzo Liberatore
9d2d9c77a1
#Addresses 311.
...
git-svn-id: file:///svn/tokudb@1997 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-31 16:47:56 +00:00
Vincenzo Liberatore
853085519c
#Addresses 293
...
Write lock implementation.
git-svn-id: file:///svn/tokudb@1996 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-31 16:41:39 +00:00
Vincenzo Liberatore
2be274e3e7
Addresses #307
...
Tests consolidation of various intervals, some overlapping at one point,
other ones dominated by the new interval, and combinations of these cases.
git-svn-id: file:///svn/tokudb@1995 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-31 16:24:16 +00:00
Yoni Fogel
27e80df5f8
Addresses #288
...
Adds include directories for Range tree test makefile
git-svn-id: file:///svn/tokudb@1993 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-31 15:40:58 +00:00
Vincenzo Liberatore
ec547b3513
Address #307
...
Adds appropriate include directory to the tests Makefile
git-svn-id: file:///svn/tokudb@1992 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-31 15:36:18 +00:00
Yoni Fogel
66c905c9af
Addresses #288
...
Assumption of commutativity of cmp function is implicit.
No testing is done.
git-svn-id: file:///svn/tokudb@1990 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-31 15:23:44 +00:00
Rich Prohaska
9ab36d5f25
get brt-test working or fix the nonleaf_split fifo_init bug
...
git-svn-id: file:///svn/tokudb@1989 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-31 14:58:14 +00:00
Bradley C. Kuszmaul
3266e6d20c
db-benchmark-test now recovers OK. Addresses #27 .
...
git-svn-id: file:///svn/tokudb@1988 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-31 14:52:52 +00:00
Rich Prohaska
40bf7ef8b2
assert test for brt-test crash
...
git-svn-id: file:///svn/tokudb@1985 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-31 13:40:47 +00:00
Bradley C. Kuszmaul
dfa900f962
Get rid of broken printfs. Addresses #27 .
...
git-svn-id: file:///svn/tokudb@1984 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-31 13:31:45 +00:00
Bradley C. Kuszmaul
a615e968d0
A tool for only printing the first few columns
...
git-svn-id: file:///svn/tokudb@1983 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-31 13:03:35 +00:00
Yoni Fogel
0577b98ac7
Addresses #307
...
Additional tests.
Code coverage of non-write stuff is complete except for asserts and error cases.
We have not yet checked branch coverage.
git-svn-id: file:///svn/tokudb@1973 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-30 21:35:31 +00:00
Yoni Fogel
4bdbce1c79
Makefile updates
...
git-svn-id: file:///svn/tokudb@1972 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-30 21:34:49 +00:00
Yoni Fogel
c7ef6951ca
Addresses #293
...
- Lock tree takes parameter of a db panic function, defers to it in panic
situations.
- Code reorganization due to code reviews
- DBT consistency is assumed (should be EINVAL at higher level)
git-svn-id: file:///svn/tokudb@1971 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-30 21:34:22 +00:00
Bradley C. Kuszmaul
1dc9085fab
Improve logging on node splits. Addresses #27 .
...
git-svn-id: file:///svn/tokudb@1970 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-30 21:23:01 +00:00
Bradley C. Kuszmaul
5ee687abc8
Improve an error message. Addresses #168 .
...
git-svn-id: file:///svn/tokudb@1969 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-30 21:15:11 +00:00
Bradley C. Kuszmaul
25c9d850cb
BDB can run db_donotindex without trouble now. Addresses #322/
...
git-svn-id: file:///svn/tokudb@1965 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-30 14:09:14 +00:00
Bradley C. Kuszmaul
82e195e64d
Don't double free. Addresses #322 .
...
git-svn-id: file:///svn/tokudb@1964 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-30 14:06:46 +00:00
Yoni Fogel
28ce4a3b4e
Addresses #293
...
Addresses #307
Locktree now accepts max memory parameter.
This counts only 'toku_points' and payloads.
Whenever it goes over the allowed memory, it will return ENOMEM as
BDB does.
Tests were only updated to compile correctly (and return EINVAL
if max size is 0).
Tests do not yet test whether the max memory system works.
git-svn-id: file:///svn/tokudb@1954 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-30 03:09:50 +00:00
Yoni Fogel
12732e6bd5
Makefile mods
...
git-svn-id: file:///svn/tokudb@1953 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-30 03:02:01 +00:00
Yoni Fogel
bd6fdd9c74
Modified %ld to %"PRIu64" as necessary to keep output
...
portable.
git-svn-id: file:///svn/tokudb@1952 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-30 02:59:32 +00:00
Bradley C. Kuszmaul
fa5638a0f8
Improving logging for db-benchmark-test. Addresses #27 .
...
git-svn-id: file:///svn/tokudb@1951 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-29 21:43:08 +00:00
Bradley C. Kuszmaul
d087e7557a
Berkeley DB on Fedora 8 has lots more complaints. Found while working on Addresses #27 .
...
git-svn-id: file:///svn/tokudb@1950 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-29 21:40:01 +00:00
Rich Prohaska
a5a62d6696
txn parameter added to some brt functions. closes #316
...
git-svn-id: file:///svn/tokudb@1941 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-28 20:49:10 +00:00
Rich Prohaska
cbc159bf72
add the txn parameter to the brt_search function. addresses #316
...
git-svn-id: file:///svn/tokudb@1940 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-28 18:39:57 +00:00
Rich Prohaska
dd061396ed
added -DS flags to tokudb_gen to generate duplicates and dupsort header fields. closes #315
...
git-svn-id: file:///svn/tokudb@1939 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-28 16:35:02 +00:00
Rich Prohaska
162dcc529e
tokudb_load now supports dupsort databases. we defer judgement on db flags until the db->open method is called. this allows incremental update of the flags.
...
closes #314
git-svn-id: file:///svn/tokudb@1938 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-28 14:27:28 +00:00
Rich Prohaska
afe29aba89
get tokudb_dump -s working
...
get tokudb_dump working with dupsort databases
git-svn-id: file:///svn/tokudb@1928 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-27 19:36:15 +00:00
Rich Prohaska
383ea0be18
update documentation. addresses #202
...
git-svn-id: file:///svn/tokudb@1926 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-27 13:45:27 +00:00
Rich Prohaska
a7f529c996
enable dump of db with unknown parameters
...
git-svn-id: file:///svn/tokudb@1916 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-27 03:17:37 +00:00
Rich Prohaska
0e803cdd71
add a test for zero length keys or values
...
git-svn-id: file:///svn/tokudb@1915 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-27 01:44:01 +00:00
Rich Prohaska
f1f9661f2a
remove cursor count from the brt node. closes #310
...
git-svn-id: file:///svn/tokudb@1914 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-26 23:11:38 +00:00
Rich Prohaska
9cb1ee5864
verify the pma split key. addresses #277
...
git-svn-id: file:///svn/tokudb@1913 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-26 22:59:08 +00:00
Vincenzo Liberatore
0219c8a6f2
Addresses #311
...
Start the documentation of lock trees, at this point, mostly for
our own education and understanding
git-svn-id: file:///svn/tokudb@1912 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-26 20:52:10 +00:00
Vincenzo Liberatore
714bdcff42
Addresses #288
...
Verifies end_cmp commutativity via overlap, and adds test cases to
stress exact comparison
git-svn-id: file:///svn/tokudb@1911 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-26 20:27:42 +00:00
Vincenzo Liberatore
136b3161bb
Addresses #288
...
Exercise buffer increase and decrease.
git-svn-id: file:///svn/tokudb@1910 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-26 19:24:12 +00:00
Vincenzo Liberatore
460b31fd67
Addresses #288
...
Code coverage: 100%, exercise all branches except for asserts and similar.
Now requires end_cmp to be commutative.
git-svn-id: file:///svn/tokudb@1909 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-26 19:20:57 +00:00
Rich Prohaska
c4b38c11d0
add pma set_position_prev tests. addresses #250
...
git-svn-id: file:///svn/tokudb@1908 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-26 19:20:47 +00:00
Rich Prohaska
748e22bb29
add range/lock tree to coverage. addresses #277
...
git-svn-id: file:///svn/tokudb@1907 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-26 18:54:22 +00:00
Yoni Fogel
1a8d8f44ef
Addresses #288
...
Modified test cases to finish 100% gcov of linear.c
git-svn-id: file:///svn/tokudb@1906 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-26 17:34:05 +00:00
Rich Prohaska
27ed10b68e
turn the O2 flag back on
...
git-svn-id: file:///svn/tokudb@1902 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-26 12:52:56 +00:00
Yoni Fogel
84d455e0c9
Addresses #307
...
Added more tests of read locks.
git-svn-id: file:///svn/tokudb@1896 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 22:42:51 +00:00
Yoni Fogel
d652150451
Addresses #293
...
Renamed some accessor functions and made them nonstatic
so that the test programs can access them.
Allocated the fake selfread/selfwrite trees in the
function that requests them (and creates if necessary) instead of
toku_lt_create
git-svn-id: file:///svn/tokudb@1895 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 22:42:17 +00:00
Rich Prohaska
9b89cd9c63
more testing of the pma search function. addresses #250
...
git-svn-id: file:///svn/tokudb@1894 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 22:12:02 +00:00