13 Commits (bf70bbb89820c6e8ff3dd9a76c76e3bc1b7f7485)

Author SHA1 Message Date
Leif Walsh bf70bbb898 refs #5418 merge promotion to main 13 years ago
Zardosht Kasheff ddfd46fb56 refs #5634, merge bucket mutexes to main 13 years ago
Leif Walsh 774afe534d refs #5592 move circular_buffer, omt, threadpool, growable_array, rwlock, frwlock, kibbutz, mempool, partitioned_counter, nb_mutex, sort to util/, and some other cleanup stuff 13 years ago
John Esmet 1b8c8ac4b2 refs #5500 close userdata and checkpoint userdata do not fail, so cachefile close and ft evict from memory do not fail 13 years ago
John Esmet c9e96a8735 refs #5500 fsyncs do not fail, so the userdata callbacks do not fail 13 years ago
John Esmet c652e648fc refs #5500 logger fsync does not fail 13 years ago
John Esmet 0bc5013e30 fixes #5423 fixes #5424 fixes #5503 fixes #5225 fsync always succeeds and returns void, no more ft panic or logger panic, no more impossible error paths 13 years ago
Zardosht Kasheff 06df52d6e1 refs #5442, merge to main 13 years ago
Zardosht Kasheff d59b9e772d refs #4937, merge to main 13 years ago
Zardosht Kasheff 7ea6dd4171 refs #4606, merge to main 13 years ago
John Esmet 01068d0c1d fixes #4752 support blackhole option in tokudb, add it to the stress test framework as well as an option for prelocked write. we also fix the flags api in the ft layer to return void since they can't fail. 13 years ago
Yoni Fogel d4cf29525f refs #5081 Replace all usage: 13 years ago
Leif Walsh 958c447641 closes #5206 merge c++ changes to mainline 13 years ago
Leif Walsh a367232ad2 refs #5206 merge work making our code c99 and c++11 compatible, to mainline 13 years ago
Yoni Fogel d3b55b4d8a refs #5189 xstillopen(prepared) must assert begin was logged, instead of ignoring 13 years ago
Zardosht Kasheff 665f1acff4 refs #5130, refs #4870, merge changes of adding db->change_XXX functions to main 13 years ago
John Esmet 5c4b1d60ce close[t:5128] updating a descriptor now has two parts: user API that passes a FT and descriptor, and a low layer API that takes those two plus an explicit descriptor. we use the low layer one for deserialization code that wants to upgrade a descriptor for an FT that is not fully opened yet (and thus whose FT does not have a valid cachefile yet). this seems to be a clean enough solution, since it helps some upgrade code do non-standard stuff. 13 years ago
John Esmet 8e7bc18ed8 close[t:5124] use a cleaner way of access an FT_HANDLE's descriptor pointers at the ydb layer. comment the ft API, too. 13 years ago
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 13 years ago
Yoni Fogel 2c1583ca7c [t:5106] closes #5106 Replaced txn omt (in FT) with integer 13 years ago
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 13 years ago
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. 13 years ago
Bradley C. Kuszmaul a9264b9627 Some comments written during the open/close fops code review. 13 years ago
Leif Walsh e13da393bc [t:5062] txnid becomes separate from lsn, and optimizations for read-only txns 13 years ago
Leif Walsh 4d74fb5caf [t:4570] finishing the enum->int change for checksum errors 13 years ago
Yoni Fogel b6b8dd84c4 [t:4905] closes #4905 Merge 4905b branch to main (removes pwrite lock) 13 years ago
Yoni Fogel e8a0b831fa [t:4904] Closes #4904 Simplify ft_get_some_existing_handle 13 years ago
Zardosht Kasheff d2d3de2efa [t:4920], [t:4953], separate ydb lock from hot indexing and checkpointing 13 years ago
Zardosht Kasheff 900d290cda [t:4877], [t:4966], [t:4952], [t:4881], [t:4918], merge to main 13 years ago
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). 13 years ago
Zardosht Kasheff f2c4fe13e8 [t:4875], [t:4887], merge from tokudb.4875 to main 13 years ago
Yoni Fogel 51dacb892c [t:4901] rename struct ft { FT h } to { FT ft } 13 years ago
Yoni Fogel f0cd39e1a0 [t:4875] Removed cruft from ft (dictionary_opened). Moved options in ft_handle to an options struct 13 years ago
Yoni Fogel 3a208cebc4 closes [t:4913]. Modelines now synchronized in every source/header file (and always top two lines) 13 years ago
Leif Walsh 3719bf2c2f [t:4901] merging brt->ft rename to main 13 years ago
Rich Prohaska 6f8c78d19b #4869 #4753 simplify the pthreads api, remove dead code, remove untest error recovery patch, increase test coverage refs[t:4753] 13 years ago
Leif Walsh d9639d75e0 [t:4741] finish removing brt_header reference from brtnode 13 years ago
Leif Walsh 3e9b941cf1 [t:4887] move stats changing stuff to brt_header.h and make the loader update stats 13 years ago
Zardosht Kasheff 1ddb1b0939 [t:4875], move descriptor code to brt_header.c 13 years ago
Leif Walsh d3aaa32b20 [t:4882] change compression type to be set before create 13 years ago
Zardosht Kasheff f666ee0394 [t:4875], move brt_stat64 work to brt_header.c 13 years ago
Zardosht Kasheff bbad90a58f [t:4875], move some small functions over 13 years ago
Zardosht Kasheff 5ff1a02587 [t:4875], fix setting of a header's root_blocknum to go through brt_header 13 years ago
Zardosht Kasheff ee6094ccce [t:4875], move toku_calculate_root_offset_pointer to brt_header.c 13 years ago
Zardosht Kasheff 66b56b6be0 [t:4874], make toku_brtheader_remove_txn_ref still depend on the ydb lock. Holding the header lock while trying to close leads to deadlocks. Need to rethink how to get close during toku_brtheader_remove_txn_ref working 13 years ago
Zardosht Kasheff 2fae14ff30 [t:4874], fix silly bug in toku_brtheader_maybe_add_txn_ref 13 years ago
Zardosht Kasheff 34b3dae38e [t:4880], fix toku_brtheader_get_some_existing_brt 13 years ago
Zardosht Kasheff b5084ff8a0 [t:4874], remove dependence of ydb lock from h->live_brts and live->txns 13 years ago
Zardosht Kasheff 20d141c02d [t:4874], move all usage of h->live_brts to brt_header.c 13 years ago
Zardosht Kasheff c2f5ebd9a8 [t:4875], reorder some functions in brt_header.c to put logically connected functions next to each other 13 years ago