Commit graph

5055 commits

Author SHA1 Message Date
Leif Walsh
6516ffaf77 refs #4871 increase timeout for test3529
git-svn-id: file:///svn/toku/tokudb@45458 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:57 -04:00
Leif Walsh
91fb823d0f refs #4871 increase some test timeouts
git-svn-id: file:///svn/toku/tokudb@45432 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:57 -04:00
Yoni Fogel
0e33e7828e refs #4931 comment changes
git-svn-id: file:///svn/toku/tokudb@45368 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:57 -04:00
Leif Walsh
e75fb81042 refs #5163 change BDBDIR to CMAKE_PREFIX_PATH in run.fractal.tree.tests.bash
git-svn-id: file:///svn/toku/tokudb@45359 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:57 -04:00
Leif Walsh
3d01baeed8 refs #5163 use CMAKE_PREFIX_PATH to find BDB and valgrind
git-svn-id: file:///svn/toku/tokudb@45358 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:57 -04:00
Yoni Fogel
e545f2d380 refs #5197 Fix a couple of bugs (off by true, and missing braces around if statement) with not reserving memory for put-loader
Also only call toku_txn_require_checkpoint_on_commit(tokutxn) once (instead of N times)

git-svn-id: file:///svn/toku/tokudb@45351 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:57 -04:00
Zardosht Kasheff
f4026373f0 refs #5010, add assert to toku_txn_manager_pin_live_txn_unlocked verifying that txn being pinned is not read only
git-svn-id: file:///svn/toku/tokudb@45348 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:57 -04:00
Zardosht Kasheff
d39a6033d8 closes #5197, check in fix
git-svn-id: file:///svn/toku/tokudb@45347 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:57 -04:00
John Esmet
84e3d93b47 fixes #5194 don't both grabbing the lock if there's no work to do
git-svn-id: file:///svn/toku/tokudb@45346 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:57 -04:00
Yoni Fogel
33360c33f8 refs #5189 Fix more tests that didn't do clean shutdown (so txns could not be restored)
git-svn-id: file:///svn/toku/tokudb@45311 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:57 -04:00
Yoni Fogel
68d4752c85 refs #5189 Fix broken test that didn't do clean shutdown (so txns could not be restored)
git-svn-id: file:///svn/toku/tokudb@45310 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:57 -04:00
Leif Walsh
06b24bc451 refs #4871 increase some test timeouts
git-svn-id: file:///svn/toku/tokudb@45309 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:57 -04:00
Yoni Fogel
fa3c118725 refs #5189 added comments about txns being null during tests
git-svn-id: file:///svn/toku/tokudb@45277 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:57 -04:00
Yoni Fogel
73bcbb4259 refs #5189 Save last_xid in shutdown entry instead of increasing lsn and aliasing
git-svn-id: file:///svn/toku/tokudb@45271 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:57 -04:00
John Esmet
1c9b5023fc fixes #5164 small changes to perf insert multiple, which is now complete. it measures multithreaded put_multiple performance, which is analogous to multiple writers on a single table with many indexes in mysql
git-svn-id: file:///svn/toku/tokudb@45265 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:57 -04:00
Yoni Fogel
b7ce41daae refs #5189 fix tests from xstillopen(prepared) "must assert begin was logged" changes
git-svn-id: file:///svn/toku/tokudb@45261 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:57 -04:00
Leif Walsh
33f8e81bf8 refs #4802 get stress tests' hot_optimize operation to stop early (when the test is over) so drd version doesn't take so long
git-svn-id: file:///svn/toku/tokudb@45260 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:57 -04:00
Leif Walsh
9ad9f12399 refs #4871 increase timeout for 1426 *again*. what happened to it?
git-svn-id: file:///svn/toku/tokudb@45259 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:56 -04:00
Leif Walsh
72f7d85666 refs #5138 test-5138 didn't need to be nearly that large
git-svn-id: file:///svn/toku/tokudb@45258 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:56 -04:00
Yoni Fogel
d3b55b4d8a refs #5189 xstillopen(prepared) must assert begin was logged, instead of ignoring
git-svn-id: file:///svn/toku/tokudb@45252 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:56 -04:00
Leif Walsh
0beab97d27 refs #4871 don't make bdb versions of recover-test_stress_openclose or
test-5138, increase timeout for test1426


git-svn-id: file:///svn/toku/tokudb@45235 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:56 -04:00
Leif Walsh
3d4e3a44b9 refs #4802 add recover-test_stress_openclose.tdb to the list of stress tests to run
git-svn-id: file:///svn/toku/tokudb@45226 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:56 -04:00
Leif Walsh
d5556a85de closes #5185 make sure test_stress4 only runs one update thread at a time.
git-svn-id: file:///svn/toku/tokudb@45225 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:56 -04:00
John Esmet
515d9a87b0 fixes #5183 fix stress openclose to use the standard query/update operations so that recovery can verify the correctness of the dbs upon recovery. this means we can have a recovery version of the test, which simply sets crash_at_end = true before calling stress table. put all of the common stuff in a header (dirty but better than duplicating the code)
git-svn-id: file:///svn/toku/tokudb@45224 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:56 -04:00
Leif Walsh
074a93cea9 refs #4820 add more tests by default
git-svn-id: file:///svn/toku/tokudb@45220 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:56 -04:00
Leif Walsh
e4f40ea3d7 refs #4802 finish off stress test runner script for running all the time
add email functionality
tar up the failed environment
add libs to environment too


