Commit graph

1992 commits

Author SHA1 Message Date
Barry Perlman
b4fcc1ce24 [t:4362] Add more checkpoint info to engine status. Refs #4362.
git-svn-id: file:///svn/toku/tokudb@38570 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:03 -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
a2e8c02a11 [t:4169] add one more engine status var for cleaner thread leaf merges
git-svn-id: file:///svn/toku/tokudb@38557 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:03 -04:00
Leif Walsh
4bf6a6e4d2 [t:4169] adding engine status variables to count the number of leaf merges
done by a cleaner thread


git-svn-id: file:///svn/toku/tokudb@38556 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:03 -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
78529803e3 [t:4362] Add more checkpoint info to engine status. Refs #4362.
git-svn-id: file:///svn/toku/tokudb@38544 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:03 -04:00
Barry Perlman
ea25ba9c2b [t:4355] Cast int64_t to uint64_t for comparison to accommodate change in status type. Refs #4355.
git-svn-id: file:///svn/toku/tokudb@38541 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
0136c0dd22 [t:4326] Add field checkpoint_waiters_max to engine status. Must still display in handlerton. Refs #4326.
git-svn-id: file:///svn/toku/tokudb@38513 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:03 -04:00
Rich Prohaska
77d72e0ca8 #4275 dont use malloc hook in newbrt tests closes[t:4275]
git-svn-id: file:///svn/toku/tokudb@38466 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:02 -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
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
Rich Prohaska
0b892d090a #4096 add version string to portability lib name refs[t:4096]
git-svn-id: file:///svn/toku/tokudb@38429 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
Bradley C. Kuszmaul
7324fae01f [t:4346] Merge 4346 to main. {{{svn merge -r 38321:38382 ../tokudb.4346}}}. Refs #4346.
git-svn-id: file:///svn/toku/tokudb@38383 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:02 -04:00
Bradley C. Kuszmaul
2d3a480733 [t:4347] Merge onto main. {{{svn merge -c38309 ../tokudb.4347}}}. Refs #4347.
git-svn-id: file:///svn/toku/tokudb@38313 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:02 -04:00
Zardosht Kasheff
08e3a279a9 [t:4341], merge to main
git-svn-id: file:///svn/toku/tokudb@38312 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
2198a74135 [t:4147], add test
git-svn-id: file:///svn/toku/tokudb@38217 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
Bradley C. Kuszmaul
e4d6d69fcb [t:4319] Don't print so much stuff in newbrt/tests. {{{svn merge -c 38123 ../tokudb.4319}}} Refs #4319.
git-svn-id: file:///svn/toku/tokudb@38124 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:01 -04:00
Barry Perlman
f83e4c537a [t:4246] #4246 Add test of serialization and deserialization of certain fields in the brt header.
git-svn-id: file:///svn/toku/tokudb@38120 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:01 -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
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
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
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