Commit graph

2006 commits

Author SHA1 Message Date
Zardosht Kasheff
549ff6da03 [t:4388], add last test
git-svn-id: file:///svn/toku/tokudb@38809 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:05 -04:00
Zardosht Kasheff
6624a1aa67 [t:4388], add test for checkpoint during merge
git-svn-id: file:///svn/toku/tokudb@38808 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:05 -04:00
Zardosht Kasheff
d8b966d810 [t:4388], add test for splits
git-svn-id: file:///svn/toku/tokudb@38806 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:05 -04:00
Zardosht Kasheff
398fcc63b9 [t:4388], add test for checkpoint during flush
git-svn-id: file:///svn/toku/tokudb@38768 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:05 -04:00
Zardosht Kasheff
06b490b549 [t:4384], add tests
git-svn-id: file:///svn/toku/tokudb@38727 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:05 -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
Leif Walsh
cd6c824d7a [t:4376] reorder merging and status update to avoid access after free
git-svn-id: file:///svn/toku/tokudb@38633 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
df21b6f830 [t:4368], fix bug
git-svn-id: file:///svn/toku/tokudb@38604 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:04 -04:00
Barry Perlman
b2637ec273 [t:4362] Make locked_mo and locked_cs volatile. Refs #4362.
git-svn-id: file:///svn/toku/tokudb@38597 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
8f53c2ebe3 #4366 get tiny stress tests with drd to pass refs[t:4366]
git-svn-id: file:///svn/toku/tokudb@38592 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:04 -04:00
Rich Prohaska
8e61a2a6c3 #4366 get test_4015.drdrun to pass refs[t:4366]
git-svn-id: file:///svn/toku/tokudb@38590 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:03 -04:00
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