Commit graph

87 commits

Author SHA1 Message Date
John Esmet
f176b29b5e FT-396 Rename various tokudb-containing functions and comments to
instead refer to tokuft
2014-08-21 15:35:07 -04:00
John Esmet
7316bacdeb FT-396 Rename TokuDB to TokuFT in each license header 2014-08-21 15:35:06 -04:00
John Esmet
feb5b70c26 FT-582 Remove remaining artifacts from the ICC days 2014-08-21 15:35:06 -04:00
John Esmet
46ab99301c FT-276 Remove alignment from toku_mempool_malloc API 2014-07-03 12:57:00 -04:00
John Esmet
84c5d22e29 FT-291 Remove the remaining cilk artifacts 2014-07-03 12:36:25 -04:00
John Esmet
157e18040c FT-294 Move cachetable files to ft/cachetable, txn files to ft/txn
FT-295 Move ybt.h to utils/dbt.h
2014-07-03 12:36:13 -04:00
John Esmet
6e3d772fea FT-294 Move serialization code to its own subdirectory, serialize/ 2014-07-03 12:30:17 -04:00
John Esmet
7ffd1fab11 FT-242 Break up fttypes.h completely.
FT-296 Move bytestring class to utils/
2014-07-03 12:29:48 -04:00
John Esmet
0a18b89ad6 FT-259 Placate the build slaves with their exotic toolchain. 2014-06-14 21:04:43 -04:00
John Esmet
b6abf2063c FT-259 Clean up memarena API / code. Use a memarena in the locktree to store
each transaction's ranges instead of a hand-rolled buffer.
2014-06-14 20:40:33 -04:00
John Esmet
d2ab8a6253 FT-241 Use #pragma once as a header guard 2014-06-14 20:25:34 -04:00
John Esmet
d94a8bf751 FT-243 Move minicron to util/ 2014-06-14 20:24:46 -04:00
John Esmet
ece1d4c4ed FT-245 Move queue to util, use toku_ prefix for consistency with the
rest of the code base
2014-06-14 20:24:46 -04:00
John Esmet
521a9ec1ca refs #258 Pass the old key length down to le_pack, so that mempool free has the right value 2014-06-09 15:37:26 -04:00
John Esmet
1338d90787 Revert "TMX-1 Rename TokuKV to TokuFT"
We will wait until after TokuMX 1.5.0 for these changes

