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
Yoni Fogel
9abb92dc4b
Addresses #394
...
Merge branch tokudb.394 back into trunk
git-svn-id: file:///svn/tokudb@3841 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-07 20:03:13 +00:00
Bradley C. Kuszmaul
fd51763cea
Compile with -O3. Fixes #784 .
...
git-svn-id: file:///svn/tokudb@3823 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-07 00:46:02 +00:00
Bradley C. Kuszmaul
ee986eb581
Fix a segfault in test_log6.recover. Addresses #740 .
...
git-svn-id: file:///svn/tokudb@3822 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-07 00:40:45 +00:00
Yoni Fogel
8c0fd271d5
Addresses #783
...
Using DB_CURRENT no longer overwrites temporary memory owned by the db handle.
Added regression test.
git-svn-id: file:///svn/tokudb@3821 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-06 20:30:24 +00:00
Bradley C. Kuszmaul
dd8f0f3386
Hacking makefiles. Addresses #782 . Also fixes a valgrind bug in one of the recovery tests.
...
git-svn-id: file:///svn/tokudb@3814 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-06 13:58:08 +00:00
Bradley C. Kuszmaul
7759603b6f
Hacking makefiles. Addresses #782 .
...
git-svn-id: file:///svn/tokudb@3813 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-06 10:27:46 +00:00
Bradley C. Kuszmaul
cc00885394
Hacking makefiles. Addresses #782 .
...
git-svn-id: file:///svn/tokudb@3794 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-04 22:14:27 +00:00
Bradley C. Kuszmaul
e9d3b87315
Hacking makefiles. Addresses #782 .
...
git-svn-id: file:///svn/tokudb@3793 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-04 22:07:52 +00:00
Bradley C. Kuszmaul
09850cc913
Hacking makefiles. Also make the filenames used by the tests work more reliably. Addresses #782 .
...
git-svn-id: file:///svn/tokudb@3792 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-04 16:56:15 +00:00
Bradley C. Kuszmaul
5f0fab0802
Fix up {{{brt->txns}}} during recovery. Fixes #781 .
...
git-svn-id: file:///svn/tokudb@3780 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-03 17:34:14 +00:00
Bradley C. Kuszmaul
c199a47fae
Dramatic speedups: For {{{db-benchmark-test -x}}} (4 interations)
...
|| || DB size || logsize || rate ||
|| Before (with transactions) || .33GB || 3.0GB || 17477/s ||
|| No Transactions (with this fix) || .43GB || 0GB || 104124/s ||
|| After removing undo info (#775 ) || .33GB || 1.4GB || 25696/s ||
|| After optimizing commit (#725 ) || .43GB || 0.6GB || 39909/s ||
The file size is a larger, but the logs are a lot smaller.
Addresses #725 , #775 .
Manipulations:
{{{
$ (cd tokudb; svn merge -r3763:3778 https://svn.tokutek.com/tokudb/tokudb.725 )
$ svn delete tokudb.725
}}}
git-svn-id: file:///svn/tokudb@3779 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-03 12:43:25 +00:00
Bradley C. Kuszmaul
77fe15598c
Removed the undo information from the logs (to rely on the checkpoint to save a good copy in the log).
...
Also, don't record the fingerprint changes, since they can be recalculated independently. (This is a biggy. The fingerprints updates were half the log changes.)
We'll have to do something about the fingerprints of internal nodes, so some if may come back in some form.
Speeds up {{{db-benchmark-test-tokudb -x}}} from 17477/s to 25696/s, and reduces the size of the {{{bench.tokudb}}} directory (containing logs and data) from 3.3GB to 1.7GB for a 0.33GB datafile.
Manipulations as follows:
(cd tokudb;svn merge -r3676:3763 https://svn.tokutek.com/tokudb/tokudb.740 )
svn delete tokudb.740
Fixes #775 .
git-svn-id: file:///svn/tokudb@3764 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-02 14:38:35 +00:00
Bradley C. Kuszmaul
71b56ba1e8
Calculate an estimate of the number of {{{LEAFENTRY}}}s below each node.
...
Increment {{{layout_version}}} to 6.
brtdump now has a {{{--nodata}}} option (to print only the metadata, but not the data)
Fixes #766 .
Merged to main using
{{{
cd tokudb/tokudb
svn merge -r3713:3725 https://svn.tokutek.com/tokudb/tokudb.766
cd ..
svn delete tokudb.766
}}}
git-svn-id: file:///svn/tokudb@3728 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-30 13:23:04 +00:00
Bradley C. Kuszmaul
efea431321
Make brtdump print the root fifo. Fixes #748 .
...
git-svn-id: file:///svn/tokudb@3672 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-27 17:54:24 +00:00
Bradley C. Kuszmaul
461b05f4b0
All commands now push into tree instead of root if possible. Fixes #735 .
...
git-svn-id: file:///svn/tokudb@3670 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-27 15:12:25 +00:00
Bradley C. Kuszmaul
7523273fb8
On commit push into tree instead of root if possible. Addresses #735 .
...
git-svn-id: file:///svn/tokudb@3668 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-27 12:34:50 +00:00
Bradley C. Kuszmaul
d5f2eec078
Add the list of txns. Addresses #735 . Fixes #749 .
...
git-svn-id: file:///svn/tokudb@3659 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-26 03:16:30 +00:00
Bradley C. Kuszmaul
4d059818dc
Make the makefile happier. Don't recompile as many things. Fixes #753 .
...
git-svn-id: file:///svn/tokudb@3658 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-26 02:56:38 +00:00
Bradley C. Kuszmaul
20bb869ac0
brt2.c undo
...
git-svn-id: file:///svn/tokudb@3652 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-25 17:46:46 +00:00
Yoni Fogel
0e863f757d
Updated makefile for cscope
...
git-svn-id: file:///svn/tokudb@3651 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-25 16:34:48 +00:00
Bradley C. Kuszmaul
ecd0b0a971
Start adding the lists. Addresses #749 .
...
git-svn-id: file:///svn/tokudb@3647 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-25 14:22:05 +00:00
Bradley C. Kuszmaul
9f99493d4e
Change the {{{LEAFENTRY}}} to {{{OMTVALUE}}} when using the omt, and also change the type of {{{OMTVALUE}}} to {{{void*}}} so we can have two different OMTs coexisting. Fixes #750 .
...
git-svn-id: file:///svn/tokudb@3646 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-25 13:46:17 +00:00