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
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
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
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
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
John Esmet
1fd162242d
fixes #5797 cilk artifacts removed
...
git-svn-id: file:///svn/toku/tokudb@51213 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
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
0cc7d82904
refs #5418 fix typo, include config.h from toku_assert.h so that we always know whether or not to be paranoid
...
git-svn-id: file:///svn/toku/tokudb@50147 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:17 -04:00
John Esmet
3556f22396
refs #5351 put this in the race tools header, make sure it does not break a release build
...
git-svn-id: file:///svn/toku/tokudb@49925 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:16 -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
Leif Walsh
589813ac5c
refs #5368 add portability wrapper for sched_setaffinity/sched_getaffinity
...
git-svn-id: file:///svn/toku/tokudb@48692 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
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
cf38167215
refs #5368 add some more system checks
...
git-svn-id: file:///svn/toku/tokudb@48333 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:11 -04:00
Leif Walsh
f6a4242420
refs #5368 add some more system checks
...
git-svn-id: file:///svn/toku/tokudb@48332 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:11 -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
3cde1f1bc6
refs #5464 merge partitioned counter printing-in-handlerton fixes from 6.5.0
...
git-svn-id: file:///svn/toku/tokudb@48130 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:09 -04:00
John Esmet
0bc5013e30
fixes #5423 fixes #5424 fixes #5503 fixes #5225 fsync always succeeds and returns void, no more ft panic or logger panic, no more impossible error paths
...
git-svn-id: file:///svn/toku/tokudb@48076 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:08 -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
Christian Rober
a170881af0
refs #5086 fix to avoid using __builtin_offsetof on clang, since POD is stricter on clang, and not all of our types that use toku_list are POD on clang.
...
git-svn-id: file:///svn/toku/tokudb@47085 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:04 -04:00
Christian Rober
0bf92de6b3
refs #5086 ignore POD for clang, since it is stricter than GCC and we don't yet fully support clang.
...
git-svn-id: file:///svn/toku/tokudb@47053 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:04 -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
Yoni Fogel
2f23fc5db1
refs #5280 Add additional warning options and get it to compile cleanly.
...
Add comments and static asserts for on-disk formats (e.g. leafentries)
git-svn-id: file:///svn/toku/tokudb@45977 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -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
Yoni Fogel
73bcbb4259
refs #5189 Save last_xid in shutdown entry instead of increasing lsn and aliasing
...
git-svn-id: file:///svn/toku/tokudb@45271 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:57 -04:00
Bradley C. Kuszmaul
d04b3eaa52
[t:4934] Get rid of more #4934 stuff from main. Refs #4934 .
...
git-svn-id: file:///svn/toku/tokudb@44663 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
Bradley C. Kuszmaul
2f8410fe0b
[t:4934] Merge 44291 from ../../tokudb.4934-branch-from.6.0.0/newbrt/. Refs #4934 .
...
git-svn-id: file:///svn/toku/tokudb@44632 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
Leif Walsh
f941a12b88
[t:5027] some work on making threaded_stress_test_helpers better for benchmarking
...
also created perf_insert.tdb
git-svn-id: file:///svn/toku/tokudb@44332 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:48 -04:00
Zardosht Kasheff
d2d3de2efa
[t:4920], [t:4953], separate ydb lock from hot indexing and checkpointing
...
git-svn-id: file:///svn/toku/tokudb@44202 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:43 -04:00
Zardosht Kasheff
f2c4fe13e8
[t:4875], [t:4887], merge from tokudb.4875 to main
...
git-svn-id: file:///svn/toku/tokudb@43896 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:37 -04:00
Yoni Fogel
3a208cebc4
closes [t:4913]. Modelines now synchronized in every source/header file (and always top two lines)
...
git-svn-id: file:///svn/toku/tokudb@43762 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:36 -04:00
Leif Walsh
3719bf2c2f
[t:4901] merging brt->ft rename to main
...
git-svn-id: file:///svn/toku/tokudb@43686 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:35 -04:00
Leif Walsh
63b1969fbb
[t:4814] merging cmake work to mainline
...
git-svn-id: file:///svn/toku/tokudb@43179 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:25 -04:00
Rich Prohaska
e25ea55928
#4682 remove cilkarts code from the loader. refs[t:4682]
...
git-svn-id: file:///svn/toku/tokudb@42090 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:22 -04:00
Leif Walsh
dc86d566c7
[t:4635] adding liblzma_icc_dbg.a so icc+debug builds can run test_compression_methods, turns out we needed a fourth library after all
...
git-svn-id: file:///svn/toku/tokudb@41524 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:15 -04:00
Leif Walsh
43e5551390
[t:4635] merging fractal tree and handlerton code to main
...
git-svn-id: file:///svn/toku/tokudb@41503 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:14 -04:00
Bradley C. Kuszmaul
0b1c8f9474
[t:4298] Get the compiler warnings to calm down for valgrind 3.6 combined with gcc 4.6.3
...
git-svn-id: file:///svn/toku/tokudb@41193 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:13 -04:00
Bradley C. Kuszmaul
f462cc60bf
close[t:4602] Make gcc 4.6.2 stop complaining about valgrind 3.6.1 {{{unused-but-set-variable}}} warnings ({{{svn merge -c 40646 ../tokudb.4594/}}}. Closes #4602 .
...
git-svn-id: file:///svn/toku/tokudb@40647 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:13 -04:00
Rich Prohaska
5467a05231
#4590 replace drd annotations with helgrind annotations refs[t:4590]
...
git-svn-id: file:///svn/toku/tokudb@40488 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:13 -04:00
Barry Perlman
c1af232f67
[t:2949] Revert memory status to old design to avoid issues in portability layer, make translation to new system in ydb.c. Refs #2949 .
...
git-svn-id: file:///svn/toku/tokudb@39389 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:08 -04:00
Barry Perlman
e37c5d33de
[t:2949] Merge from tokudb.2949 with command, executed at sandbox/toku {{{svn merge -r39023:HEAD tokudb.2949 tokudb}}}. Refs #2949 .
...
git-svn-id: file:///svn/toku/tokudb@39376 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:08 -04:00