Zardosht Kasheff
beb00d9edd
refs #4964 , add some comments for changing a descriptor
...
git-svn-id: file:///svn/toku/tokudb@45060 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:55 -04:00
Yoni Fogel
bb0c2acf6d
refs #5153 minor cleanups from review
...
git-svn-id: file:///svn/toku/tokudb@45006 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:54 -04:00
Zardosht Kasheff
665f1acff4
refs #5130 , refs #4870 , merge changes of adding db->change_XXX functions to main
...
git-svn-id: file:///svn/toku/tokudb@44890 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:53 -04:00
John Esmet
0a1d95065c
[t:4838] the locktree now opens its own ft handle when created to ensure that the ft stays in memory so long as the lock tree is in memory. we use an on_create and on_destroy callback to keep the txn/ft logic out of the locktree. the api for toku_ltm_get_lt is a little hairy now. a better solution may come in the future. for now, the original failing test passes.
...
git-svn-id: file:///svn/toku/tokudb@44819 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:52 -04:00
John Esmet
08531ecc0a
[t:5112] removed the fd param from update descriptor, improved the name, removed some unnecessary return codes from functions that cannot fail
...
git-svn-id: file:///svn/toku/tokudb@44771 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:52 -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
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
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
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
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
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
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
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
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
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
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