Commit graph

5308 commits

Author SHA1 Message Date
Leif Walsh
2fd87df7ab change stress test script to save libutil.so and to recreate the paths for the libraries we need (gdb has trouble otherwise)
git-svn-id: file:///svn/toku/tokudb@50462 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:19 -04:00
John Esmet
7962622c05 refs #5710 add toku_current_time_nanosec, rename current_time_usec to use 'microsec' to be more consistent
git-svn-id: file:///svn/toku/tokudb@50454 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:19 -04:00
Zardosht Kasheff
b4f91e0727 refs #5654, fix invariants to run only if a txn exists, in some unit tests, a txn does not exist
git-svn-id: file:///svn/toku/tokudb@50453 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:19 -04:00
John Esmet
761e2ba496 refs #5710 not the right solution. needs to ignore secondary indexes and therefore get pushed to the handlerton
git-svn-id: file:///svn/toku/tokudb@50450 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:19 -04:00
Leif Walsh
8837da0f14 refs #5713 whoopsies, compile fix for release builds
git-svn-id: file:///svn/toku/tokudb@50428 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:19 -04:00
Leif Walsh
d04f506d6c closes #5713 make mutex initializers macros (as posix requires) and clean up the if statement garbage
git-svn-id: file:///svn/toku/tokudb@50424 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:19 -04:00
Leif Walsh
d50d088ea6 refs #4871 increase test timeout for test3529.tdb, apparently it takes a while in my freebsd vm
git-svn-id: file:///svn/toku/tokudb@50422 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:19 -04:00
John Esmet
df708c4e4f refs #5710 add FT_MSG_KEYVAL_BYTES_IN to measure the amount of key/value userdata ingested at the root. this value does not count message/xid overhead so it is a good denominator when calculating write amplification
git-svn-id: file:///svn/toku/tokudb@50404 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:19 -04:00
John Esmet
60854dacbc refs #5710 start new instrumentation work by cleaning out some commented out instrumentation in ft-ops
git-svn-id: file:///svn/toku/tokudb@50403 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:19 -04:00
Zardosht Kasheff
f4096a581d refs #5654, grab parent's txn lock when moving rollback entries from child to parent when the child commits. This prevents a race condition with a hot indexer simultaneously adding something to the parent's entry
git-svn-id: file:///svn/toku/tokudb@50375 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:19 -04:00
Leif Walsh
18243fc976 refs #5351 fix darwin build of examples/
git-svn-id: file:///svn/toku/tokudb@50367 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:19 -04:00
Leif Walsh
c85623e58f refs #5667 fix test_error a different way (that doesn't break)
git-svn-id: file:///svn/toku/tokudb@50341 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:19 -04:00
John Esmet
5a40b111e8 refs #5629 correct memory management in the callback
git-svn-id: file:///svn/toku/tokudb@50336 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:18 -04:00
Leif Walsh
cb466ea3a6 refs #5351 fix cmake invocation of test_stress0
git-svn-id: file:///svn/toku/tokudb@50330 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:18 -04:00
Leif Walsh
bcc068d012 refs #5671 increase timeout for upgrade stress tests
git-svn-id: file:///svn/toku/tokudb@50329 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:18 -04:00
John Esmet
e459c4b1c5 refs #5629 get rid of some unneeded byte flipping. stick to little endian witha little endian comparison function.
git-svn-id: file:///svn/toku/tokudb@50327 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:18 -04:00
Leif Walsh
7653a8165f closes #5667 add __SRCFILE__ to src/tests, use it in test_error.tdb
git-svn-id: file:///svn/toku/tokudb@50326 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:18 -04:00
Leif Walsh
d55461eb70 closes #5696 remove drd ignoring stuff, we think I fixed the bug in another way
git-svn-id: file:///svn/toku/tokudb@50325 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:18 -04:00
Zardosht Kasheff
21c863b635 closes #5669, increase the cachetable limit, it needs to be at least twice the size of the single pair that we have, otherwise, the evictor may sneak in when we are calling change_pair_attr, and catch the cachetable to have a size of 16, because we have added the new attr but not removed the old one
git-svn-id: file:///svn/toku/tokudb@50322 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:18 -04:00
Leif Walsh
997977d490 don't know what this refs, but increase timeout for loader-stress-del.comp.loader
git-svn-id: file:///svn/toku/tokudb@50321 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:18 -04:00
Leif Walsh
c69b88af16 refs #5671 increase join_timeout default to 1h
git-svn-id: file:///svn/toku/tokudb@50320 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:18 -04:00
John Esmet
a6d4ee723c refs #5629 respect the put flags
git-svn-id: file:///svn/toku/tokudb@50319 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:18 -04:00
John Esmet
ea7d0656be refs #5629 make sure we have 64 bit versions and there is a test for it
git-svn-id: file:///svn/toku/tokudb@50318 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:18 -04:00
John Esmet
c4a230cb1d refs #5629 add 64 bit host to net ordering
git-svn-id: file:///svn/toku/tokudb@50317 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:18 -04:00
John Esmet
67bf34707f refs #5629 ensure the proper byte order
git-svn-id: file:///svn/toku/tokudb@50316 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:18 -04:00
John Esmet
84d2b6350f refs #5702 fix generate row callback
git-svn-id: file:///svn/toku/tokudb@50314 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:18 -04:00
Leif Walsh
d341ca5098 refs #5671 increase timeout for drd_mid tests
git-svn-id: file:///svn/toku/tokudb@50312 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:18 -04:00
Leif Walsh
c8f788758c refs #4871 finish removing affinity stuff
git-svn-id: file:///svn/toku/tokudb@50311 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:18 -04:00
Leif Walsh
caafdfa859 don't know what this refs, but perf_iibench shouldn't build against bdb
git-svn-id: file:///svn/toku/tokudb@50310 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:18 -04:00
Leif Walsh
ac8329debe refs #5666 increase timeout for filesize.tdb, it's been timing out during coverage runs
git-svn-id: file:///svn/toku/tokudb@50309 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:18 -04:00
Leif Walsh
15e0df36fb refs #5671 implement join_timeout with a portable 'crash and dump core' function
git-svn-id: file:///svn/toku/tokudb@50308 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:18 -04:00
John Esmet
27d87f64c4 refs #5702 remove the old perf_insert_multiple, add the new perf_iibench. it is currently very simple. the first DB is a unique index with an autoincrement key, the rest of the DBs are non-unique and have random keys.
git-svn-id: file:///svn/toku/tokudb@50304 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:18 -04:00
John Esmet
689a93f5ff fixes #5701 The assert half correct, half over-active. When the manager's mutex is held it is okay to transition an existing locktree's reference count from 0 to 1. If the lock isn't held, it's a race, since one thread could be destroying the zero-ref count locktree when you're incrementing the count. The failure occurred with the manager's mutx held (so the assert was overactive) and it's a layering-pain to assert that the manager's mutex is held otherwise, so just get rid of it.
git-svn-id: file:///svn/toku/tokudb@50297 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:18 -04:00
Leif Walsh
c44f2c3d78 refs #5671 get cores on alarm failure
git-svn-id: file:///svn/toku/tokudb@50277 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:18 -04:00
John Esmet
55894dacb4 this test was not running properly, for some reason...
git-svn-id: file:///svn/toku/tokudb@50207 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:18 -04:00
Yoni Fogel
576cc5f168 refs #5697 revert r50161 (we don't want stress tests to quit hot indexes early)
git-svn-id: file:///svn/toku/tokudb@50177 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:18 -04:00
Leif Walsh
a60df40880 refs #5662 stagger the long running stress tests
git-svn-id: file:///svn/toku/tokudb@50176 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:18 -04:00
Leif Walsh
42dec70f10 refs #4883 remove affinity code, we weren't using it anyway
git-svn-id: file:///svn/toku/tokudb@50174 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:17 -04:00
Leif Walsh
1dad7e5575 refs #5662 fix script
git-svn-id: file:///svn/toku/tokudb@50172 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:17 -04:00
Leif Walsh
04f6bd0b51 refs #5662 every once in a while, run a stress test for a really long time
(an hour here)


git-svn-id: file:///svn/toku/tokudb@50170 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:17 -04:00
Leif Walsh
e750561cfe refs #5671 closes #5662 pass long join timeout for stress tests, fix num_ptquery/num_update reporting
git-svn-id: file:///svn/toku/tokudb@50169 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:17 -04:00
Leif Walsh
2687f3b7db refs #5671 adjust timeouts for drd tests
git-svn-id: file:///svn/toku/tokudb@50168 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:17 -04:00
Yoni Fogel
71e6505a20 refs #5697 hot indexing thread in stress test now polls for the test being over
git-svn-id: file:///svn/toku/tokudb@50161 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:17 -04:00
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
Leif Walsh
480b7b47d7 refs #5671 increase alarm time for drd_mid_* stress tests
git-svn-id: file:///svn/toku/tokudb@50141 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
34d5b33993 refs #5351 just change the size that test_stress0 runs with
git-svn-id: file:///svn/toku/tokudb@50134 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:17 -04:00
Leif Walsh
bf0a4c59fa refs #5351 don't do that
git-svn-id: file:///svn/toku/tokudb@50133 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:17 -04:00