Commit graph

1599 commits

Author SHA1 Message Date
Bradley C. Kuszmaul
9c26f7c6f8 The proposed fix for #789. Addresses #789.
git-svn-id: file:///svn/tokudb@3983 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-16 18:48:23 +00:00
Rich Prohaska
42311eef60 test case for ticket 789. addresses #789
git-svn-id: file:///svn/tokudb@3981 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-16 15:22:42 +00:00
Bradley C. Kuszmaul
79df5188a4 memcmp does not accurately determine whether two keys are the same. Take out the overactive assertion. Addresses #788, #789.
git-svn-id: file:///svn/tokudb@3980 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-16 13:47:02 +00:00
Bradley C. Kuszmaul
bdc7ee0c2f Back out. Addresses #788, #789.
git-svn-id: file:///svn/tokudb@3978 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-16 13:16:29 +00:00
Bradley C. Kuszmaul
abe77e8ac2 Zardosht found what looks like the bug. This might fix the two regressions. Addresses #788, #789.
git-svn-id: file:///svn/tokudb@3973 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-15 21:27:35 +00:00
Rich Prohaska
aca90fcd12 add a more interesting benchmark test with transactions. addresses #831
git-svn-id: file:///svn/tokudb@3970 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-15 13:11:55 +00:00
Rich Prohaska
6a7e96461b implement a /dev/null logging directory.
addresses #807