This reverts commit b1f4a0aa62.
2014-05-23 18:29:24 -04:00
John Esmet
4680500514 TMX-1 Rename TokuKV to TokuFT 2014-05-23 18:13:32 -04:00
John Esmet
462f601236 fixes #248 Convert to a tree on omt clone if it must support marks 2014-05-22 18:57:56 -04:00
Rich Prohaska
4d2c3ffbb6 #240 make the toku thread pool handle transient thread creation errors 2014-05-15 08:33:30 -04:00
John Esmet
20e3419630 fixes #200 Remove windows logic, which has not been supported in years. 2014-03-05 12:11:39 -05:00
John Esmet
68f199f146 fixes #192 Remove legacy OMT API. Some of it survives in omt-test.cc to
simplify things. New OMTs will use the new templated API, or, when
performance is not critical, use something simple like a std::map
2014-03-03 21:52:22 -05:00
John Esmet
7a76d84d01 fixes #198 Consolidate our portability code by moving toku_include/*
stuff into portability/
2014-03-03 20:07:57 -05:00
John Esmet
d66c2bae02 fixes #172 Moved memarena to util, made its public API more consistent with
the rest of the code
2014-03-03 15:11:54 -05:00
John Esmet
cb030cb448 fixes #194 Move x1764 to util/ and make the public API consistent with
the rest of the code.
2014-03-03 14:48:03 -05:00
John Esmet
1069488087 Fix the OSX build 2014-03-03 10:54:33 -05:00
John Esmet
e20bccc17a fixes #46 Add dynamic-value omt clone (dmt) and use it to implement basement nodes 2014-03-02 22:46:49 -05:00
John Esmet
1221054361 fixes #116 Remove the 25% padding from toku_mempool_construct. Clean up
the bndata code that calls toku_mempool_construct.
2014-03-02 18:53:39 -05:00
John Esmet
d93fe66d5e refs #171 split the includes that are used for OSX vs linux builds 2014-02-15 10:38:20 -05:00
John Esmet
ca7651e522 fixes #171 maintain a global map of registered tl_stack objects that we
can iterate over and clean up, which prevents a memory leak when the
fractal tree shared library unloads before all thread-local destructors run
2014-02-15 10:13:23 -05:00
Leif Walsh
9d3d681d04 Revert "Merge remote-tracking branch 'origin/ft-index/46merge-a'"
This reverts commit b1c1e93dc4, reversing
changes made to 60be90af92.
2014-02-04 11:08:30 -05:00
Leif Walsh
a03b9926d7 Merge remote-tracking branch 'origin/ft-index/46merge-a' 2014-02-04 10:37:07 -05:00
Yoni Fogel
4d9ba2645a fixes Tokutek/ft-index#163 frwlock is properly split into .h and .cc. Users only include .h 2014-01-29 22:09:33 -08:00
Yoni Fogel
198b4d60bd Refs Tokutek/ft-index#46 Updated comments in dmt.h 2014-01-29 20:59:40 -08:00
Yoni Fogel
4d3451acd0 Refs Tokutek/ft-index#46 Unify toku_mempool_*_(size|space) to be toku_mempool_*_size 2014-01-29 20:59:34 -08:00
Yoni Fogel
7a2e9511a3 Refs Tokutek/ft-index#46 improve test coverage, minor formatting 2014-01-29 20:59:28 -08:00
Yoni Fogel
51d75f315d Refs Tokutek/ft-index#46 cleaned up serialization, upped version to 26 2014-01-29 20:59:26 -08:00
Yoni Fogel
db9ef1a573 Refs Tokutek/ft-index#46 Comments, minor renames, reworked bn_data::move_leafentries s.t. splits do not significantly increase memory usage of basement nodes and to be cleaner 2014-01-29 20:59:24 -08:00
Yoni Fogel
3b661a4ba9 Refs Tokutek/ft-index#46 fix overactive inequality assertion in mempool 2014-01-29 20:59:19 -08:00
Yoni Fogel
6b0c108cff Refs Tokutek/ft-index#46 Killed dmt_functor<> template. Added dmtwriter_t template parameter to dmt and some documentation 2014-01-29 20:59:17 -08:00
Yoni Fogel
eef0ab7812 Refs Tokutek/ft-index#46 documentation/comments 2014-01-29 20:59:15 -08:00
Yoni Fogel
12937dc284 Refs Tokutek/ft-index#46 Finish verify (find purpose). Restore old verify_in_mempool functionality 2014-01-29 20:59:10 -08:00
Yoni Fogel
7e32e7c7f8 Refs Tokutek/ft-index#46 Minor optimizations, added some todos for code review. WILL NOT COMPILE 2014-01-29 20:59:08 -08:00
Yoni Fogel
8d45bea397 Refs Tokutek/ft-index#46 Add some comments. Improve dmt::verify() to check for more types of corruption. More static checks 2014-01-29 20:59:05 -08:00
Yoni Fogel
7fb84ea746 Refs Tokutek/ft-index#46 Remove ctree/dtree/mnode/cnode/base node/dnode/marks/etc... That is, removed all items that
were designed to allow us to upgrade the dmt later (e.g. fixed-length nodes for tree form) or merge with old omt (e.g. supporting marks)
2014-01-29 20:58:46 -08:00
Yoni Fogel
8e04352397 Refs Tokutek/ft-index#46 Added some comments, deleted unused/commented out code, renamed variables 2014-01-29 20:58:35 -08:00
Yoni Fogel
b0ccec783a Refs Tokutek/ft-index#46 Add dmt (dynamic OMT)
Use dmt to replace omt in bn_data class for storing leafentries.
Optimization for serial inserts and mempool
2014-01-29 20:53:35 -08:00
Leif Walsh
5a61f34453 added passthrough scoped_malloc impl for osx #160
osx doesn't support __thread well so scoped_malloc breaks it.  Rather than
fix it, we implement a correct but poorly-performing implementation for
now that will be used on osx machines.

fixes #160
2014-01-29 18:40:27 -05:00
John Esmet
75052cdc11 fixes #127 Add a class for scoped mallocs, which are satisfied from a
thread-local buffer when possible.
2014-01-23 16:57:04 -05:00
John Esmet
fbc1f5933e fixes #146 Add context class and track the current writer/context in the
frwlock
2014-01-22 13:18:49 -05:00
John Esmet
f7c1d3f9ff fixes #154 Remove toku_fair_rwlock 2014-01-20 16:53:17 -05:00
Rich Prohaska
f64edcc463 #137 error out env->open when worker threads can not be created 2014-01-06 16:58:22 -05:00