Commit graph

1714 commits

Author SHA1 Message Date
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
Rich Prohaska
bcacaae98e more the root_put_counter to the brt object. this speeds up cursor operations. we will address multiple brt handles later. addresses #1054
git-svn-id: file:///svn/tokudb@5651 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-14 01:00:48 +00:00
Zardosht Kasheff
c9d01632f8 addresses #1093
test exposing problem

git-svn-id: file:///svn/tokudb@5646 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-13 17:30:17 +00:00
Bradley C. Kuszmaul
30cfaf522b Measure compression ratio
git-svn-id: file:///svn/tokudb@5626 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-12 15:19:34 +00:00
Yoni Fogel
3873681393 Added 'tags' target in makefile to do both TAGS and cscope.out
git-svn-id: file:///svn/tokudb@5620 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-12 13:45:29 +00:00
Yoni Fogel
8a5abb1b83 Addresses #1079
Final changes to make DB_TXN->parent public.

git-svn-id: file:///svn/tokudb@5619 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-12 13:44:58 +00:00
Yoni Fogel
272c9a6b02 Addresses #1079
makes DB_TXN->parent public

git-svn-id: file:///svn/tokudb@5616 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-12 13:38:04 +00:00
Rich Prohaska
2a2e316f18 addresses #1079
git-svn-id: file:///svn/tokudb@5604 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-11 13:02:17 +00:00
Yoni Fogel
4f887136e2 Addresses #1079
Modify sample_offsets to include DB_TXN.parent

git-svn-id: file:///svn/tokudb@5579 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-09 18:02:07 +00:00
Rich Prohaska
58435beac0 add the gcc atomic builtin fetch_and_add
git-svn-id: file:///svn/tokudb@5501 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-04 18:05:09 +00:00
Bradley C. Kuszmaul
f4d9c56627 Measure some more locking primitives.
git-svn-id: file:///svn/tokudb@5498 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-04 14:40:24 +00:00
Bradley C. Kuszmaul
a635d5c552 Measure some more locking primitives.
git-svn-id: file:///svn/tokudb@5497 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-04 14:39:22 +00:00
Bradley C. Kuszmaul
955787457e Improve comment. Addresses #1021.
git-svn-id: file:///svn/tokudb@5472 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-01 17:56:53 +00:00
Yoni Fogel
234f2649d4 Closes #1062
Fix cases in the c_getf_* functions where we were retrieving a key DBT instead of a val.

git-svn-id: file:///svn/tokudb@5454 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-31 16:15:02 +00:00
Rich Prohaska
5fa2c451c5 delete the unused mempool compress feature
git-svn-id: file:///svn/tokudb@5439 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-30 19:36:37 +00:00
Yoni Fogel
094475f72b Closes #1060
Implemented c_getf_(first,last)

git-svn-id: file:///svn/tokudb@5434 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-30 15:26:52 +00:00
Yoni Fogel
180152abf1 Closes #1055
Implement DBC->c_getf_prev

git-svn-id: file:///svn/tokudb@5418 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-29 20:10:23 +00:00