Commit graph

1588 commits

Author SHA1 Message Date
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
Bradley C. Kuszmaul
eec09abdf3 Optimize the case of where we replace a leafentry. (Don't delete and insert. Instead just replace. Addresses #794.
git-svn-id: file:///svn/tokudb@3859 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-08 15:24:53 +00:00
Bradley C. Kuszmaul
2081bfb433 Make toku_assert faster avoiding the call unless the expression fails. Addresses #794.
git-svn-id: file:///svn/tokudb@3858 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-08 15:11:32 +00:00
Bradley C. Kuszmaul
1ab083db9e Make toku_assert faster avoiding the call unless the expression fails. Addresses #794.
git-svn-id: file:///svn/tokudb@3857 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-08 15:10:04 +00:00
Bradley C. Kuszmaul
556aa0fd99 lock tree tests had to be fixed up for -combine. Addresses #793.
git-svn-id: file:///svn/tokudb@3855 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-08 14:51:38 +00:00
Bradley C. Kuszmaul
83b7ff8630 Turn on inter-unit optimization for the newbrt code. The lock tree still doesn't have it. Addresses #793.
git-svn-id: file:///svn/tokudb@3854 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-08 14:31:05 +00:00
Bradley C. Kuszmaul
3dd205437e Separate test_get_both_range into many smaller pieces. Addresses #475.
git-svn-id: file:///svn/tokudb@3853 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-08 13:56:46 +00:00
Bradley C. Kuszmaul
f48447c9cf Write the brt keyrange code. Untested. Addresses #764.
git-svn-id: file:///svn/tokudb@3852 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-08 13:05:01 +00:00
Yoni Fogel
6ef3961637 Closes #792
Verification of non-null is done before trying a toku-free

git-svn-id: file:///svn/tokudb@3851 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-08 08:30:50 +00:00
Bradley C. Kuszmaul
ed2c880ee3 Clean up, clean up, everybody clean their share. Fixes #791.
git-svn-id: file:///svn/tokudb@3848 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-08 07:16:26 +00:00
Bradley C. Kuszmaul
8455cf0c1c Makefile hacking. Addreseses #782.
git-svn-id: file:///svn/tokudb@3847 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-08 07:06:06 +00:00
Bradley C. Kuszmaul
e81be86e43 Some keyrange support. Addresess #764.
git-svn-id: file:///svn/tokudb@3846 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-08 07:05:26 +00:00