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
John Esmet
d45485ae13
refs #5101 locked_txn_id is dead code, so set txn->id to toku_txn_id instead (which barfs)
...
git-svn-id: file:///svn/toku/tokudb@47322 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:05 -04:00
John Esmet
c49f93d2b3
refs #5101 coverage and manual inspection says toku_dont_call_this_compare is dead code
...
git-svn-id: file:///svn/toku/tokudb@47321 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:05 -04:00
Zardosht Kasheff
000ecba786
refs #5421 , fix a race condition in accessing p->attr.
...
git-svn-id: file:///svn/toku/tokudb@47308 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:05 -04:00
Leif Walsh
cca3b63cab
refs #5407 decrease default stress test time so that recovery tests run more frequently, regular tests should still have plenty of time to run
...
git-svn-id: file:///svn/toku/tokudb@47259 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:05 -04:00
Leif Walsh
b9716da140
refs #5312 fix a bit of strangeness that's not exactly a bug
...
git-svn-id: file:///svn/toku/tokudb@47256 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:05 -04:00
Zardosht Kasheff
f812f52b82
refs #5407 , modify a test, no progress on actual bug yet
...
git-svn-id: file:///svn/toku/tokudb@47208 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:05 -04:00
Leif Walsh
323234b138
refs #4871 don't run perf_read_write under memcheck, increase timeout for
...
upgrade stress tests
git-svn-id: file:///svn/toku/tokudb@47207 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:05 -04:00
Zardosht Kasheff
7015e79fe0
closes #5406 , fix test
...
git-svn-id: file:///svn/toku/tokudb@47206 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:05 -04:00
Zardosht Kasheff
e6f4302120
refs #5406 , remove tabs from file
...
git-svn-id: file:///svn/toku/tokudb@47205 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:05 -04:00
Christian Rober
5634ac801b
refs #5086 commenting out cmake line to fix linux build. We have to find a permanent fix for clang later.
...
git-svn-id: file:///svn/toku/tokudb@47174 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:05 -04:00
Christian Rober
f3fab8cd8d
refs #5086 adding function declarations for compilation errors on clang, added macro usage to prevent clang from being too strict about POD.
...
git-svn-id: file:///svn/toku/tokudb@47173 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:05 -04:00
Christian Rober
4302350567
refs #5086 Adding cmake settings for Clang compatibility with c++0x on darwin.
...
git-svn-id: file:///svn/toku/tokudb@47172 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:05 -04:00