Commit graph

733 commits

Author SHA1 Message Date
Leif Walsh
63b1969fbb [t:4814] merging cmake work to mainline
git-svn-id: file:///svn/toku/tokudb@43179 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:25 -04:00
Zardosht Kasheff
a51493dd07 [t:4831], [t:4832], merge to main
git-svn-id: file:///svn/toku/tokudb@43069 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:25 -04:00
Zardosht Kasheff
865b81d072 [t:4431], remove toku_pin_brtnode_holding_lock
git-svn-id: file:///svn/toku/tokudb@42765 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:24 -04:00
Zardosht Kasheff
1e96a05413 [t:4512], remove brt_header->checkpoint_before_commit_link and txn->checkpoint_before_commit, and replace it with a BOOL that states if a checkpoint is needed or not
git-svn-id: file:///svn/toku/tokudb@42758 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:24 -04:00
Zardosht Kasheff
a95207a7cd [t:4775], remove NONLEAF_CHILDINFO->n_bytes_in_buffer
git-svn-id: file:///svn/toku/tokudb@42751 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:24 -04:00
Christian Rober
fc4ab2c4c2 [t:4759] Checking in MSN fix found due to recent test changes.
git-svn-id: file:///svn/toku/tokudb@42485 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:23 -04:00
Christian Rober
d29722d4fb [t:4772] Checking in fix to main, preventing cleaner threads from incorrectly evicting recently basement nodes.
git-svn-id: file:///svn/toku/tokudb@42404 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:23 -04:00
Zardosht Kasheff
80fd1d38f3 [t:4762], fix memory leak
git-svn-id: file:///svn/toku/tokudb@42337 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:23 -04:00
Zardosht Kasheff
340045d062 [t:4762], merge to main
git-svn-id: file:///svn/toku/tokudb@42336 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:23 -04:00
Rich Prohaska
b6645e876d #4763 remove unused adaptive mutex attributes refs[t:4763]
git-svn-id: file:///svn/toku/tokudb@42289 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:23 -04:00
Bradley C. Kuszmaul
3e3a5f70cd close[t:4756] Remove the pwrite_lock_init and destroy functions. Closes #4756.
git-svn-id: file:///svn/toku/tokudb@42143 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:23 -04:00
Zardosht Kasheff
fef7f3bd1e [t:4750], address cr comments of checkpoint variability
git-svn-id: file:///svn/toku/tokudb@42100 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:22 -04:00
Christian Rober
e595c8d921 [t:4567] Merging fixes to recent error reporting changes.
git-svn-id: file:///svn/toku/tokudb@41843 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:18 -04:00
Christian Rober
c19ff63d1d [t:4567] Merging new node error reporting to main.
git-svn-id: file:///svn/toku/tokudb@41836 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:18 -04:00
Zardosht Kasheff
fb6db93e40 [t:4657], update disk stats before rebalancing, because rebalancing wipes out deltas of basement nodes
git-svn-id: file:///svn/toku/tokudb@41749 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:18 -04:00
Leif Walsh
91891cbbf6 [t:4541] fix memory leak of cmp_descriptor
git-svn-id: file:///svn/toku/tokudb@41610 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:17 -04:00
Leif Walsh
8d0368fd2f [t:3983] merging auto-upgrade to mainline
git-svn-id: file:///svn/toku/tokudb@41591 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:17 -04:00
Zardosht Kasheff
6f1691684d [t:4541], merge new fix to main
git-svn-id: file:///svn/toku/tokudb@41583 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:15 -04:00
John Esmet
0d32c57b9f close[t:4574] merging 4574 to main. fixes the hcad deadlock found by Tim's stress test, which adds and drops indexes concurrent with queries and insertions. transactions no longer keep trollback nodes pinned after an operation, but instead always unpin them.
this merge also introduces a lot of improvements to our rollback code, in terms of clarity and consistency. to that end, variable names and function names were improved, as well as more documentation of the rollback logic in rollback.h and log-internal.h

roll.h is removed because it is a dead file.


git-svn-id: file:///svn/toku/tokudb@41576 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:15 -04:00
Zardosht Kasheff
07d38f9161 [t:4541], merge to main
git-svn-id: file:///svn/toku/tokudb@41538 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:15 -04:00
Zardosht Kasheff
f9f364ff6a [t:4644], merge fix to main
git-svn-id: file:///svn/toku/tokudb@41513 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:14 -04:00
Leif Walsh
36eb33a18e [t:4635] fixing the loader to work with compression types, and fixing some tests
git-svn-id: file:///svn/toku/tokudb@41510 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:14 -04:00
Leif Walsh
43e5551390 [t:4635] merging fractal tree and handlerton code to main
git-svn-id: file:///svn/toku/tokudb@41503 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:14 -04:00
Bradley C. Kuszmaul
7ad7bb0611 close[t:4298] Merge from 4298j: {{{svn merge -c41355 ../tokudb.4298i}}}. Closes #4298.
git-svn-id: file:///svn/toku/tokudb@41357 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:14 -04:00
Zardosht Kasheff
86a5acfa07 [t:4529], clean up some more engine status variables
git-svn-id: file:///svn/toku/tokudb@41240 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:13 -04:00
Zardosht Kasheff
607f3f58c4 [t:4529], remove some shared variables that have good alternatives at MySQL layer
git-svn-id: file:///svn/toku/tokudb@41239 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:13 -04:00
Zardosht Kasheff
a4239f4e0f [t:4529], some more cleanup
git-svn-id: file:///svn/toku/tokudb@41204 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:13 -04:00
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