Barry Perlman
04aae8c0bc
[t:3988] #3988 Add some instrumentation. More to come...
...
git-svn-id: file:///svn/toku/tokudb@36814 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:55 -04:00
Zardosht Kasheff
78d6a19d95
[t:4125], remove cilk code from brt_merge_child
...
git-svn-id: file:///svn/toku/tokudb@36810 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:55 -04:00
Barry Perlman
7d828bbd29
[t:4050] #4050 Merge tokudb.4050 to merge, done with command svn merge -r36213:HEAD tokudb.4050 tokudb
...
git-svn-id: file:///svn/toku/tokudb@36808 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:55 -04:00
Bradley C. Kuszmaul
43c7b4d15f
[t:4115] Candidate for #4115 . Refs #4115 .
...
git-svn-id: file:///svn/toku/tokudb@36795 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:55 -04:00
Zardosht Kasheff
84cd9cd9b7
[t:3761], slight fix to bnc_apply_messages_to_basement_node
...
git-svn-id: file:///svn/toku/tokudb@36789 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:55 -04:00
Bradley C. Kuszmaul
489e8c7b5f
close[t:3994] {{{svn merge -r36763:36780 ../tokudb.3994c}}}. Closes #3994 .
...
git-svn-id: file:///svn/toku/tokudb@36781 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:55 -04:00
Zardosht Kasheff
eaf3b156c5
[t:4105], add more fixes
...
git-svn-id: file:///svn/toku/tokudb@36744 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:54 -04:00
Zardosht Kasheff
0ea1a9171b
[t:4105], small fix to test, not done with ticket yet
...
git-svn-id: file:///svn/toku/tokudb@36743 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:54 -04:00
Zardosht Kasheff
48ae2110f2
[t:4105], fix a test
...
git-svn-id: file:///svn/toku/tokudb@36724 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:54 -04:00
Zardosht Kasheff
3aaa11c01f
[t:4107], fix compile
...
git-svn-id: file:///svn/toku/tokudb@36723 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:54 -04:00
Leif Walsh
8931bf6975
[t:3997] also include workdone counter in cachepressure_size
...
git-svn-id: file:///svn/toku/tokudb@36710 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:54 -04:00
Zardosht Kasheff
956edbc21f
[t:4037], move increments of some brt_status variables to a function, so that we can add drd suppressions for them
...
git-svn-id: file:///svn/toku/tokudb@36703 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:54 -04:00
Zardosht Kasheff
34dccd5a69
[t:3997], protect read of cleaner_iterations with cachetable lock to make drd happy
...
git-svn-id: file:///svn/toku/tokudb@36697 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:54 -04:00
Zardosht Kasheff
8dc54da03b
[t:4062], fix checkin
...
git-svn-id: file:///svn/toku/tokudb@36695 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:54 -04:00
Zardosht Kasheff
2753164f2a
[t:4062], fix small bug, add test
...
git-svn-id: file:///svn/toku/tokudb@36694 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:54 -04:00
Zardosht Kasheff
00e8c8c224
[t:3997], merge to main
...
git-svn-id: file:///svn/toku/tokudb@36689 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:54 -04:00
Zardosht Kasheff
7295d90993
[t:4062], fix small bug
...
git-svn-id: file:///svn/toku/tokudb@36674 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:54 -04:00
Zardosht Kasheff
0dd7183824
[t:4062], fix small bug
...
git-svn-id: file:///svn/toku/tokudb@36673 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:54 -04:00
Zardosht Kasheff
7e7733249f
[t:4102], place node and bnc on background thread before unpinning parent
...
git-svn-id: file:///svn/toku/tokudb@36646 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:54 -04:00
Rich Prohaska
04d6214089
#4079 add last verification time to the brt header closes[t:4079]
...
git-svn-id: file:///svn/toku/tokudb@36487 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:54 -04:00
Barry Perlman
0cc59b6952
[t:4094] Closes #4094 Delete obsolete symbol OMT_ITEM_OVERHEAD (which was defined as zero).
...
git-svn-id: file:///svn/toku/tokudb@36450 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
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
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
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
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
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
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
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
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
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
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
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