Commit graph

1226 commits

Author SHA1 Message Date
Bradley C. Kuszmaul
4df01c3141 Make test-recover3.tdb Work. Fixes #537. roll.c coverage is now up to 77.5% (from 52.4%). Addresses #536.
git-svn-id: file:///svn/tokudb@2819 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-14 12:28:49 +00:00
Bradley C. Kuszmaul
56eaba9c3d Make test-recover3.bdb run by making xactions smaller. Addresses #537.
git-svn-id: file:///svn/tokudb@2817 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-14 11:18:03 +00:00
Bradley C. Kuszmaul
2d0050a5b3 Increase roll.c coverage more, but this test, {{{test-recover3.tdb}}} finds bugs. Addresses #536, #537.
git-svn-id: file:///svn/tokudb@2816 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-14 11:14:36 +00:00
Bradley C. Kuszmaul
6fdcb90618 Up roll.c coverage to 52.4% from 46.4%. Addresses #536.
git-svn-id: file:///svn/tokudb@2815 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-14 11:02:51 +00:00
Bradley C. Kuszmaul
3767af1bfe Up roll.c coverage to 52.4% from 46.4%. Addresses #536.
git-svn-id: file:///svn/tokudb@2814 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-14 11:02:28 +00:00
Bradley C. Kuszmaul
334cd866a5 Make the test-recover1 pass valgrind. Addresses #483.
git-svn-id: file:///svn/tokudb@2813 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-14 10:31:37 +00:00
Bradley C. Kuszmaul
095bf48996 Remove the helgrind tests. Fixes #535.
git-svn-id: file:///svn/tokudb@2812 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-14 09:12:23 +00:00
Bradley C. Kuszmaul
d933a0db4a Make {{{test_txn_abort6.bdb}}} be a no-op. Fixes #534.
git-svn-id: file:///svn/tokudb@2811 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-14 08:58:22 +00:00
Bradley C. Kuszmaul
5f5a698b51 Fix test_set_lk_max_locks. It will have to be fixed again when lock escalation starts working. Fixes #533.
git-svn-id: file:///svn/tokudb@2809 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-14 08:45:01 +00:00
Bradley C. Kuszmaul
851e66b476 Fix test_weakxaction. Fixes #532.
git-svn-id: file:///svn/tokudb@2807 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-14 07:13:59 +00:00
Bradley C. Kuszmaul
5775790108 Disable an invocation that causes BDB 4.6.21 to segfault. Fixes #530. (Again)
git-svn-id: file:///svn/tokudb@2799 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-13 21:48:55 +00:00
Bradley C. Kuszmaul
f6fcc7dc9d Disable a function call that causes BDB 4.6.21 to segfault. Fixes #530.
git-svn-id: file:///svn/tokudb@2798 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-13 21:40:57 +00:00
Bradley C. Kuszmaul
f347a1c9e7 Fix {{{toku_logger_fsync}}}. Fixes #529.
git-svn-id: file:///svn/tokudb@2797 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-13 21:29:04 +00:00
Bradley C. Kuszmaul
515d526a50 Make test_log5.recover work again. Fixes #527.
git-svn-id: file:///svn/tokudb@2796 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-13 20:55:08 +00:00
Yoni Fogel
383d895224 Addresses #523
Cleaned up iteration code based on code review by Zardosht.

git-svn-id: file:///svn/tokudb@2794 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-13 20:21:45 +00:00
Yoni Fogel
af4fc44e02 Addresses #523
Cleaned up iteration code based on code review.
Changed iteration return value to EDOM when you try to iterate after an insert, in
redblacktrees

git-svn-id: file:///svn/tokudb@2793 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-13 20:03:51 +00:00
Zardosht Kasheff
2f5edae602 addresses #523
address more CR comments from previous checkin

git-svn-id: file:///svn/tokudb@2792 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-13 19:50:21 +00:00
Zardosht Kasheff
d5312ffb19 addresses #523
address CR comments from previous checkin

git-svn-id: file:///svn/tokudb@2791 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-13 19:36:38 +00:00
Zardosht Kasheff
c3f89d4506 addressed #523
added functions for range tree iteration

git-svn-id: file:///svn/tokudb@2790 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-13 19:22:21 +00:00
Yoni Fogel
8e3c0bd564 Added -finline-functions to default compile
git-svn-id: file:///svn/tokudb@2771 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-12 19:47:22 +00:00
Yoni Fogel
abc8f71edf Improved speed of range tree hash table.
git-svn-id: file:///svn/tokudb@2770 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-12 19:44:31 +00:00
Bradley C. Kuszmaul
68e8036c75 Make recovery work when called from {{{DB_ENV->open}}}. Fixes #483.
git-svn-id: file:///svn/tokudb@2768 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-12 19:40:38 +00:00
Yoni Fogel
2471b8e7fe Removed warnings
git-svn-id: file:///svn/tokudb@2767 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-12 18:37:29 +00:00
Yoni Fogel
316658bc32 Removed warning option that killed the build.
Aggregate returns is something we want; we do not need to be warned about them.

