Leif Walsh
5894b15cba
[t:4871] add make clean to the nightly script
...
git-svn-id: file:///svn/toku/tokudb@43520 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
Zardosht Kasheff
b2449e6b7b
[t:4875], fix tests due to change in calculating stats->fsize
...
git-svn-id: file:///svn/toku/tokudb@43508 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:29 -04:00
Zardosht Kasheff
f666ee0394
[t:4875], move brt_stat64 work to brt_header.c
...
git-svn-id: file:///svn/toku/tokudb@43499 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
f84e764d96
[t:4871] run long tests on all builds on nightly tests
...
git-svn-id: file:///svn/toku/tokudb@43493 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:29 -04:00
Leif Walsh
6127e53606
[t:4871] don't run drd_test_4015 under memcheck
...
git-svn-id: file:///svn/toku/tokudb@43491 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:29 -04:00
Leif Walsh
a4fdd8d636
[t:4871] fixing warning options
...
git-svn-id: file:///svn/toku/tokudb@43489 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:29 -04:00
Rich Prohaska
28eb6df387
#4869 remove dead code from fifo.c refs[t:4869]
...
git-svn-id: file:///svn/toku/tokudb@43488 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
b971313f9f
[t:4871] don't use version-script on darwin, it's unsupported
...
git-svn-id: file:///svn/toku/tokudb@43472 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:29 -04:00
Leif Walsh
0a6e7d3065
[t:4871] add <stdbool.h> to rwlock_condvar.h because it's needed on osx
...
git-svn-id: file:///svn/toku/tokudb@43468 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
ff743033dd
[t:5875], some stylistic changes
...
git-svn-id: file:///svn/toku/tokudb@43464 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:29 -04:00
Zardosht Kasheff
bbad90a58f
[t:4875], move some small functions over
...
git-svn-id: file:///svn/toku/tokudb@43463 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
676654a13f
[t:4778] upgrade subtree estimates to stat64info using real code. fix #4778
...
refactor existing node deserialization code so that upgrading a header can
call deserialization code on the root node and get stat64info instead of
deserializing it manually.
git-svn-id: file:///svn/toku/tokudb@43459 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:29 -04:00
Zardosht Kasheff
ee6094ccce
[t:4875], move toku_calculate_root_offset_pointer to brt_header.c
...
git-svn-id: file:///svn/toku/tokudb@43457 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:29 -04:00
Leif Walsh
0fe5c41c2c
[t:4871] increase timeout on recovery_fileops_unit.tdb
...
git-svn-id: file:///svn/toku/tokudb@43447 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:28 -04:00
Leif Walsh
06f94d3fc5
[t:4871] add --commit option to fractal tree tests script
...
git-svn-id: file:///svn/toku/tokudb@43446 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:28 -04:00
Leif Walsh
6067c6d3f9
[t:4871] make new test script executable
...
git-svn-id: file:///svn/toku/tokudb@43445 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:28 -04:00
Leif Walsh
bd78c8b33f
[t:4871] add run.fractal.tree.tests.now.bash for running the nightly suite on a development checkout
...
git-svn-id: file:///svn/toku/tokudb@43443 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:28 -04:00
Zardosht Kasheff
28116fe48d
[t:4872], fix warning
...
git-svn-id: file:///svn/toku/tokudb@43442 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:28 -04:00
Zardosht Kasheff
6f2c27d1de
[t:4872], fix warning
...
git-svn-id: file:///svn/toku/tokudb@43441 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:28 -04:00
Leif Walsh
e057b9ad8c
[t:4871] turn -Werror back on
...
git-svn-id: file:///svn/toku/tokudb@43440 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:28 -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
Zardosht Kasheff
66b56b6be0
[t:4874], make toku_brtheader_remove_txn_ref still depend on the ydb lock. Holding the header lock while trying to close leads to deadlocks. Need to rethink how to get close during toku_brtheader_remove_txn_ref working
...
git-svn-id: file:///svn/toku/tokudb@43437 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:28 -04:00
Zardosht Kasheff
2fae14ff30
[t:4874], fix silly bug in toku_brtheader_maybe_add_txn_ref
...
git-svn-id: file:///svn/toku/tokudb@43436 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:28 -04:00
Leif Walsh
2c4211ad93
[t:4871] build tag databases on generated headers
...
git-svn-id: file:///svn/toku/tokudb@43435 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:28 -04:00
Zardosht Kasheff
34b3dae38e
[t:4880], fix toku_brtheader_get_some_existing_brt
...
git-svn-id: file:///svn/toku/tokudb@43434 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:28 -04:00
Zardosht Kasheff
b5084ff8a0
[t:4874], remove dependence of ydb lock from h->live_brts and live->txns
...
git-svn-id: file:///svn/toku/tokudb@43433 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:28 -04:00
Zardosht Kasheff
20d141c02d
[t:4874], move all usage of h->live_brts to brt_header.c
...
git-svn-id: file:///svn/toku/tokudb@43432 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:28 -04:00
Zardosht Kasheff
dae4aa0c10
[t:4880], have toku_logger_close_rollback call toku_brt_close
...
git-svn-id: file:///svn/toku/tokudb@43431 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:28 -04:00
Zardosht Kasheff
c2f5ebd9a8
[t:4875], reorder some functions in brt_header.c to put logically connected functions next to each other
...
git-svn-id: file:///svn/toku/tokudb@43430 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:28 -04:00
Zardosht Kasheff
9b6aa5a527
[t:4875], add some comments
...
git-svn-id: file:///svn/toku/tokudb@43429 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:28 -04:00
Zardosht Kasheff
445f9283d5
[t:4875], memset header to 0 when creating it, get rid of calls to toku_read_brt_header_and_store_in_cachefile in brt-test-helpers
...
git-svn-id: file:///svn/toku/tokudb@43428 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:28 -04:00
Zardosht Kasheff
f3a3fe1e44
[t:4875], clean up toku_create_new_brtheader
...
git-svn-id: file:///svn/toku/tokudb@43427 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:28 -04:00
Zardosht Kasheff
9a3cf1670a
[t:4875], move some more stuff over to brt_header.c, make some functions static
...
git-svn-id: file:///svn/toku/tokudb@43426 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:28 -04:00
Zardosht Kasheff
e471d2820c
[t:4875], add brt_header.h and move functions there
...
git-svn-id: file:///svn/toku/tokudb@43425 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:28 -04:00
Zardosht Kasheff
0414ce9065
[t:4875], remove tabs from brt_header.c
...
git-svn-id: file:///svn/toku/tokudb@43424 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:27 -04:00
Zardosht Kasheff
df8622d4d1
[t:4875], remove unneeded includes
...
git-svn-id: file:///svn/toku/tokudb@43423 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:27 -04:00
Zardosht Kasheff
5c4c022e9c
[t:4875], create brt_header.c to isolate header code
...
git-svn-id: file:///svn/toku/tokudb@43422 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:27 -04:00
Rich Prohaska
0a2f3a36aa
#4869 increase test coverage of txn.c, remove spin locks refs[t:4869]
...
git-svn-id: file:///svn/toku/tokudb@43421 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:27 -04:00
Zardosht Kasheff
e584e1cf35
[t:4872], remove superfluous usage of ydb lock in ydb_db.c
...
git-svn-id: file:///svn/toku/tokudb@43410 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:27 -04:00
Leif Walsh
43572373c5
[t:4814] never ever pass -DNDEBUG
...
git-svn-id: file:///svn/toku/tokudb@43406 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:27 -04:00
Leif Walsh
f9e6f808ac
[t:4814] fix recovery_fileops_unit.tdb runner
...
git-svn-id: file:///svn/toku/tokudb@43405 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:27 -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