Commit graph

4934 commits

Author SHA1 Message Date
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
Leif Walsh
96d6f517eb refs #5206 update run.fractal.tree.tests.bash
git-svn-id: file:///svn/toku/tokudb@45951 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
Leif Walsh
b0e69456f9 refs #5206 fix shadow resolution style from underscore suffix to "new_" prefix
git-svn-id: file:///svn/toku/tokudb@45944 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -04:00
Leif Walsh
f5c2d4de8d refs #5206 adding some consts
git-svn-id: file:///svn/toku/tokudb@45943 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -04:00
Leif Walsh
816415fcd6 refs #5206 remove indentation caused by namespace
git-svn-id: file:///svn/toku/tokudb@45942 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -04:00
Leif Walsh
c010c1e56e refs #5206 address review comments: only use refs when ref-to-const, otherwise use ptr
git-svn-id: file:///svn/toku/tokudb@45941 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -04:00
Leif Walsh
8fa5ec3e82 refs #5206 address review comments: remove static "allocation constructors", rename init/deinit to create/destroy
git-svn-id: file:///svn/toku/tokudb@45938 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -04:00
Zardosht Kasheff
c5d2402ac0 closes #5279, remove cachetable->checkpoint_is_beginning and cachetable->checkpoint_prohibited
git-svn-id: file:///svn/toku/tokudb@45932 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -04:00
Zardosht Kasheff
f402d9dbaa closes #5272, address CR comments
git-svn-id: file:///svn/toku/tokudb@45930 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:59 -04:00
Rich Prohaska
f51339dd09 refs #5206 get file.c compiling on lex2
git-svn-id: file:///svn/toku/tokudb@45910 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:59 -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
Rich Prohaska
4cea97e2b4 refs #5206 #5275 keep the examples c programs
git-svn-id: file:///svn/toku/tokudb@45905 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:59 -04:00