Commit graph

5072 commits

Author SHA1 Message Date
Christian Rober
98b45ab5cf refs #5025 Fixed issue where the verification tool incorrectly decompresses old nodes.
git-svn-id: file:///svn/toku/tokudb@45679 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Zardosht Kasheff
a7d60e5577 closes #4634, remove unneeded function toku_cachefile_get_worqueue_load
git-svn-id: file:///svn/toku/tokudb@45659 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Zardosht Kasheff
c5d5cf7646 refs #3634, separate ct lock from workqueue lock, remove usage of workqueues
git-svn-id: file:///svn/toku/tokudb@45658 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Zardosht Kasheff
9fd9a26e62 refs #4634, make flow control depend on a cachetable cond variable and not the workqueue
git-svn-id: file:///svn/toku/tokudb@45651 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Zardosht Kasheff
d843fcc1c4 closes #5241, finish removal of completion queues
git-svn-id: file:///svn/toku/tokudb@45640 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Zardosht Kasheff
119729779c refs #5241, make completion queues in cachetable unnecessary
git-svn-id: file:///svn/toku/tokudb@45639 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Leif Walsh
c3bfcd59cd refs #5206 merge signed types fix to main
git-svn-id: file:///svn/toku/tokudb@45638 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Leif Walsh
d7e3c71c03 refs #5206 revert change to CTestConfig.cmake
git-svn-id: file:///svn/toku/tokudb@45635 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Leif Walsh
a367232ad2 refs #5206 merge work making our code c99 and c++11 compatible, to mainline
git-svn-id: file:///svn/toku/tokudb@45632 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Zardosht Kasheff
a86e84365d refs #5240, small simplification
git-svn-id: file:///svn/toku/tokudb@45627 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Zardosht Kasheff
dfd2c9d1b8 refs #5239, closes #5240, remove unused functions in rwlock.h, fix bug in toku_cachetable_verify
git-svn-id: file:///svn/toku/tokudb@45626 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Zardosht Kasheff
7fdc9d4fae closes #5239, remove PAIR->verify_flag
git-svn-id: file:///svn/toku/tokudb@45625 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Zardosht Kasheff
67497cf3a4 refs #4302, rename test
git-svn-id: file:///svn/toku/tokudb@45624 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:57 -04:00
Zardosht Kasheff
251e6e767d closes #5238, removetabs from ft_node-serialize.c
git-svn-id: file:///svn/toku/tokudb@45615 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:57 -04:00
Zardosht Kasheff
18767e5ca1 closes #5211, closes #5215, closes 5224, merge to main
git-svn-id: file:///svn/toku/tokudb@45613 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:57 -04:00
Christian Rober
db4950da4d refs #5025 Fixing Linux build error.
git-svn-id: file:///svn/toku/tokudb@45559 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:57 -04:00
Christian Rober
7b5c3bf871 refs #5025 Updated verification tool to read non-upgraded nodes and check the end to end checksum for version 14 nodes.
git-svn-id: file:///svn/toku/tokudb@45558 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:57 -04:00
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