Commit graph

2062 commits

Author SHA1 Message Date
Leif Walsh
37c3a4575e adding a comment in preparation for the code review tomorrow
git-svn-id: file:///svn/toku/tokudb@40240 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:12 -04:00
Leif Walsh
b848660725 removing comment I meant to remove during flusher threads work
git-svn-id: file:///svn/toku/tokudb@40237 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:12 -04:00
Zardosht Kasheff
f23bf9e621 [t:4545], add cachetable test
git-svn-id: file:///svn/toku/tokudb@40207 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:11 -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
50e503994c [t:4545], gcc compilation fix
git-svn-id: file:///svn/toku/tokudb@40192 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:11 -04:00
Zardosht Kasheff
7226f08720 [t:4545], possible fix, need to write tests
git-svn-id: file:///svn/toku/tokudb@40191 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:11 -04:00
Christian Rober
a07e05a142 [t:4468] Transaction yiled frequency changes merged to main.
git-svn-id: file:///svn/toku/tokudb@40190 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:11 -04:00
Zardosht Kasheff
64b8d0d611 [t:4552], fix compilation issue in test
git-svn-id: file:///svn/toku/tokudb@40181 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
82921ab1ca [t:4557], add comments from code review of query code
git-svn-id: file:///svn/toku/tokudb@40169 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
5c0ad2fc73 [t:4555], remove maybe_flush_some from shortcutted path of get_and_pin_with_dep_pairs
git-svn-id: file:///svn/toku/tokudb@40167 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
edbe4e29e2 [t:4298] Make brtdump print the lsn and nodesize on main as well as the 4298c branch. Refs #4298.
git-svn-id: file:///svn/toku/tokudb@40153 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
Rich Prohaska
8b227e5f27 #4525 DRD_IGNORE status variables refs[t:4525]
git-svn-id: file:///svn/toku/tokudb@40150 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:11 -04:00
Leif Walsh
e78ad9c1fb [t:4502] fix newbrt tests to compile with the apis that changed back this morning
git-svn-id: file:///svn/toku/tokudb@40110 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
Christian Rober
292f4525b9 [t:4468] In the transaction commit code path, removed uneccesary yield wrapper around log_xcommit.
git-svn-id: file:///svn/toku/tokudb@39803 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
Leif Walsh
787fed4c0e [t:4462] finishing PROF=1 work, tests seem to compile and run (though it's
not a great idea to compile *all* of them, and valgrind gets whiny)


git-svn-id: file:///svn/toku/tokudb@39697 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:10 -04:00
Leif Walsh
131611b7a0 [t:4462] fixing makefiles to build profilable binaries with PROF=1
git-svn-id: file:///svn/toku/tokudb@39696 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
3643ff8e8e [t:4432] fix tests that didn't compile with new change with icc
git-svn-id: file:///svn/toku/tokudb@39243 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:07 -04:00
Bradley C. Kuszmaul
d83ceaff56 close[t:4442] Add a diagnostic message during recovery for the env directory not existing or not being a directory. Closes #4442.
git-svn-id: file:///svn/toku/tokudb@39223 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:07 -04:00
Bradley C. Kuszmaul
0cea3c1791 close[t:4435]. Merge the changes in for #4435 (no more {{{chdir()}}} allowed during recovery) to main. {{{svn merge -r 39184:39201 ../tokudb.4435}}}. Closes #4435.
git-svn-id: file:///svn/toku/tokudb@39209 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:07 -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
John Esmet
39ea7d28d0 close[t:4284] the non blocking mutex implementation is now a wrapper of the rwlock implementation. the non blocking mutex api uses only the writer portion of the rwlock api
git-svn-id: file:///svn/toku/tokudb@39143 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
Zardosht Kasheff
1e8c6c9ad4 [t:4386], address CR comments in toku_cachetable_unpin_and_remove
git-svn-id: file:///svn/toku/tokudb@39024 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:06 -04:00
Zardosht Kasheff
be1275fea5 [t:4333], add test
git-svn-id: file:///svn/toku/tokudb@39006 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
Zardosht Kasheff
960bf17f9f [t:4403], make test change fo put_with_dep_pairs
git-svn-id: file:///svn/toku/tokudb@38940 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:06 -04:00
Zardosht Kasheff
97291defd0 [t:4403], make test change for get_and_pin_with_dep_pairs
git-svn-id: file:///svn/toku/tokudb@38939 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:06 -04:00