Rich Prohaska
65ba8b283f
#4052 merge test case from 506 to main refs[t:4052]
...
git-svn-id: file:///svn/toku/tokudb@36441 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
Bradley C. Kuszmaul
0f26da1e0c
close[t:4077] Merge 4060 branch to main (use two reads on brtnodes).
...
{{{
svn merge -r35827:36428 ../tokudb.4060
}}}
Refs #4060 , Fixes #4077 .
git-svn-id: file:///svn/toku/tokudb@36435 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
Barry Perlman
6eaf7352f4
[t:4052] #4052 Merge 4052 fix from 5.0.6 branch to main.
...
git-svn-id: file:///svn/toku/tokudb@36327 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
Rich Prohaska
35a46f2e5e
#3853 make the lock tree memory accounting more accurate refs[t:3853]
...
git-svn-id: file:///svn/toku/tokudb@36278 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
Barry Perlman
d69063c800
[t:3982] #3982 Oops, deleted a field that I should have removed earlier.
...
git-svn-id: file:///svn/toku/tokudb@36199 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
Barry Perlman
15bf0e56f8
[t:4074] Closes #4074 Make minicron-test insensitive to a delayed clock tick (and explain why in a comment in the code).
...
git-svn-id: file:///svn/toku/tokudb@36190 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
Zardosht Kasheff
46706bd5dc
[t:3997], add some comments to cachetable functions that will inevitabely be tricky when dealing with cache pressure
...
git-svn-id: file:///svn/toku/tokudb@35997 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
Barry Perlman
dac529e52b
[t:4067] Closes #4067 Reorganize roll.c code slightly so that non-thread-safe variable (treelsn) is only read during recovery (when checkpoint thread does not exist). This should placate drd.
...
git-svn-id: file:///svn/toku/tokudb@35949 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
John Esmet
d7dcad8d66
fix a small invariant bug while reading brtheader off disk
...
git-svn-id: file:///svn/toku/tokudb@35947 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
Barry Perlman
c6f8d00ec7
[t:4067] #4067 Comment change only.
...
git-svn-id: file:///svn/toku/tokudb@35944 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
Rich Prohaska
e02868dc14
#4061 add summarize to drd tests in Makefile refs[t:4061]
...
git-svn-id: file:///svn/toku/tokudb@35940 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
Leif Walsh
0cb6409482
[t:3999] forgot to commit some extra test calls for the slow version of orthopush-flush
...
git-svn-id: file:///svn/toku/tokudb@35937 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
Zardosht Kasheff
6d55a7bc64
[t:3945], add some comments
...
git-svn-id: file:///svn/toku/tokudb@35914 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
Rich Prohaska
31701f27ff
#3853 merge some simple test fixes from 3853 to main refs[t:3853]
...
git-svn-id: file:///svn/toku/tokudb@35907 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
Rich Prohaska
978cf020e4
#4061 add drd test_stress3 checks closes[t:4061]
...
git-svn-id: file:///svn/toku/tokudb@35906 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
Leif Walsh
a947b923ec
[t:3999] adding a final test to orthopush testing
...
git-svn-id: file:///svn/toku/tokudb@35897 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
Leif Walsh
bd22a4e58b
[t:3999] adding another test to orthopush testing
...
git-svn-id: file:///svn/toku/tokudb@35895 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
Barry Perlman
a9df9daad0
[t:3988] #3988 Make thrashing stats available via engine status. Must still display in handlerton.
...
git-svn-id: file:///svn/toku/tokudb@35888 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
Leif Walsh
b88703d065
[t:3999] adding more asserts to orthopush-flush
...
git-svn-id: file:///svn/toku/tokudb@35883 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
Barry Perlman
8ffbb13c63
[t:3988] #3988 Improve thrashing stats. Still need to make available to engine status.
...
git-svn-id: file:///svn/toku/tokudb@35880 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:52 -04:00
Rich Prohaska
6b65ba5cf1
#4045 cleanup the Makefile refs[t:4045]
...
git-svn-id: file:///svn/toku/tokudb@35877 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:52 -04:00
Barry Perlman
00b5414987
[t:3988] #3988 Collect statistics on thrashing. Still need to make available to engine status.
...
git-svn-id: file:///svn/toku/tokudb@35864 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:52 -04:00
Barry Perlman
9fcda0a1a6
[t:3982] #3982 Add newline previously missing in printf().
...
git-svn-id: file:///svn/toku/tokudb@35858 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:52 -04:00
Rich Prohaska
7204675e91
#3952 speed up point write lock acquisition closes[t:3952]
...
git-svn-id: file:///svn/toku/tokudb@35856 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:52 -04:00
Barry Perlman
1fbb0cca06
[t:3982] #3982 Remove field optimized_for_upgrade from basement.
...
git-svn-id: file:///svn/toku/tokudb@35851 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:52 -04:00
Leif Walsh
60b5927527
[t:3976] merging 3976 to mainline
...
git-svn-id: file:///svn/toku/tokudb@35849 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:52 -04:00
Barry Perlman
83406a4e0c
[t:3982] #3982 Fix broken assert.
...
git-svn-id: file:///svn/toku/tokudb@35848 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:52 -04:00
Barry Perlman
be2c3705ec
[t:3982] #3982 Add field optimized_for_upgrade to brtnode. Stil need to remove it from basement.
...
git-svn-id: file:///svn/toku/tokudb@35847 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:52 -04:00
Leif Walsh
5361f51efb
[t:3999] small speedup to orthopush-flush
...
git-svn-id: file:///svn/toku/tokudb@35837 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:52 -04:00
Barry Perlman
bb3aebd0bd
[t:3982] #3982 Fix some broken upgrade mechanisms. Fix misnamed field in ydb.c. Replace brt header field num_blocks_to_upgrade with explicit num_blocks_to_upgrade_13 and num_blocks_to_upgrade_14. Add some TODO comments.
...
git-svn-id: file:///svn/toku/tokudb@35836 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:52 -04:00
Rich Prohaska
e788915e42
#4045 run some test_stress1 variations with drd refs[t:4045]
...
git-svn-id: file:///svn/toku/tokudb@35828 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:52 -04:00
Rich Prohaska
ddee74563e
#4045 add some drd tests refs[t:4045]
...
git-svn-id: file:///svn/toku/tokudb@35825 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:52 -04:00
Rich Prohaska
ac6aa66e81
#4045 add envdir to stress tests so we can run them in parallel refs[t:4045]
...
git-svn-id: file:///svn/toku/tokudb@35822 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:52 -04:00
Bradley C. Kuszmaul
9acace70eb
close[t:4056] Fix #4056 . (Leafnode partition now allows for aligned and partial I/O, or even reordering the partitions to pack them more tightly).
...
git-svn-id: file:///svn/toku/tokudb@35821 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:52 -04:00
Rich Prohaska
3774a50309
#4045 tiny test_stress1 with drd refs[t:4045]
...
git-svn-id: file:///svn/toku/tokudb@35819 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:52 -04:00
Zardosht Kasheff
cb97f4a71b
[t:4055], get make tests.bdb running
...
git-svn-id: file:///svn/toku/tokudb@35799 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:52 -04:00
John Esmet
836df9b062
close[t:3751] compression now switchable via makefile, via make COMPRESS=0. also, tokudb can installed into a local prefix, via make install
...
git-svn-id: file:///svn/toku/tokudb@35780 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:52 -04:00
Zardosht Kasheff
2df5b22799
[t:3972], add a keyrange_op to stress test
...
git-svn-id: file:///svn/toku/tokudb@35724 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:52 -04:00
Zardosht Kasheff
6b46ceb05a
[t:3972], fix for crash
...
git-svn-id: file:///svn/toku/tokudb@35723 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:52 -04:00
Bradley C. Kuszmaul
19e71d77ec
close[t:4045] Fixes #4045 . The trick is to abort if we run out of work before the bad write appears.
...
git-svn-id: file:///svn/toku/tokudb@35708 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:51 -04:00
Leif Walsh
837428ebaf
[t:4051] fix #4051
...
git-svn-id: file:///svn/toku/tokudb@35707 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:51 -04:00
Leif Walsh
b5ae581976
[t:3999] adding another orthopush test, this one's a big'un
...
git-svn-id: file:///svn/toku/tokudb@35703 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:51 -04:00
Zardosht Kasheff
30e9a33f4e
[t:4046], fix test3529
...
git-svn-id: file:///svn/toku/tokudb@35697 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:51 -04:00
Zardosht Kasheff
053ca1a491
[t:3908], don't fsync log during begin_checkpoint
...
git-svn-id: file:///svn/toku/tokudb@35694 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:51 -04:00
Bradley C. Kuszmaul
e3baafc9db
[t:4045] {{{svn merge -r35667:35683 ../tokudb.4045b}}} Refs #4045 .
...
Add Makefile rules for the threaded_stress_tests.
Fix the race conditions found by drd (mostly of which are benign).
drd for test_stress1 now runs clean (for valgrind 3.6.1)
git-svn-id: file:///svn/toku/tokudb@35690 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:51 -04:00
Rich Prohaska
6dcda6aaeb
#3966 fix the a broken assert in the test_block_allocator_merge test refs[t:3966]
...
git-svn-id: file:///svn/toku/tokudb@35686 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:51 -04:00
Rich Prohaska
86bb9be102
#4018 set modify time to create time when creating a fractal tree refs[t:4018]
...
git-svn-id: file:///svn/toku/tokudb@35682 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:51 -04:00
John Esmet
8598214490
[t:4018] 4018 changes to main
...
git-svn-id: file:///svn/toku/tokudb@35662 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:51 -04:00
Zardosht Kasheff
02af61bcac
[t:3924], don't bother compressing buffers that are really small
...
git-svn-id: file:///svn/toku/tokudb@35645 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:51 -04:00
Zardosht Kasheff
5757197d7b
[t:4043], remove unnecessary variable
...
git-svn-id: file:///svn/toku/tokudb@35644 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:51 -04:00