Commit graph

112 commits

Author SHA1 Message Date
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
c063892d92 #6 rename cmake functions duplicated in mysql to prevent name clash 2013-04-27 13:46:33 -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
6469cc006e refs #6566 add copyright/license #ident strings to files that didn't have it
git-svn-id: file:///svn/toku/tokudb@55568 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
Bradley C. Kuszmaul
f6d1933e12 Fix #6293. Don't use {{{mincore()}}} on Darwin.
git-svn-id: file:///svn/toku/tokudb@54523 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:31 -04:00
Bradley C. Kuszmaul
a35e475a5a Fix #6292. mincore is broken on centos 5.8, so workaround it. {{{svn merge -r54513:54514 https://svn.tokutek.com/tokudb/toku/tokudb.6292}}}.
git-svn-id: file:///svn/toku/tokudb@54515 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:31 -04:00
Bradley C. Kuszmaul
7b34d98275 Refs #6292. Disable the code that's breaking, until we can fix it.
git-svn-id: file:///svn/toku/tokudb@54512 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:31 -04:00
Bradley C. Kuszmaul
ca3af4843e Fixes #6020. Detect huge pages. The fractal tree layer notices when you create a logger (maybe there are other useful times to detect, but that's enough for now). The ydb layer notices when you all {{{db_env->open()}}}. The mysql handlerton notices the error in {{{tokudb_init_func()}}}.
git-svn-id: file:///svn/toku/tokudb@54498 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
Leif Walsh
98a1bd0f82 refs #5889 fix memset
git-svn-id: file:///svn/toku/tokudb@52277 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:27 -04:00
Leif Walsh
2b8697ccd2 refs #5842 fix uninitialized write
git-svn-id: file:///svn/toku/tokudb@52268 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:27 -04:00
Leif Walsh
03379b2059 refs #5889 fix test-pwrite4g
git-svn-id: file:///svn/toku/tokudb@52258 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:27 -04:00
Zardosht Kasheff
f3dc3fdea2 refs #5842, merge Direct I/O to main
git-svn-id: file:///svn/toku/tokudb@52238 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:27 -04:00
Zardosht Kasheff
ebb5315335 refs #5638, merge to main, finally.
git-svn-id: file:///svn/toku/tokudb@51767 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:26 -04:00
John Esmet
ea0736aa1c fixes #5723 refs #5801 merge 5723 to main and merge some last-minute 5801 fixes:
- widely adopt the use of ybt abstractions instead of raw dbt management. TODO: the loader and the descriptor are still manually managed.
- remove templates from the perf framework in favor of explicit key size checks that more accurately describe "How Keys/Vals Work", and prevent type related bugs.
- also: removed some dead code, refs #5101



