Rich Prohaska
d1efe9da42
#2919 refs[t:2919] speed up brt_is_empty by applying a noop instead of an optimize message to the leaf nodes
...
git-svn-id: file:///svn/toku/tokudb@23677 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:22 -04:00
Rich Prohaska
8cf78727aa
#2921 refs[t:2921] remove obsolete memory functions
...
git-svn-id: file:///svn/toku/tokudb@23625 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:22 -04:00
Zardosht Kasheff
c385edaa8f
[t:2811], change stats to use le_keylen instead of le_latest_keylen
...
git-svn-id: file:///svn/toku/tokudb@23612 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:22 -04:00
Zardosht Kasheff
c14837af5b
[t:2811], remove unneeded leafentry accessor
...
git-svn-id: file:///svn/toku/tokudb@23609 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:22 -04:00
Zardosht Kasheff
b9542a506e
[t:2811], undo change that went in merge that should not have
...
git-svn-id: file:///svn/toku/tokudb@23584 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:22 -04:00
Rich Prohaska
fe444f93a4
#2907 closes[t:2907] merge single insert per txn profiler to main
...
git-svn-id: file:///svn/toku/tokudb@23569 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:22 -04:00
Rich Prohaska
ae90f3660b
#2915 closes[t:2915] fix the shutdown log entry timestamp
...
git-svn-id: file:///svn/toku/tokudb@23553 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:22 -04:00
Zardosht Kasheff
cc91ea8ca4
[t:2811], merge to main \!\!\!
...
git-svn-id: file:///svn/toku/tokudb@23495 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:22 -04:00
Bradley C. Kuszmaul
06d1c0e1eb
Get rid of {{{TAGMALLOC}}}. Fixes #2912 . close[t:2912]
...
git-svn-id: file:///svn/toku/tokudb@23493 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:22 -04:00
Rich Prohaska
a71c846cb4
#2877 refs[t:2877] remove kruft from the cachetable
...
git-svn-id: file:///svn/toku/tokudb@23180 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:22 -04:00
Yoni Fogel
0b0c76392a
closes[t:1398] [t:2861] Remove more heaviside code (include straddle hacks) from newbrt
...
git-svn-id: file:///svn/toku/tokudb@23060 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:22 -04:00
Bradley C. Kuszmaul
1bfd207e32
Merge the fixes for #2862 , #2861 , and #2269 onto main. Fixes #2269 , #2861 , #2862 . close[t:2269] close[t:2861] close[t:2862]
...
{{{
svn merge -r 23006:23042 https://svn.tokutek.com/tokudb/toku/tokudb.2862b
}}}
.
git-svn-id: file:///svn/toku/tokudb@23046 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:21 -04:00
Rich Prohaska
59a83a0814
#2868 refs[t:2868] comments from code review
...
git-svn-id: file:///svn/toku/tokudb@22875 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:21 -04:00
Rich Prohaska
ab1d8172bd
#2868 refs[t:2868] fix the presort speedup in the loader
...
git-svn-id: file:///svn/toku/tokudb@22868 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:21 -04:00
Bradley C. Kuszmaul
684da3b6ba
Merge changes to remove heaviside and straddle from the ydb layer. Fixes #2865 . [t:2865].
...
{{{
svn merge -c22808 https://svn.tokutek.com/tokudb/toku/tokudb.2861
}}}
.
git-svn-id: file:///svn/toku/tokudb@22809 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:21 -04:00
Bradley C. Kuszmaul
74565b165a
Merge changes for #2859 (delete dirs when tests complete). Fixes #2859 . close[t:2859]
...
git-svn-id: file:///svn/toku/tokudb@22773 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:21 -04:00
Bradley C. Kuszmaul
a0c9d1bdf5
Add -Wl,rpath to the dynlibs. Refs #2848 . [t:2848]
...
git-svn-id: file:///svn/toku/tokudb@22722 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:21 -04:00
Bradley C. Kuszmaul
65926c2164
Make the dynamic library work with COMBINE=0 mode also. (Since on Ubunto 9.10 with gcc 4.4.1, -combine doesn't work. Refs #2848 . [t:2848]
...
git-svn-id: file:///svn/toku/tokudb@22719 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:21 -04:00
Bradley C. Kuszmaul
52714401a0
Use dynamic libraries for newbrt tests. Fix #2848 . close[t:2848]
...
git-svn-id: file:///svn/toku/tokudb@22718 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:21 -04:00
Rich Prohaska
855004b623
#2847 refs[t:2847] panic the dbufio when an error occurs in the test
...
git-svn-id: file:///svn/toku/tokudb@22674 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:21 -04:00
Rich Prohaska
d9985ad0cf
#2840 refs[t:2840] add debug prints to the loader to help fix the dbufio read row problem, also remove the assert on this error path
...
git-svn-id: file:///svn/toku/tokudb@22673 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:20 -04:00
Rich Prohaska
44d24685b8
#2833 refs[t:2833] fix the brtloader to use less memory during key extraction and merge sorting
...
git-svn-id: file:///svn/toku/tokudb@22581 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:20 -04:00
Yoni Fogel
3b607e2f02
[t:2835] Remove some code that could cause later crashes.
...
Cleaning up of rollback logs in toku_rollback_txn_close is indicative of a problem that should cause a crash right away,
not the next time you start up mysql.
This might be the direct cause of global's problem,
but requires another bug to exist (rollback nodes must not have been cleaned up during a 'successful' abort or commit
first in order for the 'cleanup' to cause a problem)
git-svn-id: file:///svn/toku/tokudb@22526 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:20 -04:00
Rich Prohaska
fc8da7b577
#2821 refs[t:2821] fixup the loader tests
...
git-svn-id: file:///svn/toku/tokudb@22418 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:20 -04:00
Rich Prohaska
7a3f6089e2
#2821 refs[t:2821] fixup the loader tests
...
git-svn-id: file:///svn/toku/tokudb@22416 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:20 -04:00
Rich Prohaska
6f67fad660
#2821 #2829 refs[t:2821] refs[t:2829] fix the loader's merger vmsize and remove an fsync bubble
...
git-svn-id: file:///svn/toku/tokudb@22413 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:20 -04:00
Rich Prohaska
663acdae84
#2654 refs[t:2654] merge loader persort speedup to main tokudb
...
git-svn-id: file:///svn/toku/tokudb@22354 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:20 -04:00
Bradley C. Kuszmaul
07f7970808
Merge 2577c onto main line. Refs #2755c. [t:2755c]
...
{{{
svn merge -r22020:22070 https://svn.tokutek.com/tokudb/toku/tokudb.2755c
}}}
.
git-svn-id: file:///svn/toku/tokudb@22160 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:20 -04:00
Yoni Fogel
c2162500af
[t:2785] Correct comments in block_table to properly describe checkpointing
...
git-svn-id: file:///svn/toku/tokudb@22014 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:20 -04:00
Barry Perlman
593253739c
[t:2781] Close 2781, add test programs to verify fix.
...
When processing suppress_rollback log entry, associate brt with transaction.
git-svn-id: file:///svn/toku/tokudb@21894 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:20 -04:00
Bradley C. Kuszmaul
5fcfafc691
Overactive assertion. Refs #2759 . [t:2759]
...
git-svn-id: file:///svn/toku/tokudb@21573 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:20 -04:00
Bradley C. Kuszmaul
c49d7a8c0c
The first loader gets 1/2 of cachetable memory.
...
* That's 2/3 of 3/4, which is calculated as 1/4 is unreservable. The loader asks for 2/3 of what's reservable, getting one half.
The second loader gets 1/6 of cachetable memory.
* That's 2/3 of 1/4: The loader asks for 2/3 of what's reservable. 1/2 has been reserved. 1/4 is unreservable. 1/4 is reservable. 2/3 of 1/4 is 1/6.
The third loader gets 1/18 of cachetable memory.
* That's 2/3 or 1/12. (1/4 is unreservable. 1/2 was reserved by the first loader. 1/6 by the second. That leaves 1/12)
Generally the next one gets 1/3 of what the previous one got.
Refs #2759 . [t:2759]
git-svn-id: file:///svn/toku/tokudb@21564 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:19 -04:00
Bradley C. Kuszmaul
f635f4d458
Merge the fix for #2755 and #2759 to main. [t:2755] [t:2759]
...
{{{
svn merge -r21499:21502 https://svn.tokutek.com/tokudb/toku/tokudb.2755
}}}
.
git-svn-id: file:///svn/toku/tokudb@21503 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:19 -04:00
Rich Prohaska
c37567705f
#2738 refs[t:2738] merge dbufio bug fix to main
...
git-svn-id: file:///svn/toku/tokudb@21260 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:19 -04:00
Rich Prohaska
76dcd3fe21
2738 refs[t:2738] test case for the double buffer hang
...
git-svn-id: file:///svn/toku/tokudb@21217 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:19 -04:00
Rich Prohaska
1a65ba1d80
#2723 refs[t:2723] fix the slow control-c reaction in the brtloader's write to brt function
...
git-svn-id: file:///svn/toku/tokudb@21103 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:19 -04:00
Bradley C. Kuszmaul
dfdaee296d
Candidate fix for #2730 (the race in the loader and the io-thread where they glare at each other). Refs #2730 . [t:2730]
...
git-svn-id: file:///svn/toku/tokudb@21082 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:19 -04:00
Rich Prohaska
6b09687c83
#2718 refs[t:2718] free the big buffer attached to the temp files when they are closed
...
git-svn-id: file:///svn/toku/tokudb@21045 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:19 -04:00
Rich Prohaska
8a95226d84
#2717 refs[t:2717] fix the brtloader subtree estimates
...
git-svn-id: file:///svn/toku/tokudb@21040 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:19 -04:00
Rich Prohaska
5e99cd713c
refs[t:2717] dump the subtree estimates
...
git-svn-id: file:///svn/toku/tokudb@21032 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:19 -04:00
Bradley C. Kuszmaul
fa229ab979
Fix the cachetable-race so that it doesn't run in BDB and compiles under windows. Fixes #2699 , #2698 . close[t:2699] close[t:2698].
...
git-svn-id: file:///svn/toku/tokudb@20902 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:18 -04:00
Yoni Fogel
7d2b82be13
[t:2692] Restore "write_log_files" check to fsync log on checkpoints
...
git-svn-id: file:///svn/toku/tokudb@20884 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:18 -04:00
Yoni Fogel
5134631d15
closes[t:2692] Fix two races that helgrind reports.
...
Technically neither one causes any problems.
git-svn-id: file:///svn/toku/tokudb@20881 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:18 -04:00
Bradley C. Kuszmaul
aca0557856
Tell helgrind not to complain about the toku_checkpointing_user_status. Refs #2684 . [t:2684]
...
git-svn-id: file:///svn/toku/tokudb@20879 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:18 -04:00
Bradley C. Kuszmaul
e43af77fc6
Create a test to trigger #2684 (the race found in checkpointing in loader-stress-test). [t:2684]
...
git-svn-id: file:///svn/toku/tokudb@20877 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:18 -04:00
Yoni Fogel
5cd73a5828
[t:2641] Fix build (false positive uninitialized variables warning)
...
git-svn-id: file:///svn/toku/tokudb@20866 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:18 -04:00
Yoni Fogel
a9c554b353
[t:2641] Merge DB_READCOMMITTED bugfix (r20839) to main.
...
git-svn-id: file:///svn/toku/tokudb@20863 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:18 -04:00
Rich Prohaska
132926232d
refs[t:2683] fix the newbrt/tests/Makefile rule 2b, should be 3a
...
git-svn-id: file:///svn/toku/tokudb@20857 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:18 -04:00
Rich Prohaska
e017a69683
fix gcc 4.1.2 build on linux
...
git-svn-id: file:///svn/toku/tokudb@20850 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:18 -04:00
Bradley C. Kuszmaul
53b88b1fb1
Fix #2683 . Make the big brtloader-test-extractor tests not use valgrind. close[t:2683]
...
git-svn-id: file:///svn/toku/tokudb@20849 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:18 -04:00