Commit graph

1880 commits

Author SHA1 Message Date
Bradley C. Kuszmaul
7e5a096387 Compile with the block allocator. Addresses #1000, #1080, #1131.
git-svn-id: file:///svn/tokudb.1131b+1080a@6097 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:18 -04:00
Bradley C. Kuszmaul
d929e0889c Start doing the I/O on the block allocator
git-svn-id: file:///svn/tokudb.1131b+1080a@6087 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:18 -04:00
Bradley C. Kuszmaul
9e8e600430 Block allocator works and is tested. Addresses #1080, #1031, #1000.
git-svn-id: file:///svn/tokudb.1131b+1080a@6076 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:18 -04:00
Bradley C. Kuszmaul
fcd8cb084c Deserialize the fifo header inside the header deserialization code instead of separately. Addresses #1131, #1080, #1000.
git-svn-id: file:///svn/tokudb.1131b+1080a@6057 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:18 -04:00
Bradley C. Kuszmaul
5ff7b0c746 Forgot to dirty the root block when allocating a disk block. Addresses #1131, #1080, #1000.
git-svn-id: file:///svn/tokudb.1131b+1080a@6038 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:18 -04:00
Bradley C. Kuszmaul
616abc829e Incorporate blocknum code from 1080a. Runs a little, need a big run on coyote. Addresses #1000, #1080, #1131.
git-svn-id: file:///svn/tokudb.1131b+1080a@6025 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:18 -04:00
Bradley C. Kuszmaul
287767a3ee Turn on multithreading. Addresses #1131.
git-svn-id: file:///svn/tokudb.1131b@5990 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:17 -04:00
Bradley C. Kuszmaul
504deac9cc Forgot {{{-lpthread}}}. Addresses #1131.
git-svn-id: file:///svn/tokudb.1131b@5989 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:17 -04:00
Bradley C. Kuszmaul
ce6b171044 Merge the multihreaded writer changes as
{{{
svn merge -r 5899:5987 https://svn.tokutek.com/tokudb/tokudb
}}}
and resolve the conflicts.


