Bradley C. Kuszmaul
7997c793d1
Implement {{{db_env_set_func_fsync}}} and write a test that can discern the use of group commit. Fixes #499 , #496 .
...
git-svn-id: file:///svn/tokudb@2655 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-09 02:39:37 +00:00
Bradley C. Kuszmaul
ff674a7fb9
Add {{{db_env_set_func_fsync}}}. Addresses #499 .
...
git-svn-id: file:///svn/tokudb@2650 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-08 21:29:27 +00:00
Bradley C. Kuszmaul
07d77ae582
Build a performance test for groupcommit. I don't know how to automate checking to see if it passed though. Addresses #496 .
...
git-svn-id: file:///svn/tokudb@2649 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-08 21:00:24 +00:00
Bradley C. Kuszmaul
04a61d98d5
set_lg_max is ipmlemented, tested, and documented. Fixes #79 .
...
git-svn-id: file:///svn/tokudb@2645 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-08 13:02:32 +00:00
Bradley C. Kuszmaul
b7bafe0a2a
The logs are sometimes slightly larger than the log max, so this bug isn't quite fixed. Addresses #79 .
...
git-svn-id: file:///svn/tokudb@2644 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-08 12:30:48 +00:00
Bradley C. Kuszmaul
12c2cc73f9
change DIR to ENVDIR in src/tests. Fixes #492 .
...
git-svn-id: file:///svn/tokudb@2643 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-08 12:18:19 +00:00
Bradley C. Kuszmaul
9f28cd26b2
Invoke set_lg_max in a couple of different sizes. Addresses #79 .
...
git-svn-id: file:///svn/tokudb@2642 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-08 11:53:33 +00:00
Yoni Fogel
7b84d27f27
Addresses #479
...
toku_rt_super_create now checks the ptree from its caller is not NULL
git-svn-id: file:///svn/tokudb@2632 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-07 23:04:09 +00:00
Yoni Fogel
220cadc295
Addresses #479
...
Initial version of range tree wrapper for redblacklib
This includes some notes, but nothing is really implemented.
The customized redblacklib does not yet exist for this.
git-svn-id: file:///svn/tokudb@2631 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-07 22:58:10 +00:00
Yoni Fogel
ddf39c0a0b
Standardized 'static inline' to be the default
...
(We had both inline static and static inline
git-svn-id: file:///svn/tokudb@2629 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-07 21:24:03 +00:00
Yoni Fogel
6d855c4f88
Addresses #479
...
Abstract the range tree to support multiple internal representations.
The shared portions are in rangetree-internal.h
git-svn-id: file:///svn/tokudb@2628 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-07 21:19:11 +00:00
Bradley C. Kuszmaul
374529389d
Add {{{set_lg_max()}}} and {{{get_lg_max}}}. Addresses #79 .
...
git-svn-id: file:///svn/tokudb@2627 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-07 21:03:06 +00:00
Bradley C. Kuszmaul
8df253ad08
Add h files. Addresses #79 .
...
git-svn-id: file:///svn/tokudb@2626 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-07 20:58:04 +00:00
Bradley C. Kuszmaul
5b8eb1bdb7
compute 32-bit offsets for {{{set_lg_max}}} and {{{get_lg_max}}}. Addresses #79 .
...
git-svn-id: file:///svn/tokudb@2624 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-07 20:57:13 +00:00
Yoni Fogel
e6e8a736be
Closes #466
...
All function names that started with __toku_ now start with
toku__
We no longer have function symbols that start with '__'
git-svn-id: file:///svn/tokudb@2623 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-07 20:11:27 +00:00
Bradley C. Kuszmaul
4af7f162dc
compute 32-bit offsets for {{{set_lg_max}}} and {{{get_lg_max}}}. Addresses #79 .
...
git-svn-id: file:///svn/tokudb@2622 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-07 20:10:21 +00:00
Bradley C. Kuszmaul
33805e6f99
Generate many logs the way it is supposed to. 100MB files. Fixes #485 .
...
git-svn-id: file:///svn/tokudb@2620 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-07 19:23:43 +00:00
Bradley C. Kuszmaul
3d86a14982
Implement DB_ENV->log_flush. Fixes #393 .
...
git-svn-id: file:///svn/tokudb@2610 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-07 11:34:10 +00:00
Bradley C. Kuszmaul
13b9c110ed
Clean up the make rules for parallel make. Addresses #468 .
...
git-svn-id: file:///svn/tokudb@2609 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-07 10:55:21 +00:00
Bradley C. Kuszmaul
e037aa5cae
Get DUPSORT dbs with logging to work without assertion failures. Recovery stlll is broken, however. Addresses #482 . Fixes #442 .
...
git-svn-id: file:///svn/tokudb@2602 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-07 02:06:15 +00:00
Bradley C. Kuszmaul
34c9448871
brt2 work. Addresses #472 .
...
git-svn-id: file:///svn/tokudb@2601 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-06 23:38:26 +00:00
Bradley C. Kuszmaul
520a93a3e6
off-end-of-memory error found by valgrind. Addresses #126
...
git-svn-id: file:///svn/tokudb@2599 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-06 22:48:07 +00:00
Bradley C. Kuszmaul
fad4cf7bbe
Get rid of 'time' in newbrt tests.
...
git-svn-id: file:///svn/tokudb@2597 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-06 22:01:21 +00:00
Bradley C. Kuszmaul
7fdfd6fee2
Checked something in that is broken. Remove it.
...
git-svn-id: file:///svn/tokudb@2596 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-06 22:00:05 +00:00
Bradley C. Kuszmaul
068ed621fd
Make cxx work again after visibility restrictions. Fixes #481 .
...
git-svn-id: file:///svn/tokudb@2595 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-06 21:59:07 +00:00
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