Commit graph

360 commits

Author SHA1 Message Date
Leif Walsh
b007ef017d refs #5696 possible fix for drd issues, and for what seems like a typo condition
git-svn-id: file:///svn/toku/tokudb@50158 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:17 -04:00
Leif Walsh
09ff3e9c8d refs #5671 drd annotations got weird recently
git-svn-id: file:///svn/toku/tokudb@50150 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:17 -04:00
Leif Walsh
0cc7d82904 refs #5418 fix typo, include config.h from toku_assert.h so that we always know whether or not to be paranoid
git-svn-id: file:///svn/toku/tokudb@50147 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:17 -04:00
Yoni Fogel
3af91c0f51 refs #5467 merge "kill put loader, fix hot indexer freeze issue" onto main
git-svn-id: file:///svn/toku/tokudb@50137 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:17 -04:00
Leif Walsh
83c6154273 refs #5671 another leak
git-svn-id: file:///svn/toku/tokudb@50128 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:17 -04:00
Leif Walsh
ddc8d821c1 refs #5671 fix memory leaks
git-svn-id: file:///svn/toku/tokudb@50126 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:17 -04:00
Leif Walsh
9688214ba7 refs #5671 fix a memory leak in test helpers
git-svn-id: file:///svn/toku/tokudb@50124 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:17 -04:00
Leif Walsh
346a38e001 refs #5671 fix an off-by-one error
git-svn-id: file:///svn/toku/tokudb@50065 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:17 -04:00
Leif Walsh
704131bf4b refs #5684 fix compilation
git-svn-id: file:///svn/toku/tokudb@50064 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:16 -04:00
John Esmet
17d9bd691c fixes #5684 do not memset on fake_db. only set the cmp descriptor.
git-svn-id: file:///svn/toku/tokudb@50063 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:16 -04:00
Leif Walsh
aab744ac1b refs #5671 add toku_memdup_dbt, it's cleaner
git-svn-id: file:///svn/toku/tokudb@50011 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:16 -04:00
Leif Walsh
4258288eb9 refs #5671 also don't use copyref in ft-ops.cc
git-svn-id: file:///svn/toku/tokudb@50010 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:16 -04:00
Leif Walsh
44e625c726 closes #5671 don't assert in a weird case with left-heavy uneven splits, beef up ybt usage
git-svn-id: file:///svn/toku/tokudb@50009 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:16 -04:00
John Esmet
44a1de0280 refs #5351 fix memory leak on main
git-svn-id: file:///svn/toku/tokudb@49965 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:16 -04:00
Zardosht Kasheff
f95d0fadfb closes #5685, dirty the rollback log node when we give it to a transaction after rollback_log_node_cache.get_rollback_log_node
git-svn-id: file:///svn/toku/tokudb@49961 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:16 -04:00
Zardosht Kasheff
632e525cfb closes #5682, set dirty bit to 0 after cloning a rollback log node
git-svn-id: file:///svn/toku/tokudb@49932 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:16 -04:00
John Esmet
1fbd9dd387 refs #5676 this should not be on main...
git-svn-id: file:///svn/toku/tokudb@49912 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:16 -04:00
Leif Walsh
ffe2a5d87c refs #5351 fix mutexattr stuff for darwin
git-svn-id: file:///svn/toku/tokudb@49885 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:16 -04:00
John Esmet
d44504d797 fix an error case that was confusing the optimization, which broke the build
git-svn-id: file:///svn/toku/tokudb@49874 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:16 -04:00
John Esmet
12803248af refs #5351 do not use the static initializer in a dynamic context, because it confuses tools like helgrind which look for create/destroy pairs to validate mutex handling
git-svn-id: file:///svn/toku/tokudb@49865 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:15 -04:00
John Esmet
6002ec10c0 refsf #5351 fix a very strange warning from the optimizer
git-svn-id: file:///svn/toku/tokudb@49861 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:15 -04:00
John Esmet
65cd284834 fixes #5351 fixes #5528 merge the new locktree to main. the locktree, locktree manager, and blocking lock request api are implemented at the toplevel under locktree/ and the ydb layer has been modified to use the new API. some kruft has been deleted from various parts of the source tree and these merge also includes a change where we kill 'includes.h'
git-svn-id: file:///svn/toku/tokudb@49851 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:15 -04:00
Leif Walsh
2fb9deb055 refs #5418 shrink benchmark-test a bit so it completes faster
git-svn-id: file:///svn/toku/tokudb@49775 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:15 -04:00
Leif Walsh
2c45ee3a31 refs #5418 add --verify_period to benchmark-test
git-svn-id: file:///svn/toku/tokudb@49772 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:15 -04:00
Leif Walsh
df8d7e9f2f refs #5418 don't run such a large benchmark-test under valgrind
git-svn-id: file:///svn/toku/tokudb@49758 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:15 -04:00
Yoni Fogel
1740c966e2 fix benchmark-test test (1 was misplaced)
git-svn-id: file:///svn/toku/tokudb@49709 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:15 -04:00
Yoni Fogel
b211b37602 Add extra options to benchmark-test
git-svn-id: file:///svn/toku/tokudb@49708 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:14 -04:00
Leif Walsh
bf70bbb898 refs #5418 merge promotion to main
git-svn-id: file:///svn/toku/tokudb@49697 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:14 -04:00
Rich Prohaska
609d0dca91 get ftdump interactive mode working
git-svn-id: file:///svn/toku/tokudb@49645 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:14 -04:00
Zardosht Kasheff
3ec4608bf9 refs #5661, move advancement of cleaner head to outside of if-clause, preventing infinite loop in cleaner
git-svn-id: file:///svn/toku/tokudb@49557 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:14 -04:00
Zardosht Kasheff
e5faea7b5c closes #5661, fix drd issue
git-svn-id: file:///svn/toku/tokudb@49538 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:14 -04:00
Leif Walsh
9659dc651c increase timeout for benchmark-test_256
git-svn-id: file:///svn/toku/tokudb@49528 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:14 -04:00
Zardosht Kasheff
979df60ec4 closes #5641, change cycle detection for evictor. It is not perfect, but should be good enough. We are guaranteed to never keep spinning and spinning
git-svn-id: file:///svn/toku/tokudb@49505 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:14 -04:00
Zardosht Kasheff
5de577dd0d closes #5653, export a function to change number of bucket mutexes
git-svn-id: file:///svn/toku/tokudb@49497 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:14 -04:00
Zardosht Kasheff
ae017d29b7 refs #5651, fix a small issue
git-svn-id: file:///svn/toku/tokudb@49477 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:14 -04:00
Zardosht Kasheff
cd791c3206 closes #5651, make closing a cachefile cheaper
git-svn-id: file:///svn/toku/tokudb@49470 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:14 -04:00
Zardosht Kasheff
ddfd46fb56 refs #5634, merge bucket mutexes to main
git-svn-id: file:///svn/toku/tokudb@49391 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:14 -04:00
Leif Walsh
983eb0467c refs #5632 add a portability layer for adaptive mutexes
git-svn-id: file:///svn/toku/tokudb@49239 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:13 -04:00
Zardosht Kasheff
f881ee6421 refs #5560, fix bug
git-svn-id: file:///svn/toku/tokudb@49140 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:13 -04:00
Zardosht Kasheff
baf1831ffe refs #5560, merge to main
git-svn-id: file:///svn/toku/tokudb@49128 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:13 -04:00
Leif Walsh
264a8e65ed refs #5592 fix linking of util, again...
git-svn-id: file:///svn/toku/tokudb@48823 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:13 -04:00
Leif Walsh
774afe534d refs #5592 move circular_buffer, omt, threadpool, growable_array, rwlock, frwlock, kibbutz, mempool, partitioned_counter, nb_mutex, sort to util/, and some other cleanup stuff
git-svn-id: file:///svn/toku/tokudb@48763 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:13 -04:00
Leif Walsh
589813ac5c refs #5368 add portability wrapper for sched_setaffinity/sched_getaffinity
git-svn-id: file:///svn/toku/tokudb@48692 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:12 -04:00
Leif Walsh
5abdff33ff refs #5464 move partitioned_counters_init/destroy to portability
git-svn-id: file:///svn/toku/tokudb@48690 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:12 -04:00
Leif Walsh
3aa6cee438 refs #5464 had to move a few more things
git-svn-id: file:///svn/toku/tokudb@48679 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:12 -04:00
Leif Walsh
75e38b2d79 refs #5464 move partitioned_counter completely to portability
git-svn-id: file:///svn/toku/tokudb@48678 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:12 -04:00
Leif Walsh
d0f88d2d54 closes #5544 fix mem leaks
git-svn-id: file:///svn/toku/tokudb@48499 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:12 -04:00
Leif Walsh
95d0eb9b33 refs #5542 add simple test for ftdump
git-svn-id: file:///svn/toku/tokudb@48495 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:12 -04:00
Leif Walsh
59c7cfc479 refs #5543 make ftverify use argv[0] to name itself
git-svn-id: file:///svn/toku/tokudb@48493 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:12 -04:00
Leif Walsh
7c1d2ba0a3 refs #5542 add toku_ft_layer_init/destroy to ftdump
git-svn-id: file:///svn/toku/tokudb@48491 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:12 -04:00