Commit graph

59 commits

Author SHA1 Message Date
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
Leif Walsh
82970ad7d1 #6 rename config.h to toku_config.h to prevent name clash 2013-04-27 13:52:40 -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
Yoni Fogel
798f83412e refs #6286 Reorganized static asserts and status macros so c++11 features stay out of exported headers
git-svn-id: file:///svn/toku/tokudb@54546 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:31 -04:00
Yoni Fogel
6371d1134b refs #6286 Fix compile for CLANG.
Enabled some more asserts, disabled some static asserts for clang because it does not support constexprs

git-svn-id: file:///svn/toku/tokudb@54540 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:31 -04:00
Yoni Fogel
8c06138f58 refs #6286 Removed TOKDUB_ prefixes from all column names for global status.
Added static asserts that prevent accidentally adding global status variables that start with TOKU

git-svn-id: file:///svn/toku/tokudb@54509 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:31 -04:00
Yoni Fogel
22e332838a refs #6286 Add 148 items to information schema.global_status
git-svn-id: file:///svn/toku/tokudb@54507 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:31 -04:00
Yoni Fogel
e8226b79b8 refs #6286 Add infrastructure to use column names for info schema
git-svn-id: file:///svn/toku/tokudb@54506 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:31 -04:00
Yoni Fogel
2ea274c9f5 refs #5820 Merge information schema to mainline
git-svn-id: file:///svn/toku/tokudb@54478 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:31 -04:00
Leif Walsh
d9a440ee26 closes #5949 merge to main
git-svn-id: file:///svn/toku/tokudb@52748 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:28 -04:00
John Esmet
c9ded07b2f fixes #5848 add "Id" keyword to each file that did not already have it
git-svn-id: file:///svn/toku/tokudb@51639 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:25 -04:00
Leif Walsh
1c2644fb23 refs #5833 don't return from allocate_counter without unlocking
git-svn-id: file:///svn/toku/tokudb@51425 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:25 -04:00
Bradley C. Kuszmaul
0137da6728 Fix #5833. Add a test that notices the lack of locking while initialing a partitioned counter, and fix it.
git-svn-id: file:///svn/toku/tokudb@51376 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:24 -04:00
Bradley C. Kuszmaul
a06169079c Fix #5835: minor fixes to partitioned_counters.
git-svn-id: file:///svn/toku/tokudb@51374 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:24 -04:00
Zardosht Kasheff
c4a8d4434c refs #5805, merge fix to main
git-svn-id: file:///svn/toku/tokudb@51216 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:24 -04:00
Leif Walsh
c1c8699577 closes #5120 remove TOKU_ALLOW_DEPRECATED, reorganize some headers a bit to accomodate
git-svn-id: file:///svn/toku/tokudb@50922 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:22 -04:00
Leif Walsh
42dec70f10 refs #4883 remove affinity code, we weren't using it anyway
git-svn-id: file:///svn/toku/tokudb@50174 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:17 -04:00