Commit graph

2006 commits

Author SHA1 Message Date
Leif Walsh
4506633a34 [t:3923] fixing compilation errors with gcc
git-svn-id: file:///svn/toku/tokudb@34583 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:49 -04:00
Leif Walsh
3db70c8879 [t:3762] as a result of performance testing on pointy, I have determined that cilk is better than threadpools, so I'm putting cilk back in serialization
git-svn-id: file:///svn/toku/tokudb@34537 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:49 -04:00
Leif Walsh
889e3a60ad [t:3884] added a test where we split on the first element
git-svn-id: file:///svn/toku/tokudb@34531 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:49 -04:00
Leif Walsh
b6b2abd24b [t:3884] reverting an accidental commit of something else in the tree
git-svn-id: file:///svn/toku/tokudb@34528 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:49 -04:00
Leif Walsh
a05d366551 [t:3884] adding Id keyword
git-svn-id: file:///svn/toku/tokudb@34527 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
Zardosht Kasheff
9bc2ea130d [t:3932], wakeup workqueue if size_evicting falls to less than 1/8th size_current during partial eviction
git-svn-id: file:///svn/toku/tokudb@34427 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:48 -04:00
Leif Walsh
f193a215c8 [t:3923] adding a benchmark for bnc insertion, to test whether OMT insertion at the root is a bottleneck
git-svn-id: file:///svn/toku/tokudb@34401 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:48 -04:00
Leif Walsh
28392ad8a0 [t:3928] serialize freshness bit too
git-svn-id: file:///svn/toku/tokudb@34355 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:48 -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
bee23bfca9 [t:3882], modify brt-serialize-test to verify that estimates are properly stored and calculated when serializing and deserializing a node
git-svn-id: file:///svn/toku/tokudb@34235 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:48 -04:00
Zardosht Kasheff
23a98e0de8 [t:3907], fix compile of gcc optimized
git-svn-id: file:///svn/toku/tokudb@34219 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:48 -04:00
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