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
Leif Walsh
a2d0615603
refs #4871 increase timeout of test_update_broadcast_stress
...
git-svn-id: file:///svn/toku/tokudb@47170 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:05 -04:00
Zardosht Kasheff
667344b549
refs #5198 , add comments documenting client contract
...
git-svn-id: file:///svn/toku/tokudb@47158 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:05 -04:00
Zardosht Kasheff
1014cea11d
refs #5370 , remove HELGRIND DISABLE stuff for partitioned counters
...
git-svn-id: file:///svn/toku/tokudb@47149 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:04 -04:00
Zardosht Kasheff
c26e8d0c93
refs #5370 , put partitioned counters in evictor
...
git-svn-id: file:///svn/toku/tokudb@47148 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:04 -04:00
Zardosht Kasheff
be9d5ef1c1
refs #5399 , add perf test to bdb_dont_run
...
git-svn-id: file:///svn/toku/tokudb@47129 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:04 -04:00
Zardosht Kasheff
30e137931f
closes #5399 , add perf test
...
git-svn-id: file:///svn/toku/tokudb@47115 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:04 -04:00
Zardosht Kasheff
03dd995045
closes #5398 , remove cruft
...
git-svn-id: file:///svn/toku/tokudb@47109 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:04 -04:00
Leif Walsh
b53d614cbb
refs #4937 set message's msn after splitting the root to avoid a race
...
git-svn-id: file:///svn/toku/tokudb@47096 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:04 -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
Zardosht Kasheff
d59b9e772d
refs #4937 , merge to main
...
git-svn-id: file:///svn/toku/tokudb@47083 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:04 -04:00
Yoni Fogel
54e6923893
refs #5395 Fix regression from r43886. Continue to mark both nodes dirty when splitting a non-leaf.
...
git-svn-id: file:///svn/toku/tokudb@47076 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:04 -04:00
Christian Rober
6c722feb9f
refs #5086 added function declarations to fix clang errors.
...
git-svn-id: file:///svn/toku/tokudb@47064 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:04 -04:00
Zardosht Kasheff
486b286813
closes #5393 , add a comment
...
git-svn-id: file:///svn/toku/tokudb@47057 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:04 -04:00
Zardosht Kasheff
6b92068228
refs #5393 , fix cachetable-simple-pin-cheap.cc
...
git-svn-id: file:///svn/toku/tokudb@47056 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:04 -04:00
Zardosht Kasheff
037ebcd3f5
refs #5393 , make fix, still need to fix cachetable-simple-pin-cheap.cc
...
git-svn-id: file:///svn/toku/tokudb@47055 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:04 -04:00
Zardosht Kasheff
6a354be9ad
refs #5393 , remove what is now an invalid test
...
git-svn-id: file:///svn/toku/tokudb@47054 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
Leif Walsh
e88f12fc3e
refs #5380 fix unit test to take mutex around rwlock functions
...
git-svn-id: file:///svn/toku/tokudb@47044 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:04 -04:00
Leif Walsh
f8baef6ceb
refs #5380 don't assert_locked during call to writers(), we may call this when we assume we own the write lock, and therefore don't need the mutex
...
git-svn-id: file:///svn/toku/tokudb@47043 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:04 -04:00
Leif Walsh
c75dae7ccd
refs #5379 compile fix
...
git-svn-id: file:///svn/toku/tokudb@47042 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:04 -04:00
Leif Walsh
5d80ee158e
closes #5380 add mutex assertions in fair rwlock, only active during debug builds
...
git-svn-id: file:///svn/toku/tokudb@47041 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:04 -04:00
Leif Walsh
e6aed632eb
closes #5379 add TOKU_PTHREAD_DEBUG for debug builds
...
git-svn-id: file:///svn/toku/tokudb@47040 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:04 -04:00
Leif Walsh
ca7781d92d
refs #5378 merge to main
...
git-svn-id: file:///svn/toku/tokudb@47027 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:04 -04:00
Zardosht Kasheff
b2c3633e70
closes #5388 , batch pins for keyrange
...
git-svn-id: file:///svn/toku/tokudb@47026 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
Leif Walsh
9c9aa70008
refs #4871 generate a different build name for coverage tests so they don't clobber the debug runs
...
git-svn-id: file:///svn/toku/tokudb@47021 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Leif Walsh
e27f78b0dd
refs #4871 increase timeout for drd tests now that we're running debug builds again
...
git-svn-id: file:///svn/toku/tokudb@47018 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Leif Walsh
da3347c8a5
refs #5389 compilation fix
...
git-svn-id: file:///svn/toku/tokudb@47017 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Leif Walsh
e11d862d75
refs #5389 fix test_stress_with_verify to exit earlier when time is up
...
git-svn-id: file:///svn/toku/tokudb@47016 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Leif Walsh
5526cd549f
refs #5367 fix toku_verify_ftnode_internal to not exit on success ;-)
...
git-svn-id: file:///svn/toku/tokudb@46994 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Zardosht Kasheff
13dbeb5130
closes #5387 , fix issue, sleep at most once during get_and_pin_with_dep_pairs
...
git-svn-id: file:///svn/toku/tokudb@46955 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Leif Walsh
d7cbb0f9d9
refs #5386 add comments
...
git-svn-id: file:///svn/toku/tokudb@46954 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Leif Walsh
735ecd2130
closes #5386 refactor try_pin_pair to avoid deadlock
...
git-svn-id: file:///svn/toku/tokudb@46953 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Yoni Fogel
cea1d0b95d
refs #5367 Fix verify to work properly with marked messages
...
First it evaluates using a write lock on a node (before moving messages)
and then doing it again after moving messages
Does appropriate checks before and after
git-svn-id: file:///svn/toku/tokudb@46949 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Yoni Fogel
52dd11a5b4
closes #5367 Fix problem where nodes in omt are marked stale, the node is evicted and read again and not marked stale ever again
...
git-svn-id: file:///svn/toku/tokudb@46947 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Yoni Fogel
4407c947c6
refs #5367 Revert r46901 (incorrect fix)
...
git-svn-id: file:///svn/toku/tokudb@46945 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Leif Walsh
e5a3993c58
closes #5367 fix a race between marking messages as stale in the fifo and in the omt
...
git-svn-id: file:///svn/toku/tokudb@46901 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Leif Walsh
79e869231d
refs #5367 fix verify to work with marked messages
...
git-svn-id: file:///svn/toku/tokudb@46852 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Zardosht Kasheff
6389aeb1b7
closes #5283 , delete workqueue code, it is now unused
...
git-svn-id: file:///svn/toku/tokudb@46801 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Zardosht Kasheff
7ea6dd4171
refs #4606 , merge to main
...
git-svn-id: file:///svn/toku/tokudb@46797 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Bradley C. Kuszmaul
8cc19d274c
Fix #5369 (partitioned counter asserts because it expects the counter to go monotonically up, but part of the test decrements). Change it so that it only increments in the test.
...
git-svn-id: file:///svn/toku/tokudb@46778 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Leif Walsh
cdebca297c
refs #4871 use debug build to run drd tests
...
git-svn-id: file:///svn/toku/tokudb@46776 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Leif Walsh
26ab20b2d8
closes #5362 add helgrind_test_partitioned_counter
...
git-svn-id: file:///svn/toku/tokudb@46774 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Leif Walsh
9e5e0aefcb
refs #4871 default to USE_VALGRIND=ON
...
git-svn-id: file:///svn/toku/tokudb@46773 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:02 -04:00
Bradley C. Kuszmaul
5fe06a891f
Fix #5361 by locking a little earlier. This passes with helgrind but helgrind isn't yet part of the tests.
...
git-svn-id: file:///svn/toku/tokudb@46721 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:02 -04:00
Yoni Fogel
4efdcc43de
refs #5355 Fix omt::delete_all_marks to not blow the stack
...
git-svn-id: file:///svn/toku/tokudb@46669 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:02 -04:00
John Esmet
87d3cd22b6
refs #4752 get rid of the old one
...
git-svn-id: file:///svn/toku/tokudb@46646 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:02 -04:00