Commit graph

305 commits

Author SHA1 Message Date
Zardosht Kasheff
357b4981c2 [t:4768], [t:4829], [t:4834], [t:4511], [t:4513], merge fixes to main
git-svn-id: file:///svn/toku/tokudb@43396 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:27 -04:00
Zardosht Kasheff
75f841684f [t:4748], rename nb_mutex_write_lock to nb_mutex_lock. nb_mutex_write_lock implies there is a read equivalent, which it does not.
git-svn-id: file:///svn/toku/tokudb@42725 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:24 -04:00
Rich Prohaska
125a1a3884 get gcov working
git-svn-id: file:///svn/toku/tokudb@42141 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:22 -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
Bradley C. Kuszmaul
de9326db73 close[t:4707] Rename xid_t to avoid conflicts with the handlerton. Closes #4707.
git-svn-id: file:///svn/toku/tokudb@41667 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:17 -04:00
Bradley C. Kuszmaul
b18544282e refs[t:4697] Merge xa to main. {{{svn merge -r41628:41661 ../tokudb.4697 }}} Refs #4697.
git-svn-id: file:///svn/toku/tokudb@41662 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:17 -04:00
Bradley C. Kuszmaul
88a7de436c [t:4298] A note about locking. Refs #4298.
git-svn-id: file:///svn/toku/tokudb@41627 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:17 -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
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
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
18b1d44471 [t:4529], some cleanup of old variables and code
git-svn-id: file:///svn/toku/tokudb@41203 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
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
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
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
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
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
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
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
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
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
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