Commit graph

1291 commits

Author SHA1 Message Date
Bradley C. Kuszmaul
b37d2f65ca Make the top-level 'make check' run in parallel. Addresses #468.
git-svn-id: file:///svn/tokudb@2594 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-06 21:48:24 +00:00
Bradley C. Kuszmaul
241c5392df Break up brt-test some more. Addresses #475. Also make the fanout flexible. Fixes #126.
git-svn-id: file:///svn/tokudb@2593 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-06 21:46:57 +00:00
Yoni Fogel
902b8bb9b8 Closes #477
created two versions of the lock tree, distinguished by -DTOKU_RT_NOOVERLAPS
modified rth iterator to provide hash key

git-svn-id: file:///svn/tokudb@2588 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-06 18:03:30 +00:00
Bradley C. Kuszmaul
25cb6d4b0b Break out test4 from brt-test. brt-test runs in 13 seconds, brt-test4 in 9 seconds, brt-test-cursor in 4 seconds, so we have halved the critical path. Fixes #475.
git-svn-id: file:///svn/tokudb@2581 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-06 16:35:18 +00:00
Bradley C. Kuszmaul
771c48e963 Split off brt-test-cursor. Parallelizes about 10% of the brt-test. Addresses #475.
git-svn-id: file:///svn/tokudb@2580 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-06 16:28:30 +00:00
Rich Prohaska
94bd0c81d5 fix db.h 4.6 compatible
git-svn-id: file:///svn/tokudb@2578 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-06 14:42:00 +00:00
Rich Prohaska
e11534c255 speed up builds. address #468
git-svn-id: file:///svn/tokudb@2574 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-06 13:04:16 +00:00
Yoni Fogel
eb7c3abfd6 Lock tree tests ported to no overlap (TLINEAR and TLOG)
Minor makefile modifications.

git-svn-id: file:///svn/tokudb@2560 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-05 20:24:05 +00:00
Yoni Fogel
891411a70d Updated makefiles to support tests
and easier compilation of non-linear range/lock trees.
Removed obsolete export maps.

git-svn-id: file:///svn/tokudb@2558 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-05 20:09:36 +00:00
Bradley C. Kuszmaul
5c52e7c64a Separate some of the test helpers from brt.c to brt-test-helpers.c. Addresses #472.
git-svn-id: file:///svn/tokudb@2556 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-05 18:34:32 +00:00
Bradley C. Kuszmaul
c479e99009 test.h was messed up.
git-svn-id: file:///svn/tokudb@2555 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-05 18:27:09 +00:00
Yoni Fogel
d7ddfcac6a Port to OSX, removed extra dynamic libraries
range tree and locktree unit testing uses static linking now

git-svn-id: file:///svn/tokudb@2554 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-05 18:14:52 +00:00
Yoni Fogel
4bf1350fc2 Addresses #350
Proper locking for c_put

git-svn-id: file:///svn/tokudb@2552 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-05 17:03:14 +00:00
Yoni Fogel
26384653de Makefiles ported to OSX,
Fixed non-standard calling convention for toku_rt_get_size

