Commit graph

5016 commits

Author SHA1 Message Date
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
5526cd549f refs #5367 fix toku_verify_ftnode_internal to not exit on success ;-)
git-svn-id: file:///svn/toku/tokudb@46994 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Zardosht Kasheff
13dbeb5130 closes #5387, fix issue, sleep at most once during get_and_pin_with_dep_pairs
git-svn-id: file:///svn/toku/tokudb@46955 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Leif Walsh
d7cbb0f9d9 refs #5386 add comments
git-svn-id: file:///svn/toku/tokudb@46954 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Leif Walsh
735ecd2130 closes #5386 refactor try_pin_pair to avoid deadlock
git-svn-id: file:///svn/toku/tokudb@46953 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Yoni Fogel
cea1d0b95d refs #5367 Fix verify to work properly with marked messages
First it evaluates using a write lock on a node (before moving messages)
and then doing it again after moving messages
Does appropriate checks before and after

git-svn-id: file:///svn/toku/tokudb@46949 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Yoni Fogel
52dd11a5b4 closes #5367 Fix problem where nodes in omt are marked stale, the node is evicted and read again and not marked stale ever again
git-svn-id: file:///svn/toku/tokudb@46947 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Yoni Fogel
4407c947c6 refs #5367 Revert r46901 (incorrect fix)
git-svn-id: file:///svn/toku/tokudb@46945 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Leif Walsh
e5a3993c58 closes #5367 fix a race between marking messages as stale in the fifo and in the omt
git-svn-id: file:///svn/toku/tokudb@46901 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
6389aeb1b7 closes #5283, delete workqueue code, it is now unused
git-svn-id: file:///svn/toku/tokudb@46801 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
8cc19d274c Fix #5369 (partitioned counter asserts because it expects the counter to go monotonically up, but part of the test decrements). Change it so that it only increments in the test.
git-svn-id: file:///svn/toku/tokudb@46778 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Leif Walsh
cdebca297c refs #4871 use debug build to run drd tests
git-svn-id: file:///svn/toku/tokudb@46776 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Leif Walsh
26ab20b2d8 closes #5362 add helgrind_test_partitioned_counter
git-svn-id: file:///svn/toku/tokudb@46774 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Leif Walsh
9e5e0aefcb refs #4871 default to USE_VALGRIND=ON
git-svn-id: file:///svn/toku/tokudb@46773 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:02 -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
Yoni Fogel
4efdcc43de refs #5355 Fix omt::delete_all_marks to not blow the stack
git-svn-id: file:///svn/toku/tokudb@46669 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:02 -04:00
John Esmet
87d3cd22b6 refs #4752 get rid of the old one
git-svn-id: file:///svn/toku/tokudb@46646 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:02 -04:00
John Esmet
c788b627a3 refs #4752 fix the blackhole bit to something unused in bdb
git-svn-id: file:///svn/toku/tokudb@46645 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
John Esmet
16b31e1576 refs #5349 committing txn_manage_lock and unlock wrapper functions to main
git-svn-id: file:///svn/toku/tokudb@46624 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:02 -04:00
Leif Walsh
8f1ee9c29c refs #5155 merge some work to main:
- better delete marked algorithm
 - use marked omt for fresh message tree
 - little cleanup things


git-svn-id: file:///svn/toku/tokudb@46549 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:02 -04:00
Leif Walsh
6a42c92090 refs #5342 add 6.1.0 to the available versions in run.stress-tests.py
git-svn-id: file:///svn/toku/tokudb@46539 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
Leif Walsh
1d23639249 closes #5340 exclude log_print.cc from coverage report
git-svn-id: file:///svn/toku/tokudb@46507 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
Leif Walsh
18a1e9c1a4 refs #4871 don't run 6.0.0 upgrade tests during normal dev time
git-svn-id: file:///svn/toku/tokudb@46473 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:02 -04:00
Leif Walsh
ff9c705be0 refs #4871 don't run test1426 under valgrind it's super slow because it's bdb
git-svn-id: file:///svn/toku/tokudb@46454 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
Leif Walsh
0dea54f5c6 refs #5291 don't run bdb tests under valgrind
git-svn-id: file:///svn/toku/tokudb@46389 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
Bradley C. Kuszmaul
c9630e45b3 Fix #5321. Refs #5295, #5292, #5290. {{{svn merge -r46336:46350 ../tokudb.5321}}}
git-svn-id: file:///svn/toku/tokudb@46351 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:02 -04:00
Bradley C. Kuszmaul
a4de094b19 make {{{test_partitioned_counter}}} exhibit the bug from Refs #5321.
git-svn-id: file:///svn/toku/tokudb@46348 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:02 -04:00
Leif Walsh
27feaeb9e3 refs #5291 add back bdb tests during nightly runs (might need to split it
from valgrind tests)


git-svn-id: file:///svn/toku/tokudb@46333 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:02 -04:00
Leif Walsh
933d3b7bc9 refs #5291 change fractal tree nightly script to only use gcc
git-svn-id: file:///svn/toku/tokudb@46328 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:02 -04:00
Bradley C. Kuszmaul
7a6b7c9896 Fix #5295, #5292. {{{svn merge -r46285:46297 ../tokudb.5295b}}}
git-svn-id: file:///svn/toku/tokudb@46309 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:02 -04:00
Yoni Fogel
87824fb3df refs #5308 Remove unused omt/omt-tmpl functions (and tests for them)
git-svn-id: file:///svn/toku/tokudb@46193 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:01 -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
TokuBuild
bdbe3d076d refs #4871 change filename for gccopt part of nightly test
git-svn-id: file:///svn/toku/tokudb@46146 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
f20569cd7c refs #5291 add -g -fuse-linker-plugin for link time optimization
git-svn-id: file:///svn/toku/tokudb@46102 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:01 -04:00
Leif Walsh
7467b279f5 refs #5291 add USE_VALGRIND option to control NVALGRIND, and update
nightly tests to use gcc optimized build too


git-svn-id: file:///svn/toku/tokudb@46099 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