git-svn-id: file:///svn/tokudb.1131b@5988 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:17 -04:00
Bradley C. Kuszmaul
cda54db4c4 compressibility becomes a float
git-svn-id: file:///svn/tokudb.1131@5975 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:17 -04:00
Bradley C. Kuszmaul
aa4caae5e4 Compression numbers measured and mailed out to tokueng. Addresses #1131.
git-svn-id: file:///svn/tokudb.1131@5970 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:17 -04:00
Bradley C. Kuszmaul
811b5458c9 Add --count to the db-benchmark-test function. Addresses #1131.
git-svn-id: file:///svn/tokudb.1131@5968 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:17 -04:00
Bradley C. Kuszmaul
2524f1d29f Add --norandom to the print_usage() function. Addresses #1131.
git-svn-id: file:///svn/tokudb.1131@5967 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:17 -04:00
Bradley C. Kuszmaul
de8dcf85f2 Add compress supresssion for valgrind. Addresses #1131.
git-svn-id: file:///svn/tokudb.1131@5957 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:17 -04:00
Bradley C. Kuszmaul
2cb10197bf Add compress supresssion for valgrind. Addresses #1131.
git-svn-id: file:///svn/tokudb.1131@5956 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:17 -04:00
Bradley C. Kuszmaul
9d9c4f78d7 Add compress supresssion for valgrind. Addresses #1131.
git-svn-id: file:///svn/tokudb.1131@5955 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:17 -04:00
Yoni Fogel
c33c8b7166 Manual glue for svn-git migration for r42937 due to multiple merge + diffs in the same patch.
Original message:
[t:4814] merge tokudb.4413d into tokudb.4814
2013-04-16 23:57:16 -04:00
Bradley C. Kuszmaul
430aa86333 Add -lz. Addresses #1131.
git-svn-id: file:///svn/tokudb.1131@5954 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:16 -04:00
Bradley C. Kuszmaul
abda370325 Add -lz. Addresses #1131.
git-svn-id: file:///svn/tokudb.1131@5953 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:16 -04:00
Bradley C. Kuszmaul
344fb94fd3 newbrt tests pass with compression. Addresses #1131.
git-svn-id: file:///svn/tokudb.1131@5952 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:16 -04:00
Bradley C. Kuszmaul
37e2267341 Did some decompression stuff. But it's broken. Addresses #1131.
git-svn-id: file:///svn/tokudb.1131@5951 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:16 -04:00
Bradley C. Kuszmaul
48facf2ce5 Compress (but don't uncompress right)
git-svn-id: file:///svn/tokudb.1131@5901 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:16 -04:00
Leif Walsh
ce04e24c0f [t:4413] ignore autom4te.cache inside lzma source
git-svn-id: file:///svn/toku/tokudb.4413c/xz-4.999.9beta@42490 c7de825b-a66e-492c-adef-691d508d4ae1
2012-04-25 23:23:22 +00:00
Leif Walsh
0f76c17516 [t:4413] move lock/range_tree test makefiles out of the way, change check_footprint_* lock and memory limits so they pass
git-svn-id: file:///svn/toku/tokudb.4413c/xz-4.999.9beta@42489 c7de825b-a66e-492c-adef-691d508d4ae1
2012-04-25 23:22:09 +00:00
Leif Walsh
bb70d0b6e6 [t:4413] merge old dev branch into new
git-svn-id: file:///svn/toku/tokudb.4413c/xz-4.999.9beta@42460 c7de825b-a66e-492c-adef-691d508d4ae1
2012-04-25 12:51:58 +00:00
Yoni Fogel
c0920cb16e Addresses #1121
Fixes bugs (memory leak) found in delboth test.
Also, DB_DELETE_ANY only ignores 'DB_NOTFOUND' error.  Any other error will be reported.

git-svn-id: file:///svn/tokudb@5887 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-28 17:17:34 +00:00
Yoni Fogel
a7adc7df4f Addresses #1121
Made test for DB->delboth faster.
Removed pagesize (which messed with maximum node size)

git-svn-id: file:///svn/tokudb@5886 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-28 17:15:09 +00:00
Yoni Fogel
66ad23e948 Closes #1121
Tests for DB->delboth

git-svn-id: file:///svn/tokudb@5884 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-28 16:08:29 +00:00
Yoni Fogel
f81bffebc5 Removed non-existant test.
git-svn-id: file:///svn/tokudb@5867 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-27 15:29:23 +00:00
Rich Prohaska
681f15a8c0 measure the times of errorcheck mutexes
git-svn-id: file:///svn/tokudb@5856 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-26 18:57:34 +00:00
Yoni Fogel
e6a61598d3 Addresses #1032
Native windows locking replaces ydb_lock and ydb_unlock for CYGWIN only

git-svn-id: file:///svn/tokudb@5853 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-26 18:10:06 +00:00
Yoni Fogel
6e4182f8f8 Fixed warnings in trylock.c
git-svn-id: file:///svn/tokudb@5850 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-26 15:34:23 +00:00
Rich Prohaska
29ac9b3ceb merge cachetable tests from the 1075 branch to main. addresses #1075
git-svn-id: file:///svn/tokudb@5849 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-26 14:07:27 +00:00
Yoni Fogel
de17684f30 Set more functions as inline.
git-svn-id: file:///svn/tokudb@5838 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-26 00:32:16 +00:00
Rich Prohaska
d2c6783c09 test lock overhead. addresses #1075
git-svn-id: file:///svn/tokudb@5830 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-25 16:25:30 +00:00
Rich Prohaska
5a9b210d74 print some pthread object sizes
git-svn-id: file:///svn/tokudb@5800 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-22 19:27:28 +00:00
Rich Prohaska
3b23ec425a merge new cachetable tests. addresses #1075
git-svn-id: file:///svn/tokudb@5797 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-22 17:50:05 +00:00
Yoni Fogel
f0493df403 Addresses #1108
Added test that fails due to this bug.

git-svn-id: file:///svn/tokudb@5734 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-18 20:40:30 +00:00
Yoni Fogel
3fd5437709 Cleaned up test_txn_nested_abort[23].c
git-svn-id: file:///svn/tokudb@5733 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-18 20:16:48 +00:00
Yoni Fogel
2b95605f67 Cleaned up test_txn_nested_abort[23].c
git-svn-id: file:///svn/tokudb@5731 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-18 20:09:35 +00:00
Yoni Fogel
afb0f26e3b Closes #1107
Added missing prereqs (static library) to statically linked programs

git-svn-id: file:///svn/tokudb@5730 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-18 19:58:47 +00:00
Yoni Fogel
aeded2f184 Closes #1106
Uses  instead of make.
This helps if make is aliased

git-svn-id: file:///svn/tokudb@5729 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-18 19:53:39 +00:00
Yoni Fogel
f299e81cc1 Addresses #1093
Nested transactions not done child first:
parent will still finish (abort) if the child has an error in committing or aborting.


git-svn-id: file:///svn/tokudb@5721 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-18 16:16:14 +00:00
Yoni Fogel
fb16825e1b Addresses #182
UPdated prelocking support for delboth

git-svn-id: file:///svn/tokudb@5720 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-18 16:01:54 +00:00
Yoni Fogel
acef51171a Addresses #173, #182
First implementation (slow) of db->delboth
Does not yet support associated tables.


git-svn-id: file:///svn/tokudb@5701 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-18 04:04:55 +00:00
Yoni Fogel
df75b272c5 Addresses #182
Add headers for DB->delboth

git-svn-id: file:///svn/tokudb@5700 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-18 03:27:56 +00:00
Yoni Fogel
577a6cea88 Addresses #182
Add headers for DB->delboth

git-svn-id: file:///svn/tokudb@5699 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-18 03:27:37 +00:00
Zardosht Kasheff
37e722de22 addresses #1093
another test that exposes a problem

git-svn-id: file:///svn/tokudb@5676 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-15 19:45:17 +00:00
Yoni Fogel
fee8e88257 Addresses #1093
Workaround for nested transactions not aborting correctly.
Needs to be replaced with a better version.

git-svn-id: file:///svn/tokudb@5675 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-15 17:43:37 +00:00
Yoni Fogel
4811a42042 Closes #1098
Reduce overhead of subtransactions

git-svn-id: file:///svn/tokudb@5674 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-15 17:07:44 +00:00