Commit graph

92 commits

Author SHA1 Message Date
Leif Walsh
aebe247eaa [t:5094] merge to main, delete dev branch. closes #5094.
git-svn-id: file:///svn/toku/tokudb@44769 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:52 -04:00
Yoni Fogel
2ae8570c0e [t:5110] Closes #5110 Skip taking the txn_manager lock for read-only transactions during note_abort/commit
git-svn-id: file:///svn/toku/tokudb@44758 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:52 -04:00
Yoni Fogel
051a3e818a [t:5067] Closes #5067 Strengthen garbage_collection_debug
git-svn-id: file:///svn/toku/tokudb@44755 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:52 -04:00
Yoni Fogel
2c1583ca7c [t:5106] closes #5106 Replaced txn omt (in FT) with integer
git-svn-id: file:///svn/toku/tokudb@44754 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:52 -04:00
Yoni Fogel
5cb07ca1fb [t:5062] Fix compiler warning
git-svn-id: file:///svn/toku/tokudb@44752 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:52 -04:00
Yoni Fogel
a13c115502 [t:5067] Reduce GC-system overhead for read-only transactions
git-svn-id: file:///svn/toku/tokudb@44750 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:51 -04:00
Yoni Fogel
a40533b723 [t:5067] Merge #5067 to main. New GC algorithm that calculates "live_list_reverse" on the fly when needed
git-svn-id: file:///svn/toku/tokudb@44749 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:51 -04:00
John Esmet
d6b5f0b432 close[t:5100] close[t:4930] the api for closing a ft has been simplified for normal use. for recovery, there is a new function that internally asserts the underlying ft is close and passes a valid lsn to the cachefile for closing
git-svn-id: file:///svn/toku/tokudb@44748 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:51 -04:00
Yoni Fogel
57a23f8f1f [t:5103] Fix tests that don't provide a txn for logging commits/aborts/prepares
git-svn-id: file:///svn/toku/tokudb@44745 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:51 -04:00
John Esmet
cdda8bfabe close[t:5109] address some comments from code review concerning the naming of functions that remove an ft from memory vs removing a ft from the filesystem.
git-svn-id: file:///svn/toku/tokudb@44741 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:51 -04:00
Bradley C. Kuszmaul
a9264b9627 Some comments written during the open/close fops code review.
git-svn-id: file:///svn/toku/tokudb@44737 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:51 -04:00
John Esmet
719d534277 [t:5101] toku_ft_update and toku_ft_set_update are dead code.
git-svn-id: file:///svn/toku/tokudb@44716 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:51 -04:00
John Esmet
4cfdf9d21b [t:5101] show ft blocknums is dead code
git-svn-id: file:///svn/toku/tokudb@44715 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:51 -04:00
John Esmet
e01fda0615 [t:5101] do_push_command is dead code
git-svn-id: file:///svn/toku/tokudb@44714 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:51 -04:00
John Esmet
2595599eff [t:5101] height of root is dead code
git-svn-id: file:///svn/toku/tokudb@44713 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:51 -04:00
John Esmet
7d6c001f3c [t:5101] ft remove subdb is dead code
git-svn-id: file:///svn/toku/tokudb@44712 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:51 -04:00
John Esmet
6222371969 [t:5101] ftenv is dead code
git-svn-id: file:///svn/toku/tokudb@44711 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:51 -04:00
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
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
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
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
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
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
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
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
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
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
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
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
Leif Walsh
d8601e192a [t:5069] move toku_mutex_t's locked member to only exist when compiling with TOKU_PTHREAD_DEBUG, for performance reasons
git-svn-id: file:///svn/toku/tokudb@44506 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:49 -04:00
Zardosht Kasheff
9c47cdaf24 [t:4690], cleanup case statement in cachetable.c
git-svn-id: file:///svn/toku/tokudb@44485 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:49 -04:00
Bradley C. Kuszmaul
7716bfc49f close[t:5054] Fix #5054. Improve spec for block_allocator.
git-svn-id: file:///svn/toku/tokudb@44417 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:49 -04:00
Yoni Fogel
e79b55ebba [t:5039] Closes #5039 fix memory leaks in ft-serialize-benchmark
git-svn-id: file:///svn/toku/tokudb@44360 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:48 -04:00
Zardosht Kasheff
f57b8ae11a [t:5038], fix some bugs in transactions after code review
git-svn-id: file:///svn/toku/tokudb@44352 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:48 -04:00
Zardosht Kasheff
a84d1289a2 [t:4876], some comments
git-svn-id: file:///svn/toku/tokudb@44340 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:48 -04:00
Leif Walsh
4d74fb5caf [t:4570] finishing the enum->int change for checksum errors
git-svn-id: file:///svn/toku/tokudb@44326 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:48 -04:00
Yoni Fogel
b6b8dd84c4 [t:4905] closes #4905 Merge 4905b branch to main (removes pwrite lock)
git-svn-id: file:///svn/toku/tokudb@44315 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:47 -04:00
Leif Walsh
aa88bd3f17 [t:4871] add another style of data file to clean in ft/tests, while we
transition what the data files are called


git-svn-id: file:///svn/toku/tokudb@44307 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:47 -04:00