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
Leif Walsh
d1bef7992e
fixed osx compilation breakage due to format strings
2013-12-23 19:23:20 -05:00
Leif Walsh
9f59d06843
added cpack component identifications to all install targets Tokutek/mongo#869
2013-12-20 17:58:48 -05:00
Zardosht Kasheff
6721a2c1e7
Merge branch 'bugs/115'
2013-12-09 15:46:56 -05:00
Zardosht Kasheff
41364a4ba8
refs #115 , don't allow mempools to grow unbounded by restricting their size in
...
omt_compress_kvspace.
2013-12-09 15:46:49 -05:00
Rich Prohaska
78bfa5e78c
#107 use frwlock as checkpoint_safe_lock
2013-11-18 09:31:36 -05:00
Rich Prohaska
be83087a3c
#107 check if various rwlocks are fair WRT multiple writers
2013-11-18 08:19:39 -05:00
Rich Prohaska
2796c2d35c
tokutek/ft-index#76 add US Patent 8,489,638
2013-10-04 16:49:53 -04:00
Yoni Fogel
bf4c67f20d
refs #46 , LOTS of refactoring done.
...
Isolate mempool and OMT into a new class, bndata.
Remove key from the leafentry.
2013-09-25 11:07:30 -04:00
Leif Walsh
8a3d908ba3
demangle partitioned counter functions, and export read_partitioned_counter, closes #23
2013-05-30 13:33:58 -04:00
Leif Walsh
366e847e5f
#6 don't do cmake install if we're a subproject of mysql
2013-04-28 20:20:17 -04:00