git-svn-id: file:///svn/toku/tokudb@51665 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:25 -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
John Esmet
3cb519b5e6 refs #5811 fix mac build
git-svn-id: file:///svn/toku/tokudb@51254 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:24 -04:00
Yoni Fogel
12ccf6ae0a refs #5663 Merge #5663 onto main
git-svn-id: file:///svn/toku/tokudb@51238 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:24 -04:00
Zardosht Kasheff
9fbe4863a0 refs #5802, merge probabilistic PAIR clock decrementing from tokudb.fb to main.
git-svn-id: file:///svn/toku/tokudb@51187 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:23 -04:00
Leif Walsh
9ceb4d337e refs #5672 try adding some ways to crash that hopefully print a stacktrace
git-svn-id: file:///svn/toku/tokudb@50946 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:22 -04:00
Leif Walsh
68d1ea5ef4 refs #5120 fix up linking on linux
git-svn-id: file:///svn/toku/tokudb@50926 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:22 -04:00
Leif Walsh
d7801469d6 refs #5120 forgot to add toku_time.cc
git-svn-id: file:///svn/toku/tokudb@50925 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:22 -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
a5004f8bcf closes #5127 use jemalloc in the fractal tree always
git-svn-id: file:///svn/toku/tokudb@50680 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:20 -04:00
Leif Walsh
eeaf0912c7 refs #5710 fix mac build
git-svn-id: file:///svn/toku/tokudb@50490 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:19 -04:00
John Esmet
80b8bb9716 refs #5710 add counters for the number of bytes read and time spent doing IO, for the various ways you can do a fetch. improve the name of get_tokutime() and get rid of the now defunct toku_current_time_nanoseconds()
git-svn-id: file:///svn/toku/tokudb@50481 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:19 -04:00
John Esmet
0e3dfbabec refs #5710 invariant_zero must not be visible when this header is exported to the handlerton
git-svn-id: file:///svn/toku/tokudb@50464 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:19 -04:00
John Esmet
7962622c05 refs #5710 add toku_current_time_nanosec, rename current_time_usec to use 'microsec' to be more consistent
git-svn-id: file:///svn/toku/tokudb@50454 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:19 -04:00
Leif Walsh
8837da0f14 refs #5713 whoopsies, compile fix for release builds
git-svn-id: file:///svn/toku/tokudb@50428 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:19 -04:00
Leif Walsh
d04f506d6c closes #5713 make mutex initializers macros (as posix requires) and clean up the if statement garbage
git-svn-id: file:///svn/toku/tokudb@50424 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:19 -04:00
John Esmet
e459c4b1c5 refs #5629 get rid of some unneeded byte flipping. stick to little endian witha little endian comparison function.
git-svn-id: file:///svn/toku/tokudb@50327 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:18 -04:00
John Esmet
ea7d0656be refs #5629 make sure we have 64 bit versions and there is a test for it
git-svn-id: file:///svn/toku/tokudb@50318 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:18 -04:00
John Esmet
c4a230cb1d refs #5629 add 64 bit host to net ordering
git-svn-id: file:///svn/toku/tokudb@50317 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:18 -04:00
Leif Walsh
c8f788758c refs #4871 finish removing affinity stuff
git-svn-id: file:///svn/toku/tokudb@50311 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:18 -04:00
Leif Walsh
15e0df36fb refs #5671 implement join_timeout with a portable 'crash and dump core' function
git-svn-id: file:///svn/toku/tokudb@50308 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:18 -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
Leif Walsh
ffe2a5d87c refs #5351 fix mutexattr stuff for darwin
git-svn-id: file:///svn/toku/tokudb@49885 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:16 -04:00
John Esmet
12803248af refs #5351 do not use the static initializer in a dynamic context, because it confuses tools like helgrind which look for create/destroy pairs to validate mutex handling
git-svn-id: file:///svn/toku/tokudb@49865 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:15 -04:00
John Esmet
65cd284834 fixes #5351 fixes #5528 merge the new locktree to main. the locktree, locktree manager, and blocking lock request api are implemented at the toplevel under locktree/ and the ydb layer has been modified to use the new API. some kruft has been deleted from various parts of the source tree and these merge also includes a change where we kill 'includes.h'
git-svn-id: file:///svn/toku/tokudb@49851 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:15 -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
Zardosht Kasheff
ddfd46fb56 refs #5634, merge bucket mutexes to main
git-svn-id: file:///svn/toku/tokudb@49391 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:14 -04:00
Leif Walsh
983eb0467c refs #5632 add a portability layer for adaptive mutexes
git-svn-id: file:///svn/toku/tokudb@49239 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:13 -04:00
Leif Walsh
c029fe3f93 refs #5418 drive-by cleanup
git-svn-id: file:///svn/toku/tokudb@49043 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:13 -04:00
Leif Walsh
2537edef0e refs #5368 fix unused warning on osx, and really stupid include file ordering issue
git-svn-id: file:///svn/toku/tokudb@48887 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:13 -04:00
Leif Walsh
264a8e65ed refs #5592 fix linking of util, again...
git-svn-id: file:///svn/toku/tokudb@48823 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:13 -04:00
Leif Walsh
d70c82fd91 refs #5592 fix linking of util because of pthread keys
git-svn-id: file:///svn/toku/tokudb@48777 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:13 -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