Commit graph

289 commits

Author SHA1 Message Date
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
Zardosht Kasheff
5dd0e5e897 refs #5467, merge to main
git-svn-id: file:///svn/toku/tokudb@47870 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:06 -04:00
Yoni Fogel
77c30060c6 closes #5462 Increase timeout so that test-rwlock is less likely to fail due to a busy machine
git-svn-id: file:///svn/toku/tokudb@47846 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:06 -04:00
Zardosht Kasheff
5befbe6fb7 closes #5484, remove some status variables from checkpoint
git-svn-id: file:///svn/toku/tokudb@47843 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:06 -04:00
Zardosht Kasheff
b924d2ee33 closes #5483, remove tabs from checkpoint.h
git-svn-id: file:///svn/toku/tokudb@47841 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:06 -04:00
Leif Walsh
5aa3577fed closes #5464 merge partitioned counters as ft-ops.cc status variables to main
git-svn-id: file:///svn/toku/tokudb@47804 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:06 -04:00
Zardosht Kasheff
10b3b236df refs #5469, make fix
git-svn-id: file:///svn/toku/tokudb@47797 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:06 -04:00
Leif Walsh
394662e4bc closes #5449 merge removal of __attribute__((unpacked)) from ftnode_partition to main
git-svn-id: file:///svn/toku/tokudb@47783 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:06 -04:00
Christian Rober
9e0156097d refs #5372 Removed checks for CACHEFILE callbacks. Replaced with asserts.
git-svn-id: file:///svn/toku/tokudb@47780 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:06 -04:00
Christian Rober
cb85dc67aa refs #5372 Merging to main: new cachetable helper functions to simulate CACHEFILE callbacks.
git-svn-id: file:///svn/toku/tokudb@47778 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:06 -04:00
Yoni Fogel
b3c5f5f458 refs #5461 Comment changes based on code review of cachetable
git-svn-id: file:///svn/toku/tokudb@47736 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:06 -04:00
Yoni Fogel
70298deff6 refs #5461 Crash (rare) bugfix in cachetable when unpinnning a node that is pinned by 256k readers.
Also some minor cleanup based on code review

git-svn-id: file:///svn/toku/tokudb@47735 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:06 -04:00
Yoni Fogel
3bd32d9fbc refs #5461 Some cleanup based on code review of cachetable
git-svn-id: file:///svn/toku/tokudb@47729 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:06 -04:00
Zardosht Kasheff
31c3324c24 closes #5439, fix stress test issue
git-svn-id: file:///svn/toku/tokudb@47702 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:06 -04:00
Leif Walsh
ff222fa02a closes #5450 fix use-after-free, remove whitespace
git-svn-id: file:///svn/toku/tokudb@47596 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:06 -04:00
Yoni Fogel
616ba2fbf5 refs #5222 Implement block cloning for rollback log nodes
git-svn-id: file:///svn/toku/tokudb@47585 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:06 -04:00
Christian Rober
36d9dc7b4b refs #5372 Added pointer to pair list. Updated associated tests and uses of pair list. This removes cachetable pointer from checkpointer.
git-svn-id: file:///svn/toku/tokudb@47544 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:06 -04:00