Commit graph

42 commits

Author SHA1 Message Date
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
Zardosht Kasheff
b3b10ee4ef [t:4890], remove unused code
git-svn-id: file:///svn/toku/tokudb@43739 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:35 -04:00
Zardosht Kasheff
bde8c74d19 [t:4890], make an exported function static
git-svn-id: file:///svn/toku/tokudb@43738 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:35 -04:00
Zardosht Kasheff
b5a3b74a69 [t:4890], remove tabs from ft-serialize.c
git-svn-id: file:///svn/toku/tokudb@43736 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:35 -04:00
Zardosht Kasheff
0bd44bcfc8 [t:4890], make toku_txn_start_txn be a void function
git-svn-id: file:///svn/toku/tokudb@43734 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:35 -04:00
Zardosht Kasheff
f16fade45e [t:4890], undo last checkin, was a little hasty
git-svn-id: file:///svn/toku/tokudb@43733 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:35 -04:00
Zardosht Kasheff
108c319e15 [t:4890], make toku_txn_start_txn and toku_txn_create_txn be void functions
git-svn-id: file:///svn/toku/tokudb@43732 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:35 -04:00
Zardosht Kasheff
61d34063ab [t:4890], remove tabs from roll.c, rollback.c, txn.c
git-svn-id: file:///svn/toku/tokudb@43731 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:35 -04:00
John Esmet
403ddb8f9b close[t:4908]
cachefile openfd_mutex is gone

also clarified an error condition in ft_open


git-svn-id: file:///svn/toku/tokudb@43730 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:35 -04:00
John Esmet
eeaab8ef91 close[t:4907]
simplified how reserving filenums works.

no more tracking reserved filenums in an OMT. just give out an autoincrement value and be sure that it isn't already used by something that exists in the cachetable.



git-svn-id: file:///svn/toku/tokudb@43729 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:35 -04:00
Zardosht Kasheff
18271587f3 [t:4909], remove tabs from cachetable.c
git-svn-id: file:///svn/toku/tokudb@43728 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:35 -04:00
Yoni Fogel
9162f7d0b6 closes [t:4906] Split ft-serialize.c. Added (hopefully temporary) ft-pwrite.c,h
git-svn-id: file:///svn/toku/tokudb@43725 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:35 -04:00
Leif Walsh
3719bf2c2f [t:4901] merging brt->ft rename to main
git-svn-id: file:///svn/toku/tokudb@43686 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:35 -04:00