git-svn-id: file:///svn/tokudb@2551 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-05 17:01:34 +00:00
Rich Prohaska
27accc5a95 test tokudb on small thread stacks. address #464
git-svn-id: file:///svn/tokudb@2547 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-05 14:40:17 +00:00
Bradley C. Kuszmaul
02bbe94fbd Ooops. Addresses #467.
git-svn-id: file:///svn/tokudb@2546 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-05 14:37:25 +00:00
Bradley C. Kuszmaul
4e04fed3e6 Reduce symbol visibility. Fixes #467.
git-svn-id: file:///svn/tokudb@2541 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-05 11:54:58 +00:00
Bradley C. Kuszmaul
a29e5b60d6 I had broken the compile. Fixed. Addresses #27.
git-svn-id: file:///svn/tokudb@2540 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-05 09:52:35 +00:00
Rich Prohaska
759f3785a8 malloc temps in the deserialize_from function to fit within the mysql thread stack. close #464
git-svn-id: file:///svn/tokudb@2526 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-04 21:31:01 +00:00
Rich Prohaska
7d6663e214 malloc temps in smooth region to fit within the mysql thread stack. close #441
git-svn-id: file:///svn/tokudb@2525 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-04 21:27:15 +00:00
Bradley C. Kuszmaul
0b5e897d27 brt2 work
git-svn-id: file:///svn/tokudb@2516 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-03 23:24:04 +00:00
Rich Prohaska
1ef466eee2 get make check working
git-svn-id: file:///svn/tokudb@2502 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-03 14:30:19 +00:00
Rich Prohaska
32ae76dc9c add --norandom
git-svn-id: file:///svn/tokudb@2483 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-01 15:32:38 +00:00
Rich Prohaska
80679feb6c get the builds working
git-svn-id: file:///svn/tokudb@2474 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-29 22:35:52 +00:00
Bradley C. Kuszmaul
617bf8e7fc Oops, the make rule was wrong. Addresses #455.
git-svn-id: file:///svn/tokudb@2473 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-29 20:51:43 +00:00
Bradley C. Kuszmaul
574a4d035c Tests for #455. Fixes #455.
git-svn-id: file:///svn/tokudb@2472 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-29 20:49:18 +00:00
Bradley C. Kuszmaul
7ebf6bf352 Logging improvements. Mostly fixes #27. Addresses #455, #27.
git-svn-id: file:///svn/tokudb@2471 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-29 20:47:11 +00:00
Rich Prohaska
0c74e90477 set_lk_max_locks already added to the c++ interface. delete the extra junk. close #230
git-svn-id: file:///svn/tokudb@2468 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-29 18:30:44 +00:00
Rich Prohaska
1c7ca178d2 brt assert dupsort in handle_split_of_child. address #442
git-svn-id: file:///svn/tokudb@2450 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-28 13:14:50 +00:00
Rich Prohaska
4e40b47bb0 restore O2
git-svn-id: file:///svn/tokudb@2449 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-28 12:37:19 +00:00
Yoni Fogel
191578ef51 Port to Leopard
git-svn-id: file:///svn/tokudb@2442 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-27 21:02:31 +00:00
Yoni Fogel
e840d0a620 Modification of makefiles
git-svn-id: file:///svn/tokudb@2440 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-27 20:18:49 +00:00
Bradley C. Kuszmaul
ea663c9716 Fancy concurrent aborts and commits. Addresses #27.
git-svn-id: file:///svn/tokudb@2439 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-27 19:24:24 +00:00
Bradley C. Kuszmaul
56f7445fff One of the tests found a bug in the logging. (Logged key twice instead of key,data pair). Addresses #27.
git-svn-id: file:///svn/tokudb@2438 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-27 19:23:40 +00:00
Bradley C. Kuszmaul
957b081486 delete aborts work right now. Addresses #27.
git-svn-id: file:///svn/tokudb@2437 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-27 15:58:10 +00:00
Bradley C. Kuszmaul
dd4a6feabe Improvements to rollback. Addresses #27.
git-svn-id: file:///svn/tokudb@2435 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-27 11:05:19 +00:00
Bradley C. Kuszmaul
cb204011d6 Improvements to rollback. Addresses #27.
git-svn-id: file:///svn/tokudb@2434 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-27 09:05:58 +00:00
Bradley C. Kuszmaul
b0e3bf13ba halfway broken rollback for delete. Addresses #27.
git-svn-id: file:///svn/tokudb@2431 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-27 07:14:03 +00:00
Bradley C. Kuszmaul
6105ff5838 Rollback during abort. Fixes #448.
git-svn-id: file:///svn/tokudb@2423 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-26 17:47:40 +00:00
Bradley C. Kuszmaul
fe98679a2a Forgot to commit something. Addresses #27.
git-svn-id: file:///svn/tokudb@2422 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-26 15:54:14 +00:00
Bradley C. Kuszmaul
2eaeb874ed Separate the code for generating rollbacks and recover log entries. Addresses #27.
git-svn-id: file:///svn/tokudb@2420 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-26 15:51:15 +00:00
Rich Prohaska
d68e94a52e fix the extra node ref. address #431
git-svn-id: file:///svn/tokudb@2416 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-26 12:17:22 +00:00
Rich Prohaska
c6aade3b31 txn_abort does not abort. address #448
git-svn-id: file:///svn/tokudb@2411 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-26 01:56:46 +00:00
Bradley C. Kuszmaul
8fc142a8bb A little noise in the output. Addresses #446.
git-svn-id: file:///svn/tokudb@2410 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-25 23:35:19 +00:00
Bradley C. Kuszmaul
461f9e0010 Typo. Addresses #27.
git-svn-id: file:///svn/tokudb@2409 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-25 23:28:49 +00:00
Bradley C. Kuszmaul
4ed90cab5c Get rid of fmemopen. Fixes #446.
git-svn-id: file:///svn/tokudb@2408 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-25 23:27:21 +00:00
Bradley C. Kuszmaul
5f07bbf716 Make the test_error more comprehensive. Addresses #445.
git-svn-id: file:///svn/tokudb@2407 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-25 23:11:26 +00:00
Bradley C. Kuszmaul
712fcc5da1 Many things:
Make txn->abort work without bombing out for {{{test_txn_abort5}}} one case. Fixes #431.
 Start writing {{{test_txn_abort6}}}.   Addresses #443.
 Try to write a test for #399 and #400, but haven't managed to reproduce the problem.  Addresses #399, #400.
 Write a test for #332.  Addresses #332.


git-svn-id: file:///svn/tokudb@2406 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-25 22:46:48 +00:00
Rich Prohaska
0f9406a2a1 get it working on bdb address #431
git-svn-id: file:///svn/tokudb@2379 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-22 14:59:19 +00:00
Rich Prohaska
d63430669a get it working on bdb. address #431
git-svn-id: file:///svn/tokudb@2373 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-22 01:57:00 +00:00