Rich Prohaska
6f8c78d19b
#4869 #4753 simplify the pthreads api, remove dead code, remove untest error recovery patch, increase test coverage refs[t:4753]
...
git-svn-id: file:///svn/toku/tokudb@43590 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:31 -04:00
Leif Walsh
899cbfff3d
[t:4871] increase timeouts for tests that still fail because of it
...
git-svn-id: file:///svn/toku/tokudb@43577 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:31 -04:00
Leif Walsh
7a958ca78d
[t:4741] fix more tests that need to call toku_brtnode_pe_callback with a valid header
...
git-svn-id: file:///svn/toku/tokudb@43557 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:31 -04:00
Leif Walsh
757a7ffb92
[t:4741] fixing tests that assume brtnodes have brt_header references
...
git-svn-id: file:///svn/toku/tokudb@43556 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:31 -04:00
Leif Walsh
6419a8e4cf
[t:4741] remove my_fake_header and my_header from orthopush-flush.c
...
git-svn-id: file:///svn/toku/tokudb@43555 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:31 -04:00
Leif Walsh
d9639d75e0
[t:4741] finish removing brt_header reference from brtnode
...
git-svn-id: file:///svn/toku/tokudb@43554 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:31 -04:00
Leif Walsh
e63ac31444
[t:4741] fix some tests zardosht broke ;-)
...
git-svn-id: file:///svn/toku/tokudb@43553 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:31 -04:00
Leif Walsh
2888f3a7ab
[t:4741] rename functions that apply cmds, to reference the objects they're dealing with (i.e. leaf->bn)
...
git-svn-id: file:///svn/toku/tokudb@43546 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:30 -04:00
Zardosht Kasheff
f65aa1311b
[t:4741], remove unnecessary parameters
...
git-svn-id: file:///svn/toku/tokudb@43544 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:30 -04:00
Zardosht Kasheff
ecce75bef0
[t:4741], more simplifications
...
git-svn-id: file:///svn/toku/tokudb@43542 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:30 -04:00
Zardosht Kasheff
c61cedcc73
[t:4741], fix toku_bnc_flush_to_child
...
git-svn-id: file:///svn/toku/tokudb@43532 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:30 -04:00
Leif Walsh
53f9054648
[t:4871] make newbrt tests use temp files in the build directory, not the source directory
...
git-svn-id: file:///svn/toku/tokudb@43513 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:30 -04:00
Leif Walsh
d3aaa32b20
[t:4882] change compression type to be set before create
...
this means you have to set the compression type before calling db->open
and you can't change it after that
we also log it now
this bumps the version layout to BRT_LAYOUT_VERSION_20
git-svn-id: file:///svn/toku/tokudb@43511 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:29 -04:00
Leif Walsh
fd11871393
[t:4241] use DBTs instead of kv_pairs. closes #4241
...
removes kv-pair.h completely. now childkeys are DBTs.
two new DBT functions help this. toku_clone_dbt memdup's the data.
toku_copyref_dbt steals the existing data and does not malloc.
git-svn-id: file:///svn/toku/tokudb@43495 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:29 -04:00
Zardosht Kasheff
7db834d5c9
[t:4765], remove usage of txn OMTs from toku_brt_root_put_cmd
...
git-svn-id: file:///svn/toku/tokudb@43494 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:29 -04:00
Leif Walsh
c80afed609
[t:4871] increase test timeout for some valgrind tests
...
git-svn-id: file:///svn/toku/tokudb@43485 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:29 -04:00
Leif Walsh
d58b1a3331
[t:4871] really turn on -Werror, make things compile with it
...
git-svn-id: file:///svn/toku/tokudb@43473 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:29 -04:00
Leif Walsh
a97f51e3f0
[t:4277] fix clang compilation warning and make orthopush-flush faster
...
clang complains about a variable-length static array in a struct, this is
nonstandard
decrease the nodesize and bn size of orthopush-flush, this makes it run a
lot faster without losing effectiveness
git-svn-id: file:///svn/toku/tokudb@43465 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:29 -04:00
Zardosht Kasheff
5ff1a02587
[t:4875], fix setting of a header's root_blocknum to go through brt_header
...
git-svn-id: file:///svn/toku/tokudb@43461 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:29 -04:00
Leif Walsh
da397bda92
[t:4871] increase test timeouts for some more tests
...
git-svn-id: file:///svn/toku/tokudb@43438 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:28 -04:00
Rich Prohaska
c484a47725
#4869 increase code coverage of some logging code refs[t:4869]
...
git-svn-id: file:///svn/toku/tokudb@43404 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:27 -04:00
Zardosht Kasheff
357b4981c2
[t:4768], [t:4829], [t:4834], [t:4511], [t:4513], merge fixes to main
...
git-svn-id: file:///svn/toku/tokudb@43396 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:27 -04:00
Leif Walsh
2bb02c83cd
[t:4814] clean up and comment the CMakeLists.txts
...
git-svn-id: file:///svn/toku/tokudb@43367 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:27 -04:00
Leif Walsh
52cad75df0
[t:4814] make more tests' timeouts longer
...
git-svn-id: file:///svn/toku/tokudb@43341 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:27 -04:00
Leif Walsh
e76c88b8de
[t:4814] increase test timeout for more tests
...
git-svn-id: file:///svn/toku/tokudb@43324 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:26 -04:00
Leif Walsh
2bd3f447c1
[t:4858] merge 4858 to mainline
...
git-svn-id: file:///svn/toku/tokudb@43285 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:26 -04:00
Leif Walsh
9e2793e707
[t:4814] fix lengthening the timeout of tests
...
git-svn-id: file:///svn/toku/tokudb@43210 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:26 -04:00
Leif Walsh
0e158826e8
[t:4814] give some tests more time to complete in valgrind
...
git-svn-id: file:///svn/toku/tokudb@43209 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:26 -04:00
Leif Walsh
63b1969fbb
[t:4814] merging cmake work to mainline
...
git-svn-id: file:///svn/toku/tokudb@43179 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:25 -04:00
Zardosht Kasheff
a51493dd07
[t:4831], [t:4832], merge to main
...
git-svn-id: file:///svn/toku/tokudb@43069 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:25 -04:00
Christian Rober
7a95b9eb98
[t:4759] Added extra non-flat 4.2 tree with nested transactions to get better coverage in brt-serialize.c and ule.c.
...
git-svn-id: file:///svn/toku/tokudb@42768 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:25 -04:00
Zardosht Kasheff
a95207a7cd
[t:4775], remove NONLEAF_CHILDINFO->n_bytes_in_buffer
...
git-svn-id: file:///svn/toku/tokudb@42751 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:24 -04:00
Zardosht Kasheff
c4960e31ea
[t:3748], remove test3748, no longer applies
...
git-svn-id: file:///svn/toku/tokudb@42747 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:24 -04:00
Zardosht Kasheff
86646f79af
[t:4740], remove fifo->memory_start
...
git-svn-id: file:///svn/toku/tokudb@42746 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:24 -04:00
Zardosht Kasheff
32ebfca6ad
[t:4793], add a test
...
git-svn-id: file:///svn/toku/tokudb@42600 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:23 -04:00
Rich Prohaska
cf28e8ea6c
#4799 turn off valgrind for upgrade_test_simple refs[t:4799]
...
git-svn-id: file:///svn/toku/tokudb@42598 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:23 -04:00
Christian Rober
6678733691
[t:4759] Adding extra checks to existing auto upgrade tests.
...
git-svn-id: file:///svn/toku/tokudb@42487 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:23 -04:00
Zardosht Kasheff
340045d062
[t:4762], merge to main
...
git-svn-id: file:///svn/toku/tokudb@42336 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:23 -04:00
Rich Prohaska
e25ea55928
#4682 remove cilkarts code from the loader. refs[t:4682]
...
git-svn-id: file:///svn/toku/tokudb@42090 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:22 -04:00
Leif Walsh
8d0368fd2f
[t:3983] merging auto-upgrade to mainline
...
git-svn-id: file:///svn/toku/tokudb@41591 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:17 -04:00
Zardosht Kasheff
07d38f9161
[t:4541], merge to main
...
git-svn-id: file:///svn/toku/tokudb@41538 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:15 -04:00
Leif Walsh
36eb33a18e
[t:4635] fixing the loader to work with compression types, and fixing some tests
...
git-svn-id: file:///svn/toku/tokudb@41510 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:14 -04:00
Leif Walsh
43e5551390
[t:4635] merging fractal tree and handlerton code to main
...
git-svn-id: file:///svn/toku/tokudb@41503 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:14 -04:00
Bradley C. Kuszmaul
7ad7bb0611
close[t:4298] Merge from 4298j: {{{svn merge -c41355 ../tokudb.4298i}}}. Closes #4298 .
...
git-svn-id: file:///svn/toku/tokudb@41357 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:14 -04:00
Zardosht Kasheff
7942bcf209
[t:4028], merge to main
...
git-svn-id: file:///svn/toku/tokudb@41142 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:13 -04:00
Rich Prohaska
64da224f05
#4455 add txn create and start to the tokutxn API. this allows a txn to be created without holding any locks refs[t:4455]
...
git-svn-id: file:///svn/toku/tokudb@40438 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:12 -04:00
Zardosht Kasheff
f23bf9e621
[t:4545], add cachetable test
...
git-svn-id: file:///svn/toku/tokudb@40207 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:11 -04:00
Zardosht Kasheff
64b8d0d611
[t:4552], fix compilation issue in test
...
git-svn-id: file:///svn/toku/tokudb@40181 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:11 -04:00
Zardosht Kasheff
ae24a59ae9
[t:4552], finish fix
...
git-svn-id: file:///svn/toku/tokudb@40180 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:11 -04:00
Zardosht Kasheff
753cba24c9
[t:4552], make unpinning of node cheaper for reads
...
git-svn-id: file:///svn/toku/tokudb@40161 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:11 -04:00