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
Leif Walsh
b669ec96d6
[t:3635] [t:3764] [t:3757] [t:3749] merging tokudb.3635+prefetch into mainline, pending testing, fixes #3635 , #3764 , #3757 , #3749
...
git-svn-id: file:///svn/toku/tokudb@33537 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:46 -04:00
Zardosht Kasheff
c5478aa254
[t:3710], remove BP_FULLHASH and BP_HAVE_FULLHASH
...
git-svn-id: file:///svn/toku/tokudb@33357 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:45 -04:00
Zardosht Kasheff
32fdf68b49
[t:3815], address CR comments from 7/22
...
git-svn-id: file:///svn/toku/tokudb@33355 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:45 -04:00
Barry Perlman
9ef2645d46
[t:3746] #3746 Improve comments and invariants regarding DSNs.
...
git-svn-id: file:///svn/toku/tokudb@33050 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:45 -04:00
Barry Perlman
fdbe532edb
[t:3756] closes #3756 Fix dict_id to be 64 bits.
...
git-svn-id: file:///svn/toku/tokudb@33045 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:45 -04:00
Zardosht Kasheff
453a886798
[t:3721], add counters for partial fetch hits or misses
...
git-svn-id: file:///svn/toku/tokudb@32980 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:44 -04:00
Zardosht Kasheff
88bf122cf3
[t:3653], have keyrange_internal not decompress any partitions
...
git-svn-id: file:///svn/toku/tokudb@32978 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:44 -04:00
Leif Walsh
ed07802061
[t:3646] merging changes from tokudb.3646b. fixes #3646
...
git-svn-id: file:///svn/toku/tokudb@32975 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:44 -04:00
Barry Perlman
833583c7a6
[t:3654] #3654 Create new BRT_STATUS to collect info on brt behavior.
...
git-svn-id: file:///svn/toku/tokudb@32971 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:44 -04:00
Bradley C. Kuszmaul
519b3f4a53
close[t:3748] After dequeuing a fifo, free the memory. Fixes #3748 .
...
git-svn-id: file:///svn/toku/tokudb@32944 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:44 -04:00
Zardosht Kasheff
4ed966c1ca
[t:3740], fix bug
...
git-svn-id: file:///svn/toku/tokudb@32939 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:44 -04:00
Zardosht Kasheff
34649520b1
[t:3643], add comments
...
git-svn-id: file:///svn/toku/tokudb@32913 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:44 -04:00
Zardosht Kasheff
d9f9fc5672
[t:3643], rename a function, add comments
...
git-svn-id: file:///svn/toku/tokudb@32910 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:44 -04:00
Zardosht Kasheff
2004c26cdd
[t:3738], make dsn into a struct
...
git-svn-id: file:///svn/toku/tokudb@32906 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:43 -04:00
Zardosht Kasheff
2b82563669
[t:3737], set curr_dsn when deserializing a header
...
git-svn-id: file:///svn/toku/tokudb@32902 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:43 -04:00
Zardosht Kasheff
3f98cbcc93
[t:3734], move brt->curr_dsn to brt_header
...
git-svn-id: file:///svn/toku/tokudb@32890 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:43 -04:00
Zardosht Kasheff
b9623f06fa
[t:3724], [t:3717], [t:3727], merge fixes to main
...
git-svn-id: file:///svn/toku/tokudb@32829 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:43 -04:00
Rich Prohaska
c07fcec0aa
#3710 revert 32763 refs[t:3710]
...
git-svn-id: file:///svn/toku/tokudb@32779 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:43 -04:00
Barry Perlman
4b4a766fbd
[t:3674] #3674 Simplify and fix workdone accounting. Also delete useless is_root argument from function apply_cmd_to_in_memory_non_root_leaves().
...
git-svn-id: file:///svn/toku/tokudb@32775 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:43 -04:00
Leif Walsh
fe7f84f5fc
[t:3709] change a failing assert that fullhash is there to a calculation of fullhash instead, fix #3709
...
git-svn-id: file:///svn/toku/tokudb@32772 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:43 -04:00
Rich Prohaska
2be1c32a90
#3710 enable full hash verification only if SLOW is defined closes[t:3710]
...
git-svn-id: file:///svn/toku/tokudb@32763 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:43 -04:00