Commit graph

4240 commits

Author SHA1 Message Date
Rich Prohaska
5d9eaf8ec0 #4305 test stats with leaf merges refs[t:4305]
git-svn-id: file:///svn/toku/tokudb@38039 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
2fbdd66bf7 [t:4097], add comment explaining why we take the ydb lock around a line of code
git-svn-id: file:///svn/toku/tokudb@37980 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:01 -04:00
Zardosht Kasheff
f3967679c2 [t:4302], fix cachetable-test2
git-svn-id: file:///svn/toku/tokudb@37976 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
36b2aa3bc5 [t:4302], add test that exposes problem
git-svn-id: file:///svn/toku/tokudb@37972 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
8c451d2ab7 [t:4300], make marking of dirty nodes a little more consistent in the case where we inject message into the root
git-svn-id: file:///svn/toku/tokudb@37970 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:01 -04:00
Zardosht Kasheff
4d9478a2db [t:4251], add some comments
git-svn-id: file:///svn/toku/tokudb@37969 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:01 -04:00
Zardosht Kasheff
3992de4247 [t:4251], make usage of node->max_msn_applied_to_node_on_disk more consistent
git-svn-id: file:///svn/toku/tokudb@37968 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:00 -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
f12b3ac680 [t:4295], fix comments for push_something_at_root
git-svn-id: file:///svn/toku/tokudb@37959 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:00 -04:00
Zardosht Kasheff
6bf59eff26 [t:4924], assert that entire node is in memory in toku_apply_cmd_to_leaf
git-svn-id: file:///svn/toku/tokudb@37958 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:00 -04:00
Zardosht Kasheff
683695bee0 [t:4923], use brtnode_put_cmd in push_something_at_root. In Maxwell we changed it because we applied messages to in-memory leaves. Now, we have indexed buffers, so we can consolidate some code. I am not too happy with how max_msn_applied_on_disk is handled, but I will deal with that in another checkin
git-svn-id: file:///svn/toku/tokudb@37957 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
5dc4c6b05d [t:4286], fix comments
git-svn-id: file:///svn/toku/tokudb@37942 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
Leif Walsh
3475a4979f [t:4169] built new db.h for that engine status variable
git-svn-id: file:///svn/toku/tokudb@37931 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:00 -04:00
Leif Walsh
361ad31b2a [t:4169] adding engine status variable to count leaf node merges missed by cleaner thread
git-svn-id: file:///svn/toku/tokudb@37929 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
Rich Prohaska
08b4add1ab #4015 fix the icc compilation problem with a private static db refs[t:4015]
git-svn-id: file:///svn/toku/tokudb@37922 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
Bradley C. Kuszmaul
f8a3033c00 [t:4015] Deal with broken case for NULL descriptors. Somehow I didn't notice that the tests failed. Refs #4015.
git-svn-id: file:///svn/toku/tokudb@37915 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:00 -04:00
Leif Walsh
3377a9d8d8 [t:4015] removing unneeded <valgrind/drd.h> from brt-flusher.c
git-svn-id: file:///svn/toku/tokudb@37909 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:00 -04:00
Bradley C. Kuszmaul
e6d021b33a close[t:4015] Fix #4015. {{{svn merge -r 37828:37890 ../tokudb.4015}}}. (Still need to do the code review. Scheduled for tomorrow.)
git-svn-id: file:///svn/toku/tokudb@37892 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:00 -04:00
Bradley C. Kuszmaul
6cc79aee9d close[t:4273] Fix #4273. {{{svn merge -r 37842:37875 ../tokudb.4273}}}.
git-svn-id: file:///svn/toku/tokudb@37891 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:59 -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
Rich Prohaska
34f96b568b #4279 fix the bdb run of the blocking-put-timeout test refs[t:4279]
git-svn-id: file:///svn/toku/tokudb@37880 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:59 -04:00
Rich Prohaska
3a78ccabec #4267 use RTLD_DEFAULT in calls to dlsym per the man page closes[t:4267]
git-svn-id: file:///svn/toku/tokudb@37852 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
Bradley C. Kuszmaul
ff50277e97 [t:4015] Include 4015 test on main, even though it doesn't seem to ever see a problem. At least it runs fast. Refs #4015
git-svn-id: file:///svn/toku/tokudb@37825 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:59 -04:00
Bradley C. Kuszmaul
f020fe5361 [t:4222] ignore dlsym memory leak on Fedora Core 12 ({{{svn merge -c 37819 ../tokudb.4015}}}). Refs #4222.
git-svn-id: file:///svn/toku/tokudb@37820 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
a7b351420d [t:4259], add comments in brt-cachetable-wrappers.h
git-svn-id: file:///svn/toku/tokudb@37788 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
31c791fe8d [t:4244], make fix and add test
git-svn-id: file:///svn/toku/tokudb@37784 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:59 -04:00
Zardosht Kasheff
8ec25fb7a5 [t:4260], [t:4239], merge to main
git-svn-id: file:///svn/toku/tokudb@37751 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:59 -04:00
John Esmet
f090e12c21 close[t:4063] query tests at the ydb layer exercise point and range queries over small and large tables with varying cachesizes
git-svn-id: file:///svn/toku/tokudb@37707 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:59 -04:00
Leif Walsh
f069e838d8 [t:4240] starting to comment brt-flusher.h brt-cachetable-wrappers.h
git-svn-id: file:///svn/toku/tokudb@37705 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:59 -04:00
Leif Walsh
87b33b2344 [t:4245] commenting functions in orthopush-flush
git-svn-id: file:///svn/toku/tokudb@37691 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:59 -04:00
Zardosht Kasheff
498cdb6aec [t:4065], add test to BDB_DONTRUN
git-svn-id: file:///svn/toku/tokudb@37686 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:59 -04:00