Commit graph

5345 commits

Author SHA1 Message Date
Leif Walsh
faa4928a74 refs #5672 #5742 suppress race we know about on size_current/size_evicting, suppress more warnings from that helgrind bug
git-svn-id: file:///svn/toku/tokudb@50725 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:21 -04:00
Leif Walsh
ae57be8d78 refs #5127 handle jemalloc static linking with --soname-synonyms from valgrind 3.8
git-svn-id: file:///svn/toku/tokudb@50724 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:21 -04:00
Leif Walsh
032ed0c0ca refs #5742 #5672 suppress more valgrind stuff
git-svn-id: file:///svn/toku/tokudb@50720 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:21 -04:00
Leif Walsh
5c77f7d9c4 refs #5742 #5672 suppress unsafe_touch_clock and pthread_cond_destroy for helgrind
git-svn-id: file:///svn/toku/tokudb@50718 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:20 -04:00
Leif Walsh
c653563d3e refs #5672 use a valgrind suppression to ignore the race on the clock
git-svn-id: file:///svn/toku/tokudb@50717 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:20 -04:00
Leif Walsh
d26168d697 refs #5127 ignore libtool warnings
git-svn-id: file:///svn/toku/tokudb@50713 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:20 -04:00
Leif Walsh
1d4f808b8a refs #5127 fix link of test-5138.tdb
git-svn-id: file:///svn/toku/tokudb@50711 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:20 -04:00
Leif Walsh
b7080e9502 refs #5127 don't include extra dynamic libs in libtokudb_static, it breaks static binaries on freebsd
git-svn-id: file:///svn/toku/tokudb@50710 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:20 -04:00
Leif Walsh
fce9ed3e1a refs #5127 ignore warnings generated by compiling jemalloc source
git-svn-id: file:///svn/toku/tokudb@50691 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:20 -04:00
Leif Walsh
b3d31ec26c refs #5127 enable debug mode for jemalloc
git-svn-id: file:///svn/toku/tokudb@50690 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:20 -04:00
Zardosht Kasheff
b8b8360aa4 closes #5712, fix test
git-svn-id: file:///svn/toku/tokudb@50683 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:20 -04:00
Leif Walsh
a5004f8bcf closes #5127 use jemalloc in the fractal tree always
git-svn-id: file:///svn/toku/tokudb@50680 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:20 -04:00
Zardosht Kasheff
58c895e17e closes #5717, simplify case for FT_COMMIT_ANY
git-svn-id: file:///svn/toku/tokudb@50673 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:20 -04:00
Zardosht Kasheff
28c5dad104 closes #5716, remove txn->starttime
git-svn-id: file:///svn/toku/tokudb@50671 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:20 -04:00
Leif Walsh
2e346cf697 increase timeouts for some tests that have been timing out on coverage runs
git-svn-id: file:///svn/toku/tokudb@50666 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:20 -04:00
Leif Walsh
dd252ad3f5 increase join_timeout for upgrade stress tests
git-svn-id: file:///svn/toku/tokudb@50632 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:20 -04:00
Leif Walsh
e485a1218e refs #5672 re-enable assert
git-svn-id: file:///svn/toku/tokudb@50628 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:20 -04:00
Leif Walsh
3bad50d8a7 increase join_timeout for drd_mid_* tests, they've been failing at 3 hours lately
git-svn-id: file:///svn/toku/tokudb@50610 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:20 -04:00
Leif Walsh
ec84851bd3 refs #5672 disable assert(m_size_current == 0) for one build
git-svn-id: file:///svn/toku/tokudb@50581 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:20 -04:00
Zardosht Kasheff
9d52b2cef6 refs #5700, fix test
git-svn-id: file:///svn/toku/tokudb@50576 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:20 -04:00
Zardosht Kasheff
e8a40aebb9 refs #5700, fix test
git-svn-id: file:///svn/toku/tokudb@50575 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:20 -04:00
John Esmet
4cc64bdbd9 refs #5710 use a sync fetch and add on the tokutime status variables, not a regular increment, since it is accessed by multiple threads
git-svn-id: file:///svn/toku/tokudb@50561 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:20 -04:00
John Esmet
1f00b8ac1d refs #5710 fix typos! oops
git-svn-id: file:///svn/toku/tokudb@50560 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:20 -04:00
Zardosht Kasheff
efa90364ce refs #5700, check for existence of txn before dereferencing txn->oldest_referenced_xid
git-svn-id: file:///svn/toku/tokudb@50556 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:20 -04:00
Zardosht Kasheff
c6a6915d75 refs #5700, fix BDB
git-svn-id: file:///svn/toku/tokudb@50555 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:20 -04:00
Leif Walsh
cfea900e2f refs #5672 add invariant to do_partial_fetch
git-svn-id: file:///svn/toku/tokudb@50536 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:20 -04:00
Leif Walsh
6da3b56c57 refs #5697 revert r50177 (we actually do want stress tests to quit hot indexes early)
git-svn-id: file:///svn/toku/tokudb@50533 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:20 -04:00
John Esmet
3c14b7e312 refs #5710 make sure this engine status variable has the closing ')'
git-svn-id: file:///svn/toku/tokudb@50526 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:19 -04:00
Zardosht Kasheff
a0eeedd5f5 refs #5700, merge to main
git-svn-id: file:///svn/toku/tokudb@50517 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:19 -04:00
Zardosht Kasheff
bb07e09525 closes #5729, when returning TOKUDB_TRY_AGAIN, don't ever set the write lock type to expensive
git-svn-id: file:///svn/toku/tokudb@50514 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:19 -04:00
John Esmet
ebdf618b76 refs #5710 add accounting for flush count, number of bytes, IO time (stored as tokutime, shown in seconds), uncompressed size, and compressed size. also add these stats for when the logger writes to disk (os_pwrite, not fsync)
git-svn-id: file:///svn/toku/tokudb@50513 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:19 -04:00
Zardosht Kasheff
860c7994b0 refs #5731, make removing a cachefile from the linked list not be recursive
git-svn-id: file:///svn/toku/tokudb@50510 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:19 -04:00
Zardosht Kasheff
6c10bb3b91 refs #5724, remove call to toku_cachefile_of_filenum in do_insertion
git-svn-id: file:///svn/toku/tokudb@50505 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:19 -04:00
Leif Walsh
eeaf0912c7 refs #5710 fix mac build
git-svn-id: file:///svn/toku/tokudb@50490 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:19 -04:00
John Esmet
80b8bb9716 refs #5710 add counters for the number of bytes read and time spent doing IO, for the various ways you can do a fetch. improve the name of get_tokutime() and get rid of the now defunct toku_current_time_nanoseconds()
git-svn-id: file:///svn/toku/tokudb@50481 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:19 -04:00
John Esmet
a879883311 refs #5351 remove kruft
git-svn-id: file:///svn/toku/tokudb@50479 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:19 -04:00
John Esmet
0e3dfbabec refs #5710 invariant_zero must not be visible when this header is exported to the handlerton
git-svn-id: file:///svn/toku/tokudb@50464 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:19 -04:00
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