git-svn-id: file:///svn/tokudb@3969 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-15 12:54:37 +00:00
Bradley C. Kuszmaul
c4292e31c7 Implement YDB-layer tests for key_range64. Fixes #826.
git-svn-id: file:///svn/tokudb@3946 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-13 22:00:30 +00:00
Bradley C. Kuszmaul
51d7940fda All 4 test cases work for keyrange. Fixes #764.
git-svn-id: file:///svn/tokudb@3945 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-13 20:29:19 +00:00
Bradley C. Kuszmaul
4aea0d2607 More tests pass for keyrange.
The same 4 cases mentioned in [3932], except now three out of four are tested:
   1. flattened nodup (tested in [3932])
   2. unflattened nodup (tested in this change set)
   3. flattened dupsort (tested in this change set
   4. unflattened dupsort (untested)

Addresses #764.


git-svn-id: file:///svn/tokudb@3944 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-13 20:14:31 +00:00
Yoni Fogel
729c916697 Addresses #825
We rebalance at most one subtree per delete.

Insert and delete modified slightly to use tail recursion when simple.

git-svn-id: file:///svn/tokudb@3943 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-13 19:33:49 +00:00
Yoni Fogel
b2d86c0bde Addresses #825
On inserts, we will rebalance at most 1 subtree.

git-svn-id: file:///svn/tokudb@3942 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-13 19:24:07 +00:00
Yoni Fogel
ae2a2766ff Closes #825
OMT now uses block allocs instead of a single malloc for each node.

git-svn-id: file:///svn/tokudb@3940 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-13 18:50:42 +00:00
Zardosht Kasheff
7436d2544f addresses #821
Implement db->keyrange64
there is no transaction argument at the moment
there is no *is_exact argument

git-svn-id: file:///svn/tokudb@3938 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-13 14:49:33 +00:00
Bradley C. Kuszmaul
502b08ae44 Create the header needed for keyrange64. Addresses #90.
git-svn-id: file:///svn/tokudb@3935 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-13 13:09:22 +00:00
Bradley C. Kuszmaul
363b8d8dba Create the header needed for keyrange64. Addresses #90.
git-svn-id: file:///svn/tokudb@3934 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-13 13:07:25 +00:00
Bradley C. Kuszmaul
d3a9c67c7c Test the case of unflattened nodups.
Addresses #764.


git-svn-id: file:///svn/tokudb@3933 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-13 12:27:07 +00:00
Bradley C. Kuszmaul
7be22f5b33 Start testing {{{toku_brt_keyrange}}}.
There are 4 cases
 1. flattened nodup (tested in this changeset)
 1. unflattened nodup (untested)
 1. flattened dupsort (untested)
 1. unflattened dupsort (untested)

[3931] also addresses #764.

Addresses #764.


git-svn-id: file:///svn/tokudb@3932 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-13 12:17:05 +00:00
Bradley C. Kuszmaul
b07dd27c62 Start testing {{{toku_brt_keyrange}}}.
There are 4 cases
 1. flattened nodup (tested in this changeset)
 1. unflattened nodup (untested)
 1. flattened dupsort (untested)
 1. unflattened dupsort (untested)


git-svn-id: file:///svn/tokudb@3931 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-13 12:14:38 +00:00
Bradley C. Kuszmaul
7828ced3a8 Finish up the pretty output. Fixes #811.
git-svn-id: file:///svn/tokudb@3926 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-13 02:35:50 +00:00
Rich Prohaska
3d0f87f4d8 compile with gcc-4.3 on debian4. addresses #804
git-svn-id: file:///svn/tokudb@3922 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-12 18:39:21 +00:00
Yoni Fogel
70fbc33b2b Closes 802
test_cursor_count works, so setting the makefile to expect success

git-svn-id: file:///svn/tokudb@3921 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-12 15:33:05 +00:00
Bradley C. Kuszmaul
d608b87bdf Make the {{{cxx/tests/check_test_cursor_count}}} nominally pass, even though it is failing. (We are tracking this issue with #802.)
Make the {{{cxx/tests}}} prettier.
Fixes #810.  Addresses #811, #802.


git-svn-id: file:///svn/tokudb@3919 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-12 12:50:51 +00:00
Bradley C. Kuszmaul
d49cd8a22b Update copyright date.
git-svn-id: file:///svn/tokudb@3918 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-12 12:35:56 +00:00
Bradley C. Kuszmaul
9f6f2a18e5 Most of the work for making the checks output nice easy-to-read output.
Not quite all the output is pretty yet.  To get the pretty output set the {{{SUMMARIZE}}} make variable to nonzero and use the {{{-s}}} argument.  E.g.,
{{{
make check SUMMARIZE=1 -s
}}}
.
a complete useful invokation on Coyote is as follows:
{{{
make check SUMMARIZE=1 BDBDIR=/usr -s -j8 VGRIND= -k
}}}

Also, (almost) all the tests pass (even the recovery tests that really fail), since those tests won't really work until after milestone:"MySQL TokuDB Beta 1.0.2".
The one test that fails is {{{check_test_cursor_count}}}.  Perhaps we won't fix that for this release either.

Addresses #810, #811.


git-svn-id: file:///svn/tokudb@3917 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-12 10:58:07 +00:00
Bradley C. Kuszmaul
ed36001988 Fix #809.
git-svn-id: file:///svn/tokudb@3901 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-09 22:14:39 +00:00
Yoni Fogel
9eb364c43e Addresses #802
c_get now accepts DB_CURRENT_BINDING

git-svn-id: file:///svn/tokudb@3893 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-09 15:29:21 +00:00
Rich Prohaska
9909fe2d1e use gcc-4.2 on debian4
git-svn-id: file:///svn/tokudb@3891 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-09 15:08:09 +00:00
Bradley C. Kuszmaul
dc07b001d9 Don't run {{{test_txn_abort8.bdb}}} under BDB 4.3. Fixes #803.
git-svn-id: file:///svn/tokudb@3890 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-09 14:18:10 +00:00
Bradley C. Kuszmaul
0ec236a853 Don't run {{{test_txn_commit8.bdb}}} under BDB 4.3. Fixes #803.
git-svn-id: file:///svn/tokudb@3889 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-09 14:16:13 +00:00
Bradley C. Kuszmaul
14e377ce30 Don't run {{{test_txn_abort9.bdb}}} under BDB 4.3. Addresses #803.
git-svn-id: file:///svn/tokudb@3888 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-09 14:15:15 +00:00
Bradley C. Kuszmaul
14c37d2d06 Improve the Makefiles. Is #801 actually fixed? Addresses #801.
git-svn-id: file:///svn/tokudb@3887 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-09 13:27:10 +00:00
Bradley C. Kuszmaul
382c03ce6b More cleanup for #796. Addresses #796.
git-svn-id: file:///svn/tokudb@3886 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-09 13:13:44 +00:00
Bradley C. Kuszmaul
e93dbb72c8 Add args
git-svn-id: file:///svn/tokudb@3880 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-09 02:57:33 +00:00
Bradley C. Kuszmaul
c51c24fe1e Write the parallel test. Addresses #800.
git-svn-id: file:///svn/tokudb@3879 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-08 22:52:59 +00:00
Bradley C. Kuszmaul
3d390446a6 Write the parallel test. Addresses #800.
git-svn-id: file:///svn/tokudb@3878 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-08 22:52:20 +00:00
Bradley C. Kuszmaul
13105525e3 Write the parallel test. Addresses #800.
git-svn-id: file:///svn/tokudb@3877 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-08 22:50:45 +00:00
Bradley C. Kuszmaul
53183b633a Fix #798.
git-svn-id: file:///svn/tokudb@3875 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-08 22:10:59 +00:00
Bradley C. Kuszmaul
04a0cf4672 Make the cursor delete tests work under bdb. Addresses #788, #789.
git-svn-id: file:///svn/tokudb@3874 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-08 21:51:56 +00:00
Bradley C. Kuszmaul
f82afde203 Addresses #797.
git-svn-id: file:///svn/tokudb@3873 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-08 21:43:08 +00:00
Bradley C. Kuszmaul
6235025958 Addresses #797.
git-svn-id: file:///svn/tokudb@3872 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-08 21:42:45 +00:00
Bradley C. Kuszmaul
8691ef811e Fix #797.
git-svn-id: file:///svn/tokudb@3871 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-08 21:41:50 +00:00
Bradley C. Kuszmaul
4ba99fd8fc Fix #797.
git-svn-id: file:///svn/tokudb@3870 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-08 21:41:10 +00:00
Bradley C. Kuszmaul
eb5c50174e Move newbrt tests to subdir. Fixes #796.
git-svn-id: file:///svn/tokudb@3869 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-08 21:22:49 +00:00
Bradley C. Kuszmaul
ee62dcc4d7 Move newbrt tests to subdir. Fixes #796.
git-svn-id: file:///svn/tokudb@3868 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-08 21:01:17 +00:00
Bradley C. Kuszmaul
dc25035be4 Move newbrt tests to subdir. Fixes #796.
git-svn-id: file:///svn/tokudb@3867 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-08 20:48:05 +00:00
Bradley C. Kuszmaul
b1a2ee871d Move newbrt tests to subdir. Fixes #796.
git-svn-id: file:///svn/tokudb@3866 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-08 20:30:33 +00:00
Bradley C. Kuszmaul
e1941c717a Add some more cursor delete tests, but they didn't find any problems. Addresses #788, #789.
git-svn-id: file:///svn/tokudb@3864 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-08 18:26:28 +00:00
Yoni Fogel
467c49d564 Addresses #394
Bugfix with the way data was copied out to static buffers.
Now (again) copies to cursor's temp storage if it is not a temporary cursor
if it is a db handle call, or a temporary cursor, it will use the db's temporary storage.

git-svn-id: file:///svn/tokudb@3863 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-08 17:38:10 +00:00
Bradley C. Kuszmaul
6ba33998c5 Fixes #795. But #783 is breaking. Addresses #783.
git-svn-id: file:///svn/tokudb@3861 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-08 15:59:44 +00:00