Commit graph

312 commits

Author SHA1 Message Date
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
Leif Walsh
a8f936e6c0 [t:4845] remove lzma headers, depend instead on those that get installed. possibly also fix dependency scanning of lzma stuff for parallel builds
git-svn-id: file:///svn/toku/tokudb@44299 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:47 -04:00
Christian Rober
d00de0cf5b [t:4570] Removing inline function declarations to enable building on Darwin.
git-svn-id: file:///svn/toku/tokudb@44298 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:47 -04:00
Christian Rober
123cbff2ba [t:4570] Merging verification tool and partial removal of deserialization custom errors.
git-svn-id: file:///svn/toku/tokudb@44286 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:43 -04:00
Yoni Fogel
e8a0b831fa [t:4904] Closes #4904 Simplify ft_get_some_existing_handle
Now verifies there is exactly one handle and returns it.
Removing this code entirely would make refcounting more complicated.

git-svn-id: file:///svn/toku/tokudb@44225 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:43 -04:00
Zardosht Kasheff
eeb3b0d231 [t:4953], add some comments
git-svn-id: file:///svn/toku/tokudb@44205 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:43 -04:00
Zardosht Kasheff
d2d3de2efa [t:4920], [t:4953], separate ydb lock from hot indexing and checkpointing
git-svn-id: file:///svn/toku/tokudb@44202 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:43 -04:00
Zardosht Kasheff
464a7a7a87 [t:5008], remove tabs from logger.c
git-svn-id: file:///svn/toku/tokudb@44177 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:43 -04:00
Yoni Fogel
a03df79235 [t:4892] closes #4892 fixed comments for note_end_checkpoint
git-svn-id: file:///svn/toku/tokudb@44145 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:42 -04:00
Zardosht Kasheff
900d290cda [t:4877], [t:4966], [t:4952], [t:4881], [t:4918], merge to main
git-svn-id: file:///svn/toku/tokudb@44130 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:42 -04:00
John Esmet
3609e305c1 [t:4967] remove the ydb lock from end checkpoint. note_unpin_by_checkpoint removes an ft reference, which is protected by the ft's ref lock.
git-svn-id: file:///svn/toku/tokudb@44129 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:42 -04:00
Leif Walsh
8a5aefc211 [t:4948] move upgrade_test_data.ft.* from tokudb to tokudb.data
git-svn-id: file:///svn/toku/tokudb@44095 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:42 -04:00
Zardosht Kasheff
f7cec5577d [t:4876], [t:4919], finish removing ydb lock from loader, clean up some code for 4876
git-svn-id: file:///svn/toku/tokudb@44093 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:41 -04:00
Leif Walsh
71101fd993 [t:4948] remove test1426.bdbdump from cmake files, add dependency on log code generation for tags
git-svn-id: file:///svn/toku/tokudb@44090 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:41 -04:00
John Esmet
f275751ce4 close[t:4959] executable bits dropped
git-svn-id: file:///svn/toku/tokudb@44076 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:41 -04:00
Yoni Fogel
310a4244e5 [t:4948] Delete some obsolete test data. Compress some fts used in tests to reduce size of checkout.
git-svn-id: file:///svn/toku/tokudb@44063 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:40 -04:00
John Esmet
d6634e04f0 [t:4749] [t:4878] [t:4929] [t:4947] merging these changes to main.
git-svn-id: file:///svn/toku/tokudb@44058 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:38 -04:00
Zardosht Kasheff
df056272dc [t:4876], report txn manager status to engine status
git-svn-id: file:///svn/toku/tokudb@44054 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:38 -04:00
Zardosht Kasheff
a615d041cd [t:4765], [t:4876], [t:4890], merge to main
git-svn-id: file:///svn/toku/tokudb@44012 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:37 -04:00
John Esmet
1d8c299345 close[t:4715] merging 4715 to main. at a high level, ft files are removed by marking OPEN ft/cf's as unlink on close, so when the last reference goes away, the file is unlinked. we log this bit during a checkpoint's fassociate to help with aborting a hot index in the future (so it isn't stricly necessary right now).
git-svn-id: file:///svn/toku/tokudb@44003 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:37 -04:00
Zardosht Kasheff
4b4761ee2c [t:4942], fix leaks in ft-XXX tests
git-svn-id: file:///svn/toku/tokudb@43939 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:37 -04:00
Zardosht Kasheff
19aefb8f57 [t:4942], fix memory leak
git-svn-id: file:///svn/toku/tokudb@43937 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:37 -04:00
Zardosht Kasheff
5d5180ca35 [t:4941], remove tabs from ftloader.c
git-svn-id: file:///svn/toku/tokudb@43936 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:37 -04:00
Zardosht Kasheff
f2c4fe13e8 [t:4875], [t:4887], merge from tokudb.4875 to main
git-svn-id: file:///svn/toku/tokudb@43896 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:37 -04:00
Leif Walsh
7b3d878101 [t:4875] remove toku_mark_node_dirty since it's not really used anymore
git-svn-id: file:///svn/toku/tokudb@43886 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:37 -04:00
Yoni Fogel
51dacb892c [t:4901] rename struct ft { FT h } to { FT ft }
git-svn-id: file:///svn/toku/tokudb@43771 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:36 -04:00
Yoni Fogel
f0cd39e1a0 [t:4875] Removed cruft from ft (dictionary_opened). Moved options in ft_handle to an options struct
git-svn-id: file:///svn/toku/tokudb@43769 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:36 -04:00
Christian Rober
1350222683 [t:4577] Backing out a bad commit.
git-svn-id: file:///svn/toku/tokudb@43765 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:36 -04:00
Christian Rober
6a799c4696 [t:4755] New branch and minimal upgrade error code changes.
git-svn-id: file:///svn/toku/tokudb@43763 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:36 -04:00
Yoni Fogel
3a208cebc4 closes [t:4913]. Modelines now synchronized in every source/header file (and always top two lines)
git-svn-id: file:///svn/toku/tokudb@43762 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:36 -04:00
Zardosht Kasheff
b3375a8e0f [t:4890], remove release_multi_operation_client_unlock code from TOKUTXN layer and handle it at ydb layer
git-svn-id: file:///svn/toku/tokudb@43746 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:35 -04:00