John Esmet
74e885a027
close[t:4066] using atomic fetch and increments to avoid race conditions on brt_status
...
git-svn-id: file:///svn/toku/tokudb@36842 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:56 -04:00
Zardosht Kasheff
48f8be7094
[t:4130], fix bug
...
git-svn-id: file:///svn/toku/tokudb@36837 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:56 -04:00
Zardosht Kasheff
45a5598389
[t:4128], change toku_bnc_memory_size to report number of bytes used in buffer
...
git-svn-id: file:///svn/toku/tokudb@36828 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:55 -04:00
Barry Perlman
47cc40fbf6
[t:4127] Closes #4127 Change brtnode_memory_size() to count space allocated for leafentries, not entire mempool.
...
git-svn-id: file:///svn/toku/tokudb@36825 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:55 -04:00
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
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
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
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
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
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
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
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
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
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
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
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
Leif Walsh
1475600191
[t:3999] working on orthopush-flush, got a new test to a point where it doesn't fail (but the test is incomplete)
...
git-svn-id: file:///svn/toku/tokudb@35606 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:51 -04:00
Zardosht Kasheff
9948adca3c
[t:3923], merge to main
...
git-svn-id: file:///svn/toku/tokudb@35506 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:50 -04:00
Leif Walsh
af0bfe6d45
[t:3977] added a test in test3884 and fixed the bug
...
git-svn-id: file:///svn/toku/tokudb@35065 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:50 -04:00
Zardosht Kasheff
09ec29dc8a
[t:3862], back out bad change
...
git-svn-id: file:///svn/toku/tokudb@34657 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:49 -04:00
Leif Walsh
aa850b3888
[t:3884] added a test that splits on the last element, exposed a bug, and fixed it
...
git-svn-id: file:///svn/toku/tokudb@34526 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:49 -04:00
Zardosht Kasheff
add11ba8a3
[t:3816], merge a fix into main that should unblock performance testing
...
git-svn-id: file:///svn/toku/tokudb@34525 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:49 -04:00
Leif Walsh
d4b6b7efed
[t:3889] [t:3890] merging IndexedAndVersionedBuffers to mainline
...
git-svn-id: file:///svn/toku/tokudb@34348 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:48 -04:00
Zardosht Kasheff
c4071ee0d8
[t:3882], remove expensive calculation of leaf stats in maybe_apply_XXX
...
git-svn-id: file:///svn/toku/tokudb@34236 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:48 -04:00
Zardosht Kasheff
725ae6846b
[t:3893], cilkify compression of message buffers when freeing space up for partial eviction
...
git-svn-id: file:///svn/toku/tokudb@34215 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:48 -04:00
Zardosht Kasheff
d931bb2a74
[t:3645], fix bug in pe_est_callback
...
git-svn-id: file:///svn/toku/tokudb@34176 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:48 -04:00
Zardosht Kasheff
1a5dbd80e5
[t:3645], merge to main
...
git-svn-id: file:///svn/toku/tokudb@34156 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:48 -04:00
Leif Walsh
ea06da8f34
[t:3884] fix up test3884 so it passes valgrind (and re-enable that), and free an extra childkey in brtleaf_split
...
git-svn-id: file:///svn/toku/tokudb@34129 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:47 -04:00
Leif Walsh
c14d18aa51
[t:3884] fix a problem with my change to brtleaf_split, and attempt to free everything at the end of test3884. can't close cachetable now so valgrind is off for test3884
...
git-svn-id: file:///svn/toku/tokudb@34128 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:47 -04:00
Leif Walsh
1893af748e
[t:3884] fixed the problem in brtleaf_split, added back the assert in move_leafentries, and added a test (test3884.c). this required exporting brtleaf_split in brt-internal.h
...
git-svn-id: file:///svn/toku/tokudb@34127 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:47 -04:00
Barry Perlman
bab840d771
[t:3884] #3884 Add comment. (No code change.)
...
git-svn-id: file:///svn/toku/tokudb@34061 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:47 -04:00
Leif Walsh
32a778c43f
[t:3315] merge indexed buffers work into mainline
...
git-svn-id: file:///svn/toku/tokudb@33979 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:47 -04:00
Barry Perlman
06843a6451
[t:3825] #3825 Merged changesets 33440, 33527, 33536 from 5.1.4 branch to main.
...
git-svn-id: file:///svn/toku/tokudb@33975 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:47 -04:00
Zardosht Kasheff
9fbe17ef0e
[t:3096], some cleanup, get rid of cursor->oldest_living_xid, not necessary
...
git-svn-id: file:///svn/toku/tokudb@33839 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:46 -04:00
Zardosht Kasheff
f392523514
[t:3436], [t:3782], merge ydb level bulk fetch to main line
...
git-svn-id: file:///svn/toku/tokudb@33770 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:46 -04:00
Leif Walsh
bc8d3628d2
[t:3635] fixing a memory leak
...
git-svn-id: file:///svn/toku/tokudb@33606 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:46 -04:00