Commit graph

4813 commits

Author SHA1 Message Date
John Esmet
9da737bfb2 [t:5101] ft_sync + friends are dead code
git-svn-id: file:///svn/toku/tokudb@44710 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:51 -04:00
John Esmet
f811db12aa [t:5101] ftenv is dead code
git-svn-id: file:///svn/toku/tokudb@44709 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:51 -04:00
Zardosht Kasheff
b4889da436 [t:5097], add fix and test for table corruption issue
git-svn-id: file:///svn/toku/tokudb@44705 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:51 -04:00
Yoni Fogel
7b6973adb0 [t:4963] Fix bug with open/closing lock tree in multiple threads
The previous fix added a new race condition; When the new race hits, we leak lock trees.

git-svn-id: file:///svn/toku/tokudb@44677 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:51 -04:00
John Esmet
ebd82144e8 [t:4938] can't run test_stress_openclose using bdb
git-svn-id: file:///svn/toku/tokudb@44676 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:51 -04:00
Leif Walsh
94b291779a [t:5094] revert change for #5094 because it doesn't work yet
git-svn-id: file:///svn/toku/tokudb@44672 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:51 -04:00
Yoni Fogel
e061f6a1d6 [t:5062] Add some additional tests for cascading writes for unlogged parent txns
git-svn-id: file:///svn/toku/tokudb@44670 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:51 -04:00
Yoni Fogel
79c9413f34 [t:5062] Add some additional tests for xids independent from lsns
git-svn-id: file:///svn/toku/tokudb@44669 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:51 -04:00
Leif Walsh
0da230d143 [t:5094] build libtokudb_static.a by extracting all .o files, recompiling
with -ipo-c into one .o, and rearchiving.  closes #5094.


git-svn-id: file:///svn/toku/tokudb@44667 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:51 -04:00
John Esmet
f4e8a41a99 [t:4871] fix compilation of test-fair-rwlock
git-svn-id: file:///svn/toku/tokudb@44666 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:51 -04:00
Rich Prohaska
ce11ad3998 #4536 add a rule to build fractal tree examples in preparation to static library refs[t:4536]
git-svn-id: file:///svn/toku/tokudb@44664 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:51 -04:00
Bradley C. Kuszmaul
d04b3eaa52 [t:4934] Get rid of more #4934 stuff from main. Refs #4934.
git-svn-id: file:///svn/toku/tokudb@44663 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
John Esmet
2306c3d9ff [t:4963] fix another issue with reference counting in lock trees. we should not store a lock tree object in the manager if its reference count is zero, too many cases to deal with toku_ltm_get_lt. instead, atomically check if a lt's ref is 1 and remove it from the manager, so no race can occur between removing and adding another reference.
git-svn-id: file:///svn/toku/tokudb@44661 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
Bradley C. Kuszmaul
925f584468 [t:4934] Get rid of 4934 stuff from main. Refs #4934.
git-svn-id: file:///svn/toku/tokudb@44659 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
Leif Walsh
76d674aca8 [t:4871] fix compile of shared range_tree and lock_tree libs with intel compiler
git-svn-id: file:///svn/toku/tokudb@44657 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
Leif Walsh
41fa070325 [t:4871] don't run stress-gc2.tdb under valgrind
git-svn-id: file:///svn/toku/tokudb@44656 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
Leif Walsh
350bcde1de [t:5092] should have used 'invariant' rather than 'assert'
git-svn-id: file:///svn/toku/tokudb@44655 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
Leif Walsh
c863058732 [t:5093] closes #5093
git-svn-id: file:///svn/toku/tokudb@44653 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
Leif Walsh
ca51b430a0 [t:5092] fix #5092:
- make the bool in logformat an enum: "doesn't care about logging begin",
   "should log begin if it hasn't been logged yet", and "should assert
   that the begin was already logged"
 - make logging client code not try to log commits, prepares, or aborts
   for read-only txns
 - added test, fixed another test


