Commit graph

5146 commits

Author SHA1 Message Date
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
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
Bradley C. Kuszmaul
ef8598b97c {{{svn merge -c -46044 .}}}. Back out of main. Refs #5267, #5290.
git-svn-id: file:///svn/toku/tokudb@46077 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:01 -04:00
TokuBuild
720ca62b9d refs #4871 fix finding of gcov47
git-svn-id: file:///svn/toku/tokudb@46067 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:01 -04:00
Leif Walsh
389599b1a4 refs #4871 link against stdc++ instead of c
git-svn-id: file:///svn/toku/tokudb@46046 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:01 -04:00
Bradley C. Kuszmaul
24af2d9a5b Merge partitioned counters onto main. Fixes #5267.
git-svn-id: file:///svn/toku/tokudb@46044 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:01 -04:00
Leif Walsh
ca1141d369 refs #4871 speed up tag generation for cscope and idutils
git-svn-id: file:///svn/toku/tokudb@46022 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:01 -04:00
Leif Walsh
e6fbdbdf81 refs #4871 use gcov47 when possible
git-svn-id: file:///svn/toku/tokudb@46020 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:01 -04:00
TokuBuild
4cd1d10dda refs #4871 source compiler path scripts in nightly script
git-svn-id: file:///svn/toku/tokudb@45996 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -04:00
Yoni Fogel
7a003cd9d5 refs #5139 separate omt-tmpl implementation (partially)
git-svn-id: file:///svn/toku/tokudb@45984 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -04:00
Yoni Fogel
d4555bcd38 refs #5206 little bit more documentation for omt-tmpl.h
git-svn-id: file:///svn/toku/tokudb@45983 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -04:00
Yoni Fogel
81d8d1ca0d refs #5280 Intel compiler has some warnings for -WeffC++. Temporarily removing till warnings are fixed
git-svn-id: file:///svn/toku/tokudb@45982 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -04:00
Yoni Fogel
58dbd4a071 refs #5139 add documentation for templated omt
git-svn-id: file:///svn/toku/tokudb@45981 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -04:00
Yoni Fogel
3dbff30332 refs #5280 add portability include to compress.cc
git-svn-id: file:///svn/toku/tokudb@45978 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -04:00
Yoni Fogel
2f23fc5db1 refs #5280 Add additional warning options and get it to compile cleanly.
Add comments and static asserts for on-disk formats (e.g. leafentries)

git-svn-id: file:///svn/toku/tokudb@45977 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -04:00
Leif Walsh
aa786f0ba7 refs #5206 fix mutex initializer to be compatible with osx
git-svn-id: file:///svn/toku/tokudb@45964 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -04:00
Leif Walsh
3045809973 refs #5206 fix usage of <type_traits> on clang, fix omt::split_at return value
git-svn-id: file:///svn/toku/tokudb@45963 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -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
John Esmet
f5be016dea fixes #5282 only do txn related operations if a txn exists. note that the ydb layer properly handles change descriptor in a txnless environment.
git-svn-id: file:///svn/toku/tokudb@45958 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -04:00
Leif Walsh
f48d3b9fdc refs #5206 fix use of __attribute__((nonnull)) for intel compiler
git-svn-id: file:///svn/toku/tokudb@45953 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -04:00
Leif Walsh
aa7a2fba6f refs #5206 update run.stress-tests.py
git-svn-id: file:///svn/toku/tokudb@45952 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -04:00