Commit graph

59 commits

Author SHA1 Message Date
Rich Prohaska
4ff2082a57 #17 graceful error exit when out of file descriptors 2013-06-24 09:55:56 -04:00
Leif Walsh
88def6a5cb fix or suppress errors due to -Wmaybe-uninitialized in GCC 4.8
closes #13
2013-05-06 08:30:03 -04:00
Rich Prohaska
b7365688d1 fix memory leak in huge page detection 2013-05-05 11:53:03 -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
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
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
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
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
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
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
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
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
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
Leif Walsh
cd7c218570 refs #5351 fix a test deadlock
git-svn-id: file:///svn/toku/tokudb@48720 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:12 -04:00
Leif Walsh
32163e3389 refs #5351 fixes to circular buffer
git-svn-id: file:///svn/toku/tokudb@48718 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:12 -04:00
Leif Walsh
0fd3fcc3d6 refs #5351 add circular_buffer, no comments yet
git-svn-id: file:///svn/toku/tokudb@48715 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:12 -04:00
Leif Walsh
12143a6734 refs #5368 compile fix for test-affinity
git-svn-id: file:///svn/toku/tokudb@48695 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:12 -04:00
Leif Walsh
534b262792 refs #5368 add test for affinity code
git-svn-id: file:///svn/toku/tokudb@48694 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:12 -04:00
Leif Walsh
3aa6cee438 refs #5464 had to move a few more things
git-svn-id: file:///svn/toku/tokudb@48679 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:12 -04:00
Leif Walsh
75e38b2d79 refs #5464 move partitioned_counter completely to portability
git-svn-id: file:///svn/toku/tokudb@48678 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:12 -04:00
Leif Walsh
97ad349826 refs #5537 zero out some structs because osx treats pthread_rwlock_init as "conditional jump on uninitialized values" and that's noise
git-svn-id: file:///svn/toku/tokudb@48424 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:12 -04:00
Leif Walsh
c3a0afeab3 refs #5368 unify race detection tool annotations in <toku_race_tools.h>
git-svn-id: file:///svn/toku/tokudb@48361 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:11 -04:00
Leif Walsh
a30ce5da8a refs #5368 remove code which is unused except by a test I wrote, and is also very non-portable
git-svn-id: file:///svn/toku/tokudb@48347 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:11 -04:00
Leif Walsh
2eb17c0e06 refs #5368 check return value in test-wss
git-svn-id: file:///svn/toku/tokudb@48335 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:11 -04:00
Leif Walsh
f7f08de520 refs #5368 add implementations for some things in the portability layer
git-svn-id: file:///svn/toku/tokudb@48334 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:11 -04:00
Leif Walsh
eb81104629 refs #5368 use /usr/bin/env bash instead of /bin/bash for scripts
git-svn-id: file:///svn/toku/tokudb@48325 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:10 -04:00
Leif Walsh
2bc55f6b86 refs #4871 clean pwrite4g.data, it's big
git-svn-id: file:///svn/toku/tokudb@48317 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:10 -04:00
John Esmet
14087ae48f refs #5525 remove obsolete Makefiles
git-svn-id: file:///svn/toku/tokudb@48240 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:10 -04:00
Leif Walsh
bd63072bdf closes #5485 #5368 clean up cmake and get darwin portability:
for 5485:
 - remove icc handling stuff from cmake
 - clean up remaining cmake files
 - create libtokudb_static.a in a cleaner way using cmake OBJECT libs (requires cmake 2.8.9)
 - use POSITION_INDEPENDENT_CODE property instead of manually setting -fPIC
for 5368:
 - fix compilation failures due to small differences between gcc and clang, mostly in tests
 - use toku_fileids_are_equal instead of memcmp to compare fileids (closes #5505)
 - create dummy implementation of partitioned_counter for osx (quick fix for, and closes #5506)
 - add mutex->valid bit under TOKU_PTHREAD_DEBUG
 - initialize mutex of DB_TXN created during recovery for 2PC (closes #5507)


git-svn-id: file:///svn/toku/tokudb@48024 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:07 -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
Leif Walsh
a367232ad2 refs #5206 merge work making our code c99 and c++11 compatible, to mainline
git-svn-id: file:///svn/toku/tokudb@45632 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
John Esmet
f4e8a41a99 [t:4871] fix compilation of test-fair-rwlock
git-svn-id: file:///svn/toku/tokudb@44666 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:51 -04:00
Bradley C. Kuszmaul
925f584468 [t:4934] Get rid of 4934 stuff from main. Refs #4934.
git-svn-id: file:///svn/toku/tokudb@44659 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
Rich Prohaska
ddbc8a22eb make the mainline portability tests compile
git-svn-id: file:///svn/toku/tokudb@44638 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
Bradley C. Kuszmaul
b18a5e0080 [t:5091] Merge 44631 from ../tokudb.4934-branch-from.6.0.0. Refs #4934, #5091.
git-svn-id: file:///svn/toku/tokudb@44635 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
Leif Walsh
d6d59ec4b5 [t:4871] use shared lib for {lock,range}_tree tests, speeds up build, and add prefixes to test names to use regexes better
also better osx/clang support, compile with -O4 now
and use the same compiler for the fractal tree and lzma


git-svn-id: file:///svn/toku/tokudb@44602 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
Leif Walsh
dc4776a770 [t:4871] implement binary compilation options in a nicer way in cmake,
only do it for release builds, play nicer with multi-configuration
generators like vs and xcode


git-svn-id: file:///svn/toku/tokudb@44535 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:49 -04:00
Leif Walsh
d3a6f99e14 [t:5073] fix most clang problems on linux, ignore -Wcast-align for now
git-svn-id: file:///svn/toku/tokudb@44529 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:49 -04:00
Leif Walsh
6f24c4fa88 [t:4871] clean up compilation flags across the board
git-svn-id: file:///svn/toku/tokudb@44507 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:49 -04:00
Yoni Fogel
b6b8dd84c4 [t:4905] closes #4905 Merge 4905b branch to main (removes pwrite lock)
git-svn-id: file:///svn/toku/tokudb@44315 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:47 -04:00