Commit graph

277 commits

Author SHA1 Message Date
Bradley C. Kuszmaul
0ba4119b75 [t:4367] Make drd work on diskfull. Net result: couldn't find any bad races. Refs #4367.
git-svn-id: file:///svn/toku/tokudb@38622 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:04 -04:00
Zardosht Kasheff
fe693b1e55 [t:4357], [t:4364], [t:4365], merge fixes to main
git-svn-id: file:///svn/toku/tokudb@38595 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:04 -04:00
Zardosht Kasheff
f8ceefd886 [t:4070], add back a couple of engine status variables
git-svn-id: file:///svn/toku/tokudb@38555 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:03 -04:00
Leif Walsh
784f47a841 [t:4002] Commiting HOT to main.
git-svn-id: file:///svn/toku/tokudb@38549 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:03 -04:00
Barry Perlman
c27fc7af51 [t:4355] Improve engine status, deleting obsolete fields, adding cachetable_size_cachepressure, resequencing. Refs #4355.
git-svn-id: file:///svn/toku/tokudb@38528 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:03 -04:00
Barry Perlman
6d460bedc0 [t:4326] Improve checkpoint status: footprint indicates caller, make status threadsafe, add indicator of other threads waiting for checkpoint_safe lock. Refs #4326.
git-svn-id: file:///svn/toku/tokudb@38451 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:02 -04:00
Zardosht Kasheff
6b0f4f34b7 [t:4070], restore cachetable_wait_checkpoint
git-svn-id: file:///svn/toku/tokudb@38404 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:02 -04:00
Zardosht Kasheff
3835408948 [t:4031], merge changes to main
git-svn-id: file:///svn/toku/tokudb@38244 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:02 -04:00
Zardosht Kasheff
d185a9b1e3 [t:4314], protect calling of cleaner_callback with fdlock
git-svn-id: file:///svn/toku/tokudb@38207 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:01 -04:00
Zardosht Kasheff
775aeb0a96 [t:4311], write pair for checkpointing on cleaner thread if necessary, before calling cleaner_callback
git-svn-id: file:///svn/toku/tokudb@38187 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:01 -04:00
Zardosht Kasheff
33cb00471c [t:4097], [t:3971], merge to main
git-svn-id: file:///svn/toku/tokudb@38043 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:01 -04:00
Zardosht Kasheff
22630131ae [t:4309], comment toku_cachetable_begin_checkpoint to explain purpose of pending_lock
git-svn-id: file:///svn/toku/tokudb@38005 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:01 -04:00
Zardosht Kasheff
2d6ddc61c2 [t:4231], remove outdated comment
git-svn-id: file:///svn/toku/tokudb@38002 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:01 -04:00
Zardosht Kasheff
243c3d1d21 [t:4304], fix issue by moving invariant checks further down
git-svn-id: file:///svn/toku/tokudb@37997 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:01 -04:00
Barry Perlman
95f96be914 [t:4283] #4283 Merge changeset 37990 from mysql.branches/5.2.3/newbrt/cachetable.c to improve threadsafety checks for critical regions during which a checkpoint is not permitted to begin.
git-svn-id: file:///svn/toku/tokudb@37991 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:01 -04:00
Zardosht Kasheff
cc30d40a79 [t:4286], add comment on scope of read_extraargs and write_extraargs
git-svn-id: file:///svn/toku/tokudb@37989 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:01 -04:00
Zardosht Kasheff
5e27747935 [t:4302], add fix
git-svn-id: file:///svn/toku/tokudb@37973 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:01 -04:00
Zardosht Kasheff
d36e50781d [t:4302], start fix by changing maybe_flush_some to be a void function and not return an int
git-svn-id: file:///svn/toku/tokudb@37971 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:01 -04:00
Zardosht Kasheff
59ebb5f112 [t:4286], some more comments
git-svn-id: file:///svn/toku/tokudb@37961 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:00 -04:00
Zardosht Kasheff
ce0a76d6a7 [t:3925], make change per discussion with engineers
git-svn-id: file:///svn/toku/tokudb@37948 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:00 -04:00
Zardosht Kasheff
6288f0660f [t:4286], add comment to get_and_pin_nonblocking
git-svn-id: file:///svn/toku/tokudb@37946 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:00 -04:00
Zardosht Kasheff
60b346e5d8 [t:4286], remove tabs
git-svn-id: file:///svn/toku/tokudb@37945 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:00 -04:00
Zardosht Kasheff
e0e984ada5 [t:4286], add comment
git-svn-id: file:///svn/toku/tokudb@37944 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:00 -04:00
Zardosht Kasheff
e0104c7f67 [t:4286], check in some comments
git-svn-id: file:///svn/toku/tokudb@37941 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:00 -04:00
Barry Perlman
b9f330c851 [t:4283] Closes #4283 Add comments.
git-svn-id: file:///svn/toku/tokudb@37927 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:00 -04:00
Barry Perlman
ff579f3a99 [t:4283] Closes #4283 Detect begin checkpoint in critical regions.
git-svn-id: file:///svn/toku/tokudb@37926 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:00 -04:00
Barry Perlman
ecb2859af2 [t:4184] #4184 Merge tokudb.4184c to main. Main now supports stat64 and keyrange64.
git-svn-id: file:///svn/toku/tokudb@37921 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:00 -04:00
Zardosht Kasheff
1ead590aec [t:4281], grab fdlock around reading of fd in bring_node_fully_into_memory
git-svn-id: file:///svn/toku/tokudb@37884 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:59 -04:00
Zardosht Kasheff
26e61965c9 [t:4271], add comments per code review
git-svn-id: file:///svn/toku/tokudb@37831 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:59 -04:00
Zardosht Kasheff
b6483f3c12 [t:4258], finish changes to cachetable_fetch_pair and do_partial_fetch
git-svn-id: file:///svn/toku/tokudb@37797 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:59 -04:00
Zardosht Kasheff
58b357c008 [t:4258], fix bug from last checkin.
git-svn-id: file:///svn/toku/tokudb@37796 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:59 -04:00
Zardosht Kasheff
518bbc61a7 [t:4258], address cr comments from 12/9 meeting
git-svn-id: file:///svn/toku/tokudb@37787 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:59 -04:00
Zardosht Kasheff
215f0a2a47 [t:4235], modify a bunch of comments as a result of the code review
git-svn-id: file:///svn/toku/tokudb@37576 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:58 -04:00
Leif Walsh
0375f255ea [t:3988] added flush status
git-svn-id: file:///svn/toku/tokudb@36862 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:56 -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
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
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
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
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
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
Zardosht Kasheff
a8e23be301 [t:3923], undo fix to cachetable in preparation for merge
git-svn-id: file:///svn/toku/tokudb@35504 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:50 -04:00
Barry Perlman
deab63bef0 [t:3970] closes #3970 Manually edit changeset 35079 into cachetable.c, add newbrt/tests/cachetable-unpin-remove-and-checkpoint.c (written by Zardosht with minor edits by Barry).
git-svn-id: file:///svn/toku/tokudb@35435 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:50 -04:00
Rich Prohaska
dc4960612a #3452 new row locking APIs refs[t:3452]
git-svn-id: file:///svn/toku/tokudb@35392 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
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
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
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
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