Commit graph

2172 commits

Author SHA1 Message Date
Zardosht Kasheff
d59b9e772d refs #4937, merge to main
git-svn-id: file:///svn/toku/tokudb@47083 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:04 -04:00
Zardosht Kasheff
3a887ea75f refs #5312, merge to main
git-svn-id: file:///svn/toku/tokudb@47022 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Leif Walsh
e27f78b0dd refs #4871 increase timeout for drd tests now that we're running debug builds again
git-svn-id: file:///svn/toku/tokudb@47018 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Leif Walsh
da3347c8a5 refs #5389 compilation fix
git-svn-id: file:///svn/toku/tokudb@47017 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Leif Walsh
e11d862d75 refs #5389 fix test_stress_with_verify to exit earlier when time is up
git-svn-id: file:///svn/toku/tokudb@47016 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Leif Walsh
79e869231d refs #5367 fix verify to work with marked messages
git-svn-id: file:///svn/toku/tokudb@46852 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Zardosht Kasheff
7ea6dd4171 refs #4606, merge to main
git-svn-id: file:///svn/toku/tokudb@46797 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Bradley C. Kuszmaul
5fe06a891f Fix #5361 by locking a little earlier. This passes with helgrind but helgrind isn't yet part of the tests.
git-svn-id: file:///svn/toku/tokudb@46721 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:02 -04:00
John Esmet
01068d0c1d fixes #4752 support blackhole option in tokudb, add it to the stress test framework as well as an option for prelocked write. we also fix the flags api in the ft layer to return void since they can't fail.
git-svn-id: file:///svn/toku/tokudb@46644 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:02 -04:00
Leif Walsh
a045bd84e1 refs #5342 generated 6.1.0 envs for stress tests
git-svn-id: file:///svn/toku/tokudb@46538 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:02 -04:00
Leif Walsh
8fd344b5b7 refs #4871 increase a few test timeouts (drd mid stress tests, groupcommit count)
git-svn-id: file:///svn/toku/tokudb@46536 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:02 -04:00
John Esmet
45d4ddce74 fixes #5278 fixes #5329 use an autoincrement open id for txnless environments and optionally create a txn for change_descriptor by using an autotxn
git-svn-id: file:///svn/toku/tokudb@46475 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:02 -04:00
Yoni Fogel
fffce5d49f refs #5155 refs #5308 closes #5309 merge new omt api functions to main (still unused), use templated omt for TOKUTXN->open_fts, OMT becomes a wrapper for omt<OMTVALUE>, other misc fixes
git-svn-id: file:///svn/toku/tokudb@46448 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:02 -04:00
Yoni Fogel
13259370bc refs #5203 Fix error handling code in loader to make it easier to track down errors if test_stress5 fails again (and general debugging)
git-svn-id: file:///svn/toku/tokudb@46352 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:02 -04:00
Yoni Fogel
f3455ce7dc closes #5108 Remove finalize_callback (poisons lock tree)
It's unnecessary since we never reuse filenames anyway.

git-svn-id: file:///svn/toku/tokudb@46191 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:01 -04:00
Yoni Fogel
e65963f3e6 closes #5204 Call loader once during indexer create instead of N times
Loader can already handle N dbs

git-svn-id: file:///svn/toku/tokudb@46165 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:01 -04:00
Yoni Fogel
b79fce442e closes #5300 Fix bug where indexer would ignore return value from loader
git-svn-id: file:///svn/toku/tokudb@46164 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:01 -04:00
Yoni Fogel
7f65c707a2 closes #5152 removed NOSYNC from automatically created txns where it made no sense.
If they're children, they're nosync anyway
If they're not children, they're usually unsafe

git-svn-id: file:///svn/toku/tokudb@46160 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:01 -04:00
Yoni Fogel
d4cf29525f refs #5081 Replace all usage:
BOOL->bool
FALSE->false
TRUE->true
u_int*_t->uint*_t

Also poisoned all of the variables

git-svn-id: file:///svn/toku/tokudb@46157 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:01 -04:00
Leif Walsh
a410408869 refs #4871 fix run_checkpoint_stress_test.sh
git-svn-id: file:///svn/toku/tokudb@46113 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:01 -04:00
Leif Walsh
02dd82a9ef refs #4871 fix run_checkpoint_stress_test.sh
git-svn-id: file:///svn/toku/tokudb@46090 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:01 -04:00
Leif Walsh
a7a6527b27 refs #4871 fix run_test1426.sh
git-svn-id: file:///svn/toku/tokudb@46087 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:01 -04:00
John Esmet
52635a5e17 refs #5282 i lied, the ydb layer needed some fixes for txnless descriptor updates :)
git-svn-id: file:///svn/toku/tokudb@45959 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -04:00
Leif Walsh
d6e29e9224 refs #5206 fix calculation of bdb test list
git-svn-id: file:///svn/toku/tokudb@45945 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -04:00
John Esmet
68a73432b2 fixes #5276 check for a locktree before trying to update its descriptor
git-svn-id: file:///svn/toku/tokudb@45908 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:59 -04:00
Leif Walsh
958c447641 closes #5206 merge c++ changes to mainline
git-svn-id: file:///svn/toku/tokudb@45903 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:59 -04:00
Leif Walsh
7ecee0b669 refs #4871 increase timeout of drd_large_test_stress*
git-svn-id: file:///svn/toku/tokudb@45783 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:59 -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
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
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
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
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
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
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
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
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
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
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
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
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