Commit graph

706 commits

Author SHA1 Message Date
Zardosht Kasheff
7942bcf209 [t:4028], merge to main
git-svn-id: file:///svn/toku/tokudb@41142 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:13 -04:00
Rich Prohaska
5467a05231 #4590 replace drd annotations with helgrind annotations refs[t:4590]
git-svn-id: file:///svn/toku/tokudb@40488 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:13 -04:00
Zardosht Kasheff
da234339c0 [t:4545], fix assert in brt_search_node
git-svn-id: file:///svn/toku/tokudb@40193 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:11 -04:00
Zardosht Kasheff
ae24a59ae9 [t:4552], finish fix
git-svn-id: file:///svn/toku/tokudb@40180 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:11 -04:00
Christian Rober
47d86d3cdd [t:4553] Merging temporary cursor malloc changes into main.
git-svn-id: file:///svn/toku/tokudb@40177 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:11 -04:00
Zardosht Kasheff
1d04728136 [t:4556], fix bug
git-svn-id: file:///svn/toku/tokudb@40168 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:11 -04:00
Zardosht Kasheff
753cba24c9 [t:4552], make unpinning of node cheaper for reads
git-svn-id: file:///svn/toku/tokudb@40161 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:11 -04:00
Leif Walsh
61f774b8b5 [t:4551] implement binary search version of toku_brt_search_which_child
git-svn-id: file:///svn/toku/tokudb@40158 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:11 -04:00
Bradley C. Kuszmaul
85ae22f71b close[t:4559] Remove set but unused variable {{{tree_height}}}. Fixes #4559.
git-svn-id: file:///svn/toku/tokudb@40152 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:11 -04:00
Leif Walsh
e64492ba43 [t:4502] fix a weird case rich thought of
git-svn-id: file:///svn/toku/tokudb@40101 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:11 -04:00
Christian Rober
b63ee0628d [t:4502] Merged new Garbage Collection to main, one test, stat64-root-changes fails, but just needs to be updated now that GC is removed from message application.
git-svn-id: file:///svn/toku/tokudb@40096 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:10 -04:00
Zardosht Kasheff
df00480e9a [t:4527],[t:4528], merge fixes to main
git-svn-id: file:///svn/toku/tokudb@40084 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:10 -04:00
Rich Prohaska
0ae8e7e249 #4503 #4504 support concurrent queries on the mainline refs[t:4503] refs[t:4504]
git-svn-id: file:///svn/toku/tokudb@40068 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:10 -04:00
Rich Prohaska
ef15de4e90 #4462 fix brt.c compilation problem refs[t:4462]
git-svn-id: file:///svn/toku/tokudb@39753 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:10 -04:00
Leif Walsh
35ccbaf81b [t:4462] disabling garbage collection on queries for now
git-svn-id: file:///svn/toku/tokudb@39748 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:10 -04:00
Rich Prohaska
39c8853a2e #4443 try to speed up cursor create and close on the mainline. the read lock on the directory is a BIG bottleneck refs[t:4443]
git-svn-id: file:///svn/toku/tokudb@39683 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:09 -04:00
John Esmet
bf36f689d3 close [t:4372] Dr. Noga system comment updated. Topics include insertions, flushing a child, basement nodes, point and range queries with bulk fetch and prefetching, flusher threads on the cachetable kibbutz, and the cleaner thread.
git-svn-id: file:///svn/toku/tokudb@39544 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:09 -04:00
Zardosht Kasheff
19b7090fb6 [t:4456], merge to main
git-svn-id: file:///svn/toku/tokudb@39504 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:09 -04:00
John Esmet
36baa6c599 [t:4372] couple more updates to brt comment
git-svn-id: file:///svn/toku/tokudb@39466 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:08 -04:00
John Esmet
66d77edb2f [t:4372] some words about checkpoints, cleaner threads, and flusher threads, plus how flusher functions operate with a generalized advice structure
git-svn-id: file:///svn/toku/tokudb@39441 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:08 -04:00
John Esmet
94881991b3 [t:4372] updating brt.c comment, removing psuedo-code style explanations in favor of words
git-svn-id: file:///svn/toku/tokudb@39417 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:08 -04:00
Barry Perlman
e37c5d33de [t:2949] Merge from tokudb.2949 with command, executed at sandbox/toku {{{svn merge -r39023:HEAD tokudb.2949 tokudb}}}. Refs #2949.
git-svn-id: file:///svn/toku/tokudb@39376 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:08 -04:00
John Esmet
25ac82a5c5 [t:4372] marked off some possible errors, fixing comment on top of brt.c
git-svn-id: file:///svn/toku/tokudb@39202 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:07 -04:00
John Esmet
b515867acc [t:4372] updating system comments on top of brt.c, some comments too
git-svn-id: file:///svn/toku/tokudb@39179 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:07 -04:00
John Esmet
e1fcefad24 close[t:4432] merging 4432 to main - brt_msg_type now used correctly in the fifo and brt.
git-svn-id: file:///svn/toku/tokudb@39177 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:07 -04:00
Leif Walsh
a7282f87c2 comments from orthopush code review
git-svn-id: file:///svn/toku/tokudb@39155 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:07 -04:00
Zardosht Kasheff
6726f69cf0 [t:4119], remove direct call to toku_cachetable_get_and_pin in the is_empty functions
git-svn-id: file:///svn/toku/tokudb@39028 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:06 -04:00
Leif Walsh
7fce206456 cosmetic changes in some orthopush code
git-svn-id: file:///svn/toku/tokudb@38984 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:06 -04:00
Leif Walsh
b01cbe4809 one more edit from code review today: move fresh messages to stale after
all application is done


git-svn-id: file:///svn/toku/tokudb@38942 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:06 -04:00
Leif Walsh
e867e37789 most of the comments from today's orthopush code review
git-svn-id: file:///svn/toku/tokudb@38930 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:06 -04:00
Leif Walsh
9e3042b049 more comments for code review of orthopush
git-svn-id: file:///svn/toku/tokudb@38885 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:06 -04:00
Leif Walsh
1eb7167b00 comments added from code review today
git-svn-id: file:///svn/toku/tokudb@38883 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:06 -04:00
Leif Walsh
9c560a218d comment functions below maybe_apply_ancestors_messages_to_node
git-svn-id: file:///svn/toku/tokudb@38877 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:06 -04:00
Barry Perlman
285e5c3753 [t:4381] Merge tokudb.4381 to main with command {{{svn merge -r38709:HEAD tokudb.4381 tokudb}}} from directory sandbox/toku. Do not update checkpoint_staging version of statistics for a dictionary close in progress. Make function cachetable_flush_cachefile() return void to simplify error handling. Closes #4381.
git-svn-id: file:///svn/toku/tokudb@38874 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:06 -04:00
Zardosht Kasheff
4b54122313 [t:4375], merge to main
git-svn-id: file:///svn/toku/tokudb@38666 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:04 -04:00
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
a1865e487a [t:4373], write down an important invariant in a comment
git-svn-id: file:///svn/toku/tokudb@38617 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
Rich Prohaska
736191c6a2 #3529 merge serializable iso bug fix to mainline refs[t:3529]
git-svn-id: file:///svn/toku/tokudb@38569 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
Bradley C. Kuszmaul
b22c98f01d close[t:4269] Merge 4269 fixes to main. {{{svn merge -r38251:38424 ../tokudb.4269}}}. Closes #4269.
git-svn-id: file:///svn/toku/tokudb@38438 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:02 -04:00
Leif Walsh
d73f07d489 [t:4306] merging work for 4306
git-svn-id: file:///svn/toku/tokudb@38079 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
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
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
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