Commit graph

184 commits

Author SHA1 Message Date
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
Rich Prohaska
c6c33fe5ba #4417 turn cilk off for fractal tree builds with icc refs[t:4417]
git-svn-id: file:///svn/toku/tokudb@39021 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:06 -04:00
Rich Prohaska
0ee84bc8f5 #4390 speed up loader tests run from the makefile refs[t:4390]
git-svn-id: file:///svn/toku/tokudb@38819 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:05 -04:00
Rich Prohaska
0b892d090a #4096 add version string to portability lib name refs[t:4096]
git-svn-id: file:///svn/toku/tokudb@38429 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:02 -04:00
Barry Perlman
46e2eba914 [t:4181] #4181 Make memory accounting a little cleaner.
git-svn-id: file:///svn/toku/tokudb@38050 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:01 -04:00
Bradley C. Kuszmaul
6cc79aee9d close[t:4273] Fix #4273. {{{svn merge -r 37842:37875 ../tokudb.4273}}}.
git-svn-id: file:///svn/toku/tokudb@37891 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:59 -04:00
Rich Prohaska
2419230dda #4222 merge 37514 to main refs[t:4222]
git-svn-id: file:///svn/toku/tokudb@37516 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:58 -04:00
Barry Perlman
b1324bd474 [t:4181] #4181 Merge from tokudb.4181 to main. Improve memory accounting to prevent resident set size (RSS) from exceeding allocation.
git-svn-id: file:///svn/toku/tokudb@37499 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:58 -04:00
Barry Perlman
9b0d73150a [t:4182] #4182 Merge tokudb.4182 to main. Add mallocator version string to engine status.
git-svn-id: file:///svn/toku/tokudb@37423 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:58 -04:00
Rich Prohaska
f7a3b41b18 #4137 remove atomic.h refs[t:4137]
git-svn-id: file:///svn/toku/tokudb@37157 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:57 -04:00
Rich Prohaska
35a46f2e5e #3853 make the lock tree memory accounting more accurate refs[t:3853]
git-svn-id: file:///svn/toku/tokudb@36278 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
Rich Prohaska
dc4960612a #3452 new row locking APIs refs[t:3452]
git-svn-id: file:///svn/toku/tokudb@35392 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:50 -04:00
Rich Prohaska
d1782521ad #3992 fix races found by cilkscreen refs[t:3992]
git-svn-id: file:///svn/toku/tokudb@35214 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:50 -04:00
Barry Perlman
c436cfd20f [t:3825] #3825 Add max_mem_in_use to memory statistics.
git-svn-id: file:///svn/toku/tokudb@35067 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:50 -04:00
Leif Walsh
432ee68331 [t:3923] merging fastcheck timeout to mainline
git-svn-id: file:///svn/toku/tokudb@34806 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:49 -04:00
Barry Perlman
78ee26f373 [t:3868] #3868 Replace tentative definition of function pointers in toku_assert.c with explicit mechanism: ydb layer passes in function pointers when env is created.
git-svn-id: file:///svn/toku/tokudb@33951 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:47 -04:00
Barry Perlman
cfebabfdfa [t:3825] #3825 Do not call malloc_usable_size() with NULL. Add malloc_fail and realloc_fail to engine status.
git-svn-id: file:///svn/toku/tokudb@33948 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:47 -04:00