Commit graph

4626 commits

Author SHA1 Message Date
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
Leif Walsh
d74ecf32ad [t:4814] don't patch out recovery_fileops_unit.tdb, we want it to run and
need to fix it


git-svn-id: file:///svn/toku/tokudb@43403 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:27 -04:00
Leif Walsh
38aa1e7f80 [t:4814] also run tests normally with icc debug build
git-svn-id: file:///svn/toku/tokudb@43401 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:27 -04:00
Leif Walsh
f74b4ee762 [t:4814] fix symbol existence checking
git-svn-id: file:///svn/toku/tokudb@43400 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
581cc5dbb6 [t:4814] fix project root name
git-svn-id: file:///svn/toku/tokudb@43395 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:27 -04:00
Leif Walsh
86b0dc74ad [t:4814] fix cmake error
git-svn-id: file:///svn/toku/tokudb@43369 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:27 -04:00
Leif Walsh
0bef6fc243 [t:4814] fix cmake error
git-svn-id: file:///svn/toku/tokudb@43368 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
a759afe7bd [t:4814] ignore warning about linking with dynamic cilkrts
git-svn-id: file:///svn/toku/tokudb@43342 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
482a652da7 [t:4814] fix non-static warning in make_tdb.c, ignore warnings about test-rwlock.c for now
git-svn-id: file:///svn/toku/tokudb@43340 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
40c41bbbff [t:4814] remove --run-libc-freeres=no because I fixed how things were getting linked, apparently, and don't need that anymore (it was generating false valgrind failures)
git-svn-id: file:///svn/toku/tokudb@43312 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:26 -04:00
Yoni Fogel
a49100caba [t:4844] closes #4844 Fix deadlock issue with row locks, add minor optimizations, and cleanup
Deleted duplicate function, added some optimizations to make 'no lock conflict' faster
since it's the common case.

Cleaned up the way lock tree row lock conflicts are tested (only for the new test and one existing one)


git-svn-id: file:///svn/toku/tokudb@43303 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
08449ab58b [t:4814] don't error on __libc_freeres with valgrind
git-svn-id: file:///svn/toku/tokudb@43248 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:26 -04:00