git-svn-id: file:///svn/toku/tokudb@45219 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:56 -04:00
Zardosht Kasheff
a2fb4f699c closes #5055, add comment
git-svn-id: file:///svn/toku/tokudb@45215 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:56 -04:00
Christian Rober
b33c3a656d refs #4885 Fixed comments and comment structure for upgrade helper functions
git-svn-id: file:///svn/toku/tokudb@45214 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:56 -04:00
Zardosht Kasheff
f6f073706b closes #5005, add a comment
git-svn-id: file:///svn/toku/tokudb@45213 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:56 -04:00
Yoni Fogel
f1cadec681 refs #5117 Add documentation for txn optimizations
Use wrapper function toku_txn_is_read_only whenever it doesn't make sense to access variable directly

git-svn-id: file:///svn/toku/tokudb@45209 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:56 -04:00
Leif Walsh
c380714035 refs #4871 fix lc_create so it doesn't issue useless valgrind warnings
git-svn-id: file:///svn/toku/tokudb@45207 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:56 -04:00
Yoni Fogel
83b52d4983 refs #5149 added comments
git-svn-id: file:///svn/toku/tokudb@45206 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:56 -04:00
Yoni Fogel
216aec3fb9 refs #5149 Fix up ydb layer read-only txn optimizations.
The is_read_only function already took into account children, so we don't need complicated logic.

git-svn-id: file:///svn/toku/tokudb@45205 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:56 -04:00
Leif Walsh
82be487d00 refs #4871 increase timeout for test_groupcommit_count.bdb
git-svn-id: file:///svn/toku/tokudb@45204 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:56 -04:00
Leif Walsh
3d18e62abb refs #4871 increase test timeout for large stress tests
git-svn-id: file:///svn/toku/tokudb@45203 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:56 -04:00
Yoni Fogel
7933e613b4 closes #5182 Remove oldest_living_xid(and time) from engine status.
This cleans up some of the transaction manager code.
Optimize looks at the OMT now

git-svn-id: file:///svn/toku/tokudb@45202 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:56 -04:00
Leif Walsh
c851f11c73 closes #5180 fix ft_verify so it doesn't call the comparison function on broadcast messages, which don't have keys
git-svn-id: file:///svn/toku/tokudb@45201 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:56 -04:00
Leif Walsh
3c72e807bd closes #5138 add test for 5138
git-svn-id: file:///svn/toku/tokudb@45196 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:56 -04:00
John Esmet
1fecf0b715 refs #5179 improve comment for get_next_ule that fixed hot indexing but, and document the client contract regarding hot db writes and index create/abort/close
git-svn-id: file:///svn/toku/tokudb@45190 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:56 -04:00
Zardosht Kasheff
e3800077b8 refs #5142], add function for getting cursor on directory
git-svn-id: file:///svn/toku/tokudb@45158 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:55 -04:00
Leif Walsh
1a4158859f refs #4871 increase test timeout for recovery_fileops_unit.tdb
git-svn-id: file:///svn/toku/tokudb@45153 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:55 -04:00
Leif Walsh
3284441529 refs #4871 increase test timeout for test_rand_insert_mult_db.tdb
git-svn-id: file:///svn/toku/tokudb@45143 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:55 -04:00
Leif Walsh
bf18f211bd closes #5173 fix the deserialize path so it creates nodes with a current layout_version
git-svn-id: file:///svn/toku/tokudb@45141 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:55 -04:00
Leif Walsh
c6e5ab09f2 refs #5173 add 6.0 test to upgrade_test_simple
git-svn-id: file:///svn/toku/tokudb@45140 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:55 -04:00
Zardosht Kasheff
308fff4577 closes #5171, don't reference cachefile or fd in flush_callback when calling cachetable_free_pair, fix cachetable-test2 and toku_rollback_flush_callback to take this into account
git-svn-id: file:///svn/toku/tokudb@45100 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:55 -04:00
Zardosht Kasheff
23f9000a87 refs #5171, fix cachetable-test.c
git-svn-id: file:///svn/toku/tokudb@45099 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:55 -04:00
Zardosht Kasheff
57203d20b8 refs #5171, remove tabs from cachetable-test2
git-svn-id: file:///svn/toku/tokudb@45098 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:55 -04:00
Zardosht Kasheff
4f4936a1fb refs #5133, fix compilation error
git-svn-id: file:///svn/toku/tokudb@45097 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:55 -04:00
Leif Walsh
80ec7a872a refs #4871 don't build perf_insert_multiple on bdb
git-svn-id: file:///svn/toku/tokudb@45090 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:55 -04:00
Yoni Fogel
dc48569937 refs #5170 Fix memory allocation (and use macros) during hot indexing.
Also make some invariants cleaner

git-svn-id: file:///svn/toku/tokudb@45075 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:55 -04:00