Commit graph

5055 commits

Author SHA1 Message Date
Leif Walsh
3dbcdf4794 refs #5485 un-screw-up coverage builds of statically linked binaries
git-svn-id: file:///svn/toku/tokudb@48064 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:08 -04:00
Leif Walsh
f7f8eb5b47 refs #5419 add fflushes to stress test output
git-svn-id: file:///svn/toku/tokudb@48061 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:07 -04:00
Leif Walsh
4bd09bb7bf refs #5507 zero out more mutexes
git-svn-id: file:///svn/toku/tokudb@48060 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:07 -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
4d401f2816 refs #5485 fix gcov linking
git-svn-id: file:///svn/toku/tokudb@48037 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
dbdc3ef117 refs #5507 fix TOKU_MUTEX_INITIALIZER
git-svn-id: file:///svn/toku/tokudb@48032 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
Leif Walsh
cf33cd1333 refs #5464 fix output of partitioned counters in engine status
git-svn-id: file:///svn/toku/tokudb@47991 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
1edd94cd63 refs #5469, expand test to include abort of transaction taht did the puts
git-svn-id: file:///svn/toku/tokudb@47798 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
John Esmet
acb3af0d4e add check overwrites
git-svn-id: file:///svn/toku/tokudb@47686 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
Christian Rober
7ff44dc1f8 refs #5372 Added evictor pointer to checkpointer. This was needed to remove some of the dependency on the cachetable in checkpointer methods.
git-svn-id: file:///svn/toku/tokudb@47539 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:06 -04:00
Christian Rober
18ded8b559 refs #5372 Replaced CACHETABLE pointer argument with checkpointer pointer. The relevant logging function only needed the checkpointer.
git-svn-id: file:///svn/toku/tokudb@47537 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:06 -04:00
Christian Rober
d6dd7f2414 refs #5374 Fixes for valgrind.
git-svn-id: file:///svn/toku/tokudb@47536 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:06 -04:00
Zardosht Kasheff
e766157ee6 closes #5444, fix test
git-svn-id: file:///svn/toku/tokudb@47528 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:05 -04:00
Christian Rober
b1a8c87aa3 refs #5374 added checkpoint end unit test for checkpointer class.
git-svn-id: file:///svn/toku/tokudb@47504 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:05 -04:00
Zardosht Kasheff
226cf008dd closes #5421, fix asserts in cachetable
git-svn-id: file:///svn/toku/tokudb@47500 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:05 -04:00
Zardosht Kasheff
06df52d6e1 refs #5442, merge to main
git-svn-id: file:///svn/toku/tokudb@47493 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:05 -04:00
Leif Walsh
b1a499457b closes #5407 don't update msns of dirty nodes to prevent corruption
git-svn-id: file:///svn/toku/tokudb@47347 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:05 -04:00
Leif Walsh
669b727eb4 closes #5427 take a cheap write lock during checkpoint
git-svn-id: file:///svn/toku/tokudb@47346 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:05 -04:00
Zardosht Kasheff
dae0865ff7 refs #5404, add perf test to bdb dont run
git-svn-id: file:///svn/toku/tokudb@47344 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:05 -04:00
Zardosht Kasheff
0688096bfe refs #5404, add a comment explaining what the test does
git-svn-id: file:///svn/toku/tokudb@47327 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:05 -04:00
Zardosht Kasheff
daab5bf158 refs #5404, add a performance test for single threaded transaction creation
git-svn-id: file:///svn/toku/tokudb@47326 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:05 -04:00