git-svn-id: file:///svn/toku/tokudb@44651 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
John Esmet
006f1156bd [t:4938] stress test for dictionary open/close with referencing txn + checkpoint, renamed to something a stress regex can understand
git-svn-id: file:///svn/toku/tokudb@44650 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
Leif Walsh
c285dc365d [t:4871] fix cmake typo
git-svn-id: file:///svn/toku/tokudb@44649 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
Rich Prohaska
ddbc8a22eb make the mainline portability tests compile
git-svn-id: file:///svn/toku/tokudb@44638 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
Leif Walsh
c7ee5b5821 [t:4871] don't run helgrind_helgrind{2,3}.tdb under valgrind
git-svn-id: file:///svn/toku/tokudb@44637 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
Bradley C. Kuszmaul
7d2d1f30e8 Make the main line compile.
git-svn-id: file:///svn/toku/tokudb@44636 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
Bradley C. Kuszmaul
b18a5e0080 [t:5091] Merge 44631 from ../tokudb.4934-branch-from.6.0.0. Refs #4934, #5091.
git-svn-id: file:///svn/toku/tokudb@44635 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
Bradley C. Kuszmaul
5a66d06efb [t:4934] Merge 44292 from ../tokudb.4934-branch-from.6.0.0. Refs #4934.
git-svn-id: file:///svn/toku/tokudb@44634 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
Bradley C. Kuszmaul
2f8410fe0b [t:4934] Merge 44291 from ../../tokudb.4934-branch-from.6.0.0/newbrt/. Refs #4934.
git-svn-id: file:///svn/toku/tokudb@44632 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
Leif Walsh
fc331f8fcf [t:4871] switch ctestconfig to use lex1's cdash server instead of munchkin (only works if you're running in tokulex)
git-svn-id: file:///svn/toku/tokudb@44629 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
John Esmet
504c942349 [t:4938] this is a better name
git-svn-id: file:///svn/toku/tokudb@44628 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
John Esmet
881a82c8df [t:4938] starting a refcount stress test
git-svn-id: file:///svn/toku/tokudb@44627 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
Leif Walsh
8d75afffd5 [t:4413] fix some issues with the loader that only happened to manifest on darwin
git-svn-id: file:///svn/toku/tokudb@44625 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
Leif Walsh
4db9070e6b [t:4413] fix ftloader-test on darwin
git-svn-id: file:///svn/toku/tokudb@44620 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
Leif Walsh
d6d59ec4b5 [t:4871] use shared lib for {lock,range}_tree tests, speeds up build, and add prefixes to test names to use regexes better
also better osx/clang support, compile with -O4 now
and use the same compiler for the fractal tree and lzma


git-svn-id: file:///svn/toku/tokudb@44602 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
Leif Walsh
0ec18d4ef1 [t:4871] fix problems using clang on linux
use TOKU_ALLOW_DEPRECATED
don't use PIE


git-svn-id: file:///svn/toku/tokudb@44595 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
Leif Walsh
2965d87a27 [t:4687] resolve warning about -Wstrict-aliasing
git-svn-id: file:///svn/toku/tokudb@44594 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
Leif Walsh
78ad3e15f4 [t:4871] fix linking with gcc, I think
git-svn-id: file:///svn/toku/tokudb@44593 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
Leif Walsh
e13da393bc [t:5062] txnid becomes separate from lsn, and optimizations for read-only txns
git-svn-id: file:///svn/toku/tokudb@44591 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:49 -04:00
John Esmet
67c1e6ae80 close[t:4806] fix status text to say memory in use for locks
git-svn-id: file:///svn/toku/tokudb@44581 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:49 -04:00
Zardosht Kasheff
df1556b805 [t:4687], fix some issues surrounding hot indexing and its stress test
git-svn-id: file:///svn/toku/tokudb@44570 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:49 -04:00
Zardosht Kasheff
59e5929d56 [t:4687], add scans
git-svn-id: file:///svn/toku/tokudb@44555 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:49 -04:00
Zardosht Kasheff
414ad7e518 [t:4687], a hot indexing stress test, very simple, still needs scans after hot indexing work is done to verify correctness
git-svn-id: file:///svn/toku/tokudb@44551 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:49 -04:00
Leif Walsh
38ae050c90 [t:4871] do not use COMPILE_FLAGS_RELEASE until http://www.cmake.org/Bug/view.php?id=6493 is fixed.
git-svn-id: file:///svn/toku/tokudb@44550 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:49 -04:00
Leif Walsh
dc4776a770 [t:4871] implement binary compilation options in a nicer way in cmake,
only do it for release builds, play nicer with multi-configuration
generators like vs and xcode


git-svn-id: file:///svn/toku/tokudb@44535 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:49 -04:00
Leif Walsh
11f07aa622 [t:4871] increase timeout for drd_mid_test_stress* and drd_large_test_stress*.
should we really be running these every night?


git-svn-id: file:///svn/toku/tokudb@44533 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:49 -04:00
Leif Walsh
9c1f8f2b5b [t:5073] change how we link zlib so as not to confuse osx in some cases
git-svn-id: file:///svn/toku/tokudb@44531 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:49 -04:00
Leif Walsh
d3a6f99e14 [t:5073] fix most clang problems on linux, ignore -Wcast-align for now
git-svn-id: file:///svn/toku/tokudb@44529 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:49 -04:00
Zardosht Kasheff
84b8eead6c [t:5071], do some cleanup in cachetable
git-svn-id: file:///svn/toku/tokudb@44512 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:49 -04:00
Zardosht Kasheff
a74082510e [t:5070], remove tabs from recover.c, also remove a comment that is no longer applicable
git-svn-id: file:///svn/toku/tokudb@44511 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:49 -04:00
Leif Walsh
5c89903804 [t:4871] fixing linking of portability and ydb layer with external things
git-svn-id: file:///svn/toku/tokudb@44509 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:49 -04:00
Leif Walsh
6f24c4fa88 [t:4871] clean up compilation flags across the board
git-svn-id: file:///svn/toku/tokudb@44507 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:49 -04:00