Commit graph

1792 commits

Author SHA1 Message Date
Zardosht Kasheff
21c5808d96 [t:3902], set state of PAIRs before posting them on threads for eviction/fetching
git-svn-id: file:///svn/toku/tokudb@34217 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
ffbea793a7 [t:3829] adding a benchmark for brt-serialize
git-svn-id: file:///svn/toku/tokudb@33982 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
Leif Walsh
08cec0c1f8 [t:3856] added a test for the memory leak in prefetching bfes. and now, to trac, I say: fix #3856 Huzzah! Huzzah! Huzzah!
git-svn-id: file:///svn/toku/tokudb@33899 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
Leif Walsh
0eff321dc0 [t:3856] fixes #3856
git-svn-id: file:///svn/toku/tokudb@33826 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
0ee62a0b23 [t:3635] this ought to fix a build error
git-svn-id: file:///svn/toku/tokudb@33577 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:46 -04:00
Rich Prohaska
7df041788c #3836 add cachetable eviction counter to engine status refs[t:3836]
git-svn-id: file:///svn/toku/tokudb@33558 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:46 -04:00
Leif Walsh
c21077bc26 [t:3635] fixing a merge conflict I thought I already got
git-svn-id: file:///svn/toku/tokudb@33538 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
90ecff06bc [t:3755], put in assert
git-svn-id: file:///svn/toku/tokudb@33425 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:46 -04:00
Zardosht Kasheff
370a98bbce [t:3755], merge fix to main where we write a dirty node out on a writer thread if a checkpoint is pending
git-svn-id: file:///svn/toku/tokudb@33424 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:46 -04:00
Zardosht Kasheff
e686a2ec1f [t:3781], set state to CTPAIRE_READING when doing a partial fetch
git-svn-id: file:///svn/toku/tokudb@33423 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
Rich Prohaska
d7d0e7044e #3796 fix the memory leak found with valgrind + icc debug build refs[t:3796]
git-svn-id: file:///svn/toku/tokudb@33292 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:45 -04:00
Zardosht Kasheff
2e03c2588c [t:3774], add cachetable miss and hit counts to get_and_pin_nonblocking
git-svn-id: file:///svn/toku/tokudb@33153 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:45 -04:00
Rich Prohaska
d4aa39a855 #3590 merge fsync after locks are released (fixes groupcommit) refs[t:3590]
git-svn-id: file:///svn/toku/tokudb@33073 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:45 -04:00
Rich Prohaska
bc608b3e75 #3590 back out the fsync optimization (group commit test fails) refs[t:3590]
git-svn-id: file:///svn/toku/tokudb@33055 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:45 -04:00
Leif Walsh
794aaf730c reverting a fat-fingered change to cachetable.c from r33053
git-svn-id: file:///svn/toku/tokudb@33054 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:45 -04:00
Leif Walsh
4a96abc33e [t:3647] [t:3728] merge changes from tokudb.3647, closes #3647 and closes #3728
git-svn-id: file:///svn/toku/tokudb@33053 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
Rich Prohaska
c4262963af #3669 disable failing brtloader error injection tests until later refs[t:3669]
git-svn-id: file:///svn/toku/tokudb@33046 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
Rich Prohaska
603cf574a7 3590 log commit, process rollback, release locks, fsync commit log entry closes[t:3590]
git-svn-id: file:///svn/toku/tokudb@33034 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:44 -04:00
Rich Prohaska
c35995769d #3745 speed up checkpoints by parallelizing serialization and compression refs[t:3745]
git-svn-id: file:///svn/toku/tokudb@33007 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:44 -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
Leif Walsh
c181410661 [t:3666] add id tags to tests which were missing it, fixes #3666
git-svn-id: file:///svn/toku/tokudb@32940 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
Rich Prohaska
1dd96b44ab #3584 debug printf cachetable checkpoint info refs[t:3584]
git-svn-id: file:///svn/toku/tokudb@32938 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:44 -04:00
Zardosht Kasheff
46e33438c7 [t:3720], add some comments
git-svn-id: file:///svn/toku/tokudb@32914 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
a0f5141344 [t:3643], some more cachetable comments
git-svn-id: file:///svn/toku/tokudb@32912 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:44 -04:00
Zardosht Kasheff
278f7c2947 [t:3643], make small code simplification, before adding comments
git-svn-id: file:///svn/toku/tokudb@32911 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
3c639c71e6 [t:3643], add comments describing the cachetable callbacks
git-svn-id: file:///svn/toku/tokudb@32909 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:44 -04:00