git-svn-id: file:///svn/tokudb@2766 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-12 18:21:37 +00:00
Bradley C. Kuszmaul
22963df0ed Add test to see if recovery works. Addresses #483.
git-svn-id: file:///svn/tokudb@2764 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-12 18:09:21 +00:00
Bradley C. Kuszmaul
0f29f9abe7 Group commit working in tokulogger. Need to release some locks in ydb. Addresses #484.
git-svn-id: file:///svn/tokudb@2763 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-12 17:55:11 +00:00
Yoni Fogel
ee2351986d Removed warnings.
git-svn-id: file:///svn/tokudb@2762 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-12 17:48:54 +00:00
Yoni Fogel
7299745f97 Removed warnings.
git-svn-id: file:///svn/tokudb@2761 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-12 17:48:24 +00:00
Bradley C. Kuszmaul
072c3c2f5e Make {{{PROF_FLAGS=-pg}}} cause static linking to happen for {{{db-benchmark-test-tokudb}}}. Addresses #515.
git-svn-id: file:///svn/tokudb@2756 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-12 08:36:02 +00:00
Bradley C. Kuszmaul
4ea09248a3 All the makefiles should honor {{{PROF_FLAGS}}}. Make db-benchmark-test statically linkable by removing the conflict with {{{toku_fill_dbt}}}. Although gprof still doesn't work with dynamically linked libraries, we can statically link it and get useful info. Closes #515.
git-svn-id: file:///svn/tokudb@2755 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-12 08:30:49 +00:00
Bradley C. Kuszmaul
7c4eabe86f Create log-test5.c
git-svn-id: file:///svn/tokudb@2743 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 19:55:04 +00:00
Bradley C. Kuszmaul
e672f87aa9 Add log-test4.c. Addresses #484.
git-svn-id: file:///svn/tokudb@2742 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 18:58:36 +00:00
Bradley C. Kuszmaul
7469a733d2 Create log-test3.c
git-svn-id: file:///svn/tokudb@2741 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 18:55:42 +00:00
Bradley C. Kuszmaul
92b5b72fe8 Update log-test to work better and test some logging as unit tests. Addresses #484.
git-svn-id: file:///svn/tokudb@2740 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 18:51:36 +00:00
Bradley C. Kuszmaul
c7461dd3a9 Update log-test to work better and test some logging as unit tests. Addresses #484.
git-svn-id: file:///svn/tokudb@2739 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 18:51:26 +00:00
Yoni Fogel
42d88c4ec2 Removed memory leak in a test (tests fault).
git-svn-id: file:///svn/tokudb@2737 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 17:46:16 +00:00
Yoni Fogel
af0a5a1315 MOdification to makefiles.
git-svn-id: file:///svn/tokudb@2736 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 17:43:21 +00:00
Yoni Fogel
3304ff05ae Closes #513
Integrated tlogn lock tree into tokudb.

git-svn-id: file:///svn/tokudb@2735 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 17:37:06 +00:00
Bradley C. Kuszmaul
30689f39e8 Add log-test to the regression tests
git-svn-id: file:///svn/tokudb@2733 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 17:23:14 +00:00
Yoni Fogel
ca5e5b0b40 Working on getting new range tree library
git-svn-id: file:///svn/tokudb@2732 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 16:09:03 +00:00
Yoni Fogel
9a958751ba Modified makefiles for inclusion of redblack
git-svn-id: file:///svn/tokudb@2729 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 15:53:39 +00:00
Yoni Fogel
db92f134e5 Addresses #479
Adding dynamic library for redblack tree.

git-svn-id: file:///svn/tokudb@2728 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 15:50:15 +00:00
Yoni Fogel
550fff4e7f addresses #479
change makefiles to support tlog versions of rangetree and lock tree

git-svn-id: file:///svn/tokudb@2727 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 15:31:23 +00:00
Yoni Fogel
d1a6ea8526 addresses #479
port remaining range_tree tests (45,47) to NOOVERLAPS

git-svn-id: file:///svn/tokudb@2724 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 15:15:26 +00:00
Yoni Fogel
925b37c63a addresses #479
port test 42 to NOOVERLAPS

git-svn-id: file:///svn/tokudb@2723 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 15:12:15 +00:00
Yoni Fogel
1dcb791503 addresses #479
add to test 40, and ported it to nooverlaps
have makefile run tlog by default

git-svn-id: file:///svn/tokudb@2722 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 15:10:12 +00:00
Yoni Fogel
69069ad8ab addresses #479 make test 30 work with tlog range tree
git-svn-id: file:///svn/tokudb@2719 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 14:12:34 +00:00
Yoni Fogel
19894d4947 addresses #479 fix test 25 to work with
git-svn-id: file:///svn/tokudb@2718 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 14:07:29 +00:00
Yoni Fogel
f9210302b1 address #479 changed input parameter in several functions to avoid getting EINVAL returned
git-svn-id: file:///svn/tokudb@2717 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 14:01:28 +00:00
Yoni Fogel
d72ee04469 Addresses #479
Fixed some tests for tlogn range trees.

git-svn-id: file:///svn/tokudb@2708 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-10 23:52:00 +00:00