Commit graph

28 commits

Author SHA1 Message Date
John Esmet
ac4e71ef40 Really fix the test helper memory leak this time 2014-06-15 23:13:54 -04:00
John Esmet
b33e859c6a FT-273 Use a comparator object for fractal tree key comparisons when
possible, untangling the dependency between parameters 'ft->compare_fun' and
'ft->cmp_descriptor' in a sensible way. It is now much less necessary to
create a fake db (good) and some long parameter lists are now shorter
(it's a start)
2014-06-15 23:01:58 -04:00
John Esmet
9d85fa498c fix leak in ft-test-helpers.cc 2014-06-15 09:25:28 -04:00
John Esmet
597dc5b33e FT-257 Add a abstraction for the pivot keys in an ftnode. 2014-06-14 20:40:34 -04:00
John Esmet
291dfdc9d9 FT-262 Rename thisnodename or nodename to blocknum 2014-06-14 20:40:34 -04:00
John Esmet
ac575d01ba FT-260 Move ftnode related structures and declarations to ft/node.h and ft/node.cc 2014-06-14 20:25:34 -04:00
John Esmet
d037524b70 fixes #188 Renamed the last brt artifacts to ft_handle. Tried to keep
comments etc sane by not dropping a big sed bomb. Hopefully things make
sense from here on out.
2014-03-02 18:04:37 -05:00
John Esmet
f1e6eda063 Tests compile now 2014-03-01 21:27:32 -05:00
John Esmet
6ba9232dc1 Renamed 'toku_pin_ftnode_off_client_thread' to 'toku_pin_ftnode_with_dep_nodes' 2014-03-01 21:10:59 -05:00
John Esmet
489e3eab6e Got rid if some stuff, tokufractaltree compiling 2014-03-01 20:43:22 -05:00
John Esmet
5603451411 fixes #177 Rename cmd to msg when it is referring to a FT_MSG as opposed
to a logentry command in the recovery log / rollback log.
2014-03-01 19:57:40 -05:00
John Esmet
fb76250b7a Consolidate garbage collection information into txn_gc_info. Explicitly
separate the difference between the oldest referenced xid we can use for
implicit promotion vs simple garbage collection.
2014-02-20 13:32:25 -05:00
John Esmet
f12bdc758c Pass down txn manager state to message application, which it can use to
run full garbage collection when a leafentry has > 1 committed entry.
2014-02-20 13:30:30 -05:00
John Esmet
96a2a6fc96 fixes #134 Add the get/set/change_fanout API 2014-01-09 14:34:23 -05:00
Rich Prohaska
2796c2d35c tokutek/ft-index#76 add US Patent 8,489,638 2013-10-04 16:49:53 -04:00
Leif Walsh
9f99932a76 refs #6566 fix typo in license text
git-svn-id: file:///svn/toku/tokudb@55577 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:36 -04:00
Leif Walsh
9fd20e61a4 refs #6566 add license text to all C/C++ files as a comment near the top
git-svn-id: file:///svn/toku/tokudb@55574 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:35 -04:00
Leif Walsh
84fef672e4 refs #6566 update all copyright strings to reflect an end year of 2013
git-svn-id: file:///svn/toku/tokudb@55567 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:35 -04:00
Zardosht Kasheff
67eb050b40 closes #5773, merge to main from tokudb.5773, Merging r51027 through r51078 into '.'
git-svn-id: file:///svn/toku/tokudb@51079 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:23 -04:00
John Esmet
4233ec1e5f refs #5559 merge 5559 to main
git-svn-id: file:///svn/toku/tokudb@50812 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:21 -04:00
Zardosht Kasheff
a0eeedd5f5 refs #5700, merge to main
git-svn-id: file:///svn/toku/tokudb@50517 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:19 -04:00
Leif Walsh
9688214ba7 refs #5671 fix a memory leak in test helpers
git-svn-id: file:///svn/toku/tokudb@50124 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:17 -04:00
Leif Walsh
bf70bbb898 refs #5418 merge promotion to main
git-svn-id: file:///svn/toku/tokudb@49697 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:14 -04:00
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
git-svn-id: file:///svn/toku/tokudb@48763 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:13 -04:00
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
git-svn-id: file:///svn/toku/tokudb@48076 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:08 -04:00
Zardosht Kasheff
3a887ea75f refs #5312, merge to main
git-svn-id: file:///svn/toku/tokudb@47022 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Yoni Fogel
d4cf29525f refs #5081 Replace all usage:
BOOL->bool
FALSE->false
TRUE->true
u_int*_t->uint*_t

Also poisoned all of the variables

git-svn-id: file:///svn/toku/tokudb@46157 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:01 -04:00
Leif Walsh
958c447641 closes #5206 merge c++ changes to mainline
git-svn-id: file:///svn/toku/tokudb@45903 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:59 -04:00
Renamed from ft/ft-test-helpers.c (Browse further)