Commit graph

5252 commits

Author SHA1 Message Date
John Esmet
3ebf117c33 refs #5351 correct corner case that was causing +inf, +inf point to not be covered by unit test
git-svn-id: file:///svn/toku/tokudb@50109 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:17 -04:00
Leif Walsh
6de19f8683 refs #5671 increase default alarm time for stress tests
git-svn-id: file:///svn/toku/tokudb@50068 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
Rich Prohaska
49b2b3ebc4 refs #5686 fix a crash during assert
git-svn-id: file:///svn/toku/tokudb@49989 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:16 -04:00
Leif Walsh
c4e345271d refs #5666 fix filesize.tdb
git-svn-id: file:///svn/toku/tokudb@49988 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:16 -04:00
Leif Walsh
4b5043eac0 closes #5419 account for actual time slept, not just how long we wanted to sleep, and set an alarm to make sure it doesn't take too long to end the test
git-svn-id: file:///svn/toku/tokudb@49986 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
John Esmet
5e77abda14 refs #5351 fix bad merge onto main, revert test_stress1 to the correct test...
git-svn-id: file:///svn/toku/tokudb@49963 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:16 -04:00
John Esmet
b15afefe89 refs #5351 fix an overactive assert. just ignore the bit for now because the lock request layer does not know that write locks do not realy exist.
git-svn-id: file:///svn/toku/tokudb@49962 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
John Esmet
43d1d20ae6 fix DRD failures in the threaded stress framework and locktree
git-svn-id: file:///svn/toku/tokudb@49960 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
3556f22396 refs #5351 put this in the race tools header, make sure it does not break a release build
git-svn-id: file:///svn/toku/tokudb@49925 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:16 -04:00
John Esmet
1840969538 refs #5684 low hanging fruit - do not try to get the write lock from the locktree if we did a unique check, because the log was already grabbed by the cursor callback.
git-svn-id: file:///svn/toku/tokudb@49922 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:16 -04:00
John Esmet
85594f4e49 refs #5351 fix various drd and helgrind related issues. tree rotations should no longer be problematic with race tools.
git-svn-id: file:///svn/toku/tokudb@49920 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:16 -04:00
John Esmet
d61566864e refs #5351 set the mutex to zero first
git-svn-id: file:///svn/toku/tokudb@49918 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:16 -04:00
John Esmet
6ee5fff9f7 refs #5351 fix test
git-svn-id: file:///svn/toku/tokudb@49917 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:16 -04:00
John Esmet
f0a8035a35 refs #5351 remove printf
git-svn-id: file:///svn/toku/tokudb@49916 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
John Esmet
d49dd4f15b refs #5351 have the locktree link with portability and ft and make sure a printf uses a portable format specifier
git-svn-id: file:///svn/toku/tokudb@49888 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
ba5f650495 refs #5351 clean up a race condition for sanitation reasons
git-svn-id: file:///svn/toku/tokudb@49868 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:15 -04:00
John Esmet
bcd522eac0 refs #5351 propset id on lock_request.h
git-svn-id: file:///svn/toku/tokudb@49866 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:15 -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
Leif Walsh
a67344b336 refs #5351 tighten up acquire_lock after cleanup
git-svn-id: file:///svn/toku/tokudb@49863 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:15 -04:00
Leif Walsh
c08bafb348 refs #5351 clang compilation cleanup after 5351 merge
git-svn-id: file:///svn/toku/tokudb@49862 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
Leif Walsh
94097a5676 refs #5351 fix test_stress0 stuff in cmake
git-svn-id: file:///svn/toku/tokudb@49860 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:15 -04:00
John Esmet
f3894098a6 refs #5351 fix compile
git-svn-id: file:///svn/toku/tokudb@49858 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
e8bd46c339 refs #5418 suppress filesize.tdb as well
git-svn-id: file:///svn/toku/tokudb@49777 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
e3fa359bc8 refs #5418 fix linux clang compile
git-svn-id: file:///svn/toku/tokudb@49773 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
Leif Walsh
4a42b65d67 refs #5418 #5666 don't run keyrange tests until leif fixes them
git-svn-id: file:///svn/toku/tokudb@49757 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:15 -04:00
Leif Walsh
ad7dd5ca43 refs #5418 don't run seqinsert with bdb
git-svn-id: file:///svn/toku/tokudb@49753 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:15 -04:00
John Esmet
102c94a724 refs #5351 fix a bug where we lose 4 bytes of the key. this is important when your random number generator is generating 8 bytes of randomness but you're only benefitting from 4 bytes of it.
git-svn-id: file:///svn/toku/tokudb@49751 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:15 -04:00
Leif Walsh
34074167cc refs #5418 fix compile on darwin
git-svn-id: file:///svn/toku/tokudb@49728 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
Leif Walsh
eaea84bfdc refs #4871 use lex1:8080 to submit results to, lets us use /etc/hosts to submit from other machines
git-svn-id: file:///svn/toku/tokudb@49611 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:14 -04:00