Commit graph

305 commits

Author SHA1 Message Date
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
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
Leif Walsh
60f6e4b90c refs #5368 add some benign includes and change one errno usage for portability
git-svn-id: file:///svn/toku/tokudb@48330 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:10 -04:00
Leif Walsh
54b16784b4 refs #5368 don't define MIN if it's already defined
git-svn-id: file:///svn/toku/tokudb@48329 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:10 -04:00
Leif Walsh
c97c3e2a63 comment and extra semicolon removal
git-svn-id: file:///svn/toku/tokudb@48320 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:10 -04:00
Leif Walsh
8c1a8061a2 closes #5530 fix recovery to be more careful about trusting bytes at the
end of the file


git-svn-id: file:///svn/toku/tokudb@48266 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:10 -04:00
John Esmet
53e33b7531 fixes #5490 get rid of the last nodup stuff
git-svn-id: file:///svn/toku/tokudb@48251 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:10 -04:00
John Esmet
3364bd0b0e refs #5490 dup/nodup artifacts
git-svn-id: file:///svn/toku/tokudb@48249 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:10 -04:00
John Esmet
18f383a009 dead code
git-svn-id: file:///svn/toku/tokudb@48242 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
John Esmet
ad7a172da9 refs #5500 getting a txnid does not fail
git-svn-id: file:///svn/toku/tokudb@48239 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:09 -04:00
John Esmet
3e6373c51d refs #5500 logger close rollback does not fail
git-svn-id: file:///svn/toku/tokudb@48238 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:09 -04:00
John Esmet
1b8c8ac4b2 refs #5500 close userdata and checkpoint userdata do not fail, so cachefile close and ft evict from memory do not fail
git-svn-id: file:///svn/toku/tokudb@48237 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:09 -04:00
John Esmet
c9e96a8735 refs #5500 fsyncs do not fail, so the userdata callbacks do not fail
git-svn-id: file:///svn/toku/tokudb@48236 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:09 -04:00
John Esmet
c652e648fc refs #5500 logger fsync does not fail
git-svn-id: file:///svn/toku/tokudb@48233 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:09 -04:00
Leif Walsh
524c361432 increase timeout for helgrind_test_partitioned_counter
git-svn-id: file:///svn/toku/tokudb@48228 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:09 -04:00
Leif Walsh
bf7bd25c4f refs #5464 fix memory leaks in cachetable-test after bringing partitioned counters on board
git-svn-id: file:///svn/toku/tokudb@48183 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:09 -04:00
Leif Walsh
023b7629b1 refs #5507 zero out mutex in marked_omt_test
git-svn-id: file:///svn/toku/tokudb@48132 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:09 -04:00
Leif Walsh
3957a9c83a refs #5485 clean out more icc stuff, don't use OBJECT libs
git-svn-id: file:///svn/toku/tokudb@48131 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:09 -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
Leif Walsh
50b03741f7 refs #5368 add some osx specific suppressions to the suppressions file, and also to tokuvalgrind because things are a little rocky on osx these days
git-svn-id: file:///svn/toku/tokudb@48125 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:09 -04:00
John Esmet
43e1715e1f fix flakey test
git-svn-id: file:///svn/toku/tokudb@48123 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:09 -04:00
Leif Walsh
294972475e refs #5368 add some valgrind suppressions for osx
git-svn-id: file:///svn/toku/tokudb@48115 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:09 -04:00
Christian Rober
0fe0d09bf8 refs #4885 Adjusted buffer offsets to help track deserialization of upgraded nodes. Updated fingerprint comments. Fixed spelling errors.
git-svn-id: file:///svn/toku/tokudb@48107 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:09 -04:00
John Esmet
e005db0533 refs #5504 not needed anymore
git-svn-id: file:///svn/toku/tokudb@48096 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:08 -04:00
John Esmet
8df87816e2 refs #5504 step back
git-svn-id: file:///svn/toku/tokudb@48095 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:08 -04:00
John Esmet
5250526ba5 refs #5504 take a step back, this is apparently not trivial
git-svn-id: file:///svn/toku/tokudb@48094 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:08 -04:00
John Esmet
452058fee9 refs #5504 fix some includes
git-svn-id: file:///svn/toku/tokudb@48091 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:08 -04:00
John Esmet
0f808fa912 refs #5504 very outdated, obsoleted by cmake
git-svn-id: file:///svn/toku/tokudb@48090 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:08 -04:00
John Esmet
8805fd36e9 refs #5504 outdated, not needed
git-svn-id: file:///svn/toku/tokudb@48089 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:08 -04:00
John Esmet
5d3c6ed993 refs #5504 not used
git-svn-id: file:///svn/toku/tokudb@48088 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:08 -04:00
John Esmet
0833130222 refs #5504 move something from a useless file to where it belongs
git-svn-id: file:///svn/toku/tokudb@48087 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:08 -04:00
John Esmet
5bf2d896b0 refs #5504 not used in production
git-svn-id: file:///svn/toku/tokudb@48086 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:08 -04:00
John Esmet
7179e1112b refs #5504 not used in production
git-svn-id: file:///svn/toku/tokudb@48085 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:08 -04:00
John Esmet
da5ff555ed refs #5504 not used in production
git-svn-id: file:///svn/toku/tokudb@48084 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:08 -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
b999f38a53 refs #5507 more mutex initializers
git-svn-id: file:///svn/toku/tokudb@48059 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:07 -04:00
Leif Walsh
d481ec1f97 refs #5507 fix minicron-test
git-svn-id: file:///svn/toku/tokudb@48058 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:07 -04:00
Leif Walsh
36ed43ba75 refs #5507 mutex initializers
git-svn-id: file:///svn/toku/tokudb@48056 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:07 -04:00
Leif Walsh
f86a93211d refs #5507 another test fix (sigh)
git-svn-id: file:///svn/toku/tokudb@48055 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:07 -04:00
Leif Walsh
e078101750 refs #5507 another test fix
git-svn-id: file:///svn/toku/tokudb@48054 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:07 -04:00
Leif Walsh
9ebea97d92 refs #5507 another test fix
git-svn-id: file:///svn/toku/tokudb@48053 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:07 -04:00
Leif Walsh
c659dd07b0 refs #5507 zero out structs before calling .init in tests that reuse objects
git-svn-id: file:///svn/toku/tokudb@48052 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:07 -04:00
Leif Walsh
ed85de18dc refs #5507 clear kibbutz mutex
git-svn-id: file:///svn/toku/tokudb@48051 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:07 -04:00
Leif Walsh
737d1a6443 refs #5368 #4781 fix integration of gcov and OBJECT libs
git-svn-id: file:///svn/toku/tokudb@48036 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:07 -04:00
Leif Walsh
950d516707 refs #5507 fix usage of toku mutexes in the loader
git-svn-id: file:///svn/toku/tokudb@48033 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:07 -04:00
Leif Walsh
d6e3107826 refs #5507 create mutexes that are cleared before calling init
git-svn-id: file:///svn/toku/tokudb@48027 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:07 -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
8f93bfd8d0 refs #5467, undo checkin
git-svn-id: file:///svn/toku/tokudb@47900 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:07 -04:00
Leif Walsh
92abc90fa9 refs #5467 fix -Wmaybe-uninitialized warning when compiling with optimizations
since enums can be implicitly cast from ints, switch statement type safety
doesn't really work, but the compiler only catches it if it tries to do a
certain amount of CCP


git-svn-id: file:///svn/toku/tokudb@47892 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:06 -04:00