Rich Prohaska
d4224d0ce8
#2875 refs[t:2875] check ascending keys, check expected primary key, check expected number of rows in the loader-stress-test
...
git-svn-id: file:///svn/toku/tokudb@22986 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:21 -04:00
Rich Prohaska
57406ddee8
#2875 refs[t:2875] increase the max number of dictionaries to 1024
...
git-svn-id: file:///svn/toku/tokudb@22984 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:21 -04:00
Dave Wells
52f886958b
remove unnecessary printing
...
git-svn-id: file:///svn/toku/tokudb@22936 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
Rich Prohaska
e11af55784
#2865 refs[t:2865] remove heaviside from scanscan.c
...
git-svn-id: file:///svn/toku/tokudb@22837 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:21 -04:00
Rich Prohaska
6e3ae69a7f
#2865 refs[t:2865] remove heaviside from scanscan.c
...
git-svn-id: file:///svn/toku/tokudb@22836 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
e0bf7cb3e4
Fixes #2851 . (cxx tests now work concurrently). close[t:2851]
...
git-svn-id: file:///svn/toku/tokudb@22727 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
74b98182ef
Make the -Wno-unused-result problem go away. Refs #2850 . [t:2850]
...
git-svn-id: file:///svn/toku/tokudb@22720 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
Bradley C. Kuszmaul
754576bbc7
Merge changes from tokudb.2826. Fixes #2826 . close[t:2826]
...
git-svn-id: file:///svn/toku/tokudb@22664 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:20 -04:00
Bradley C. Kuszmaul
736342d504
Add Id keyword to multiprocess.c
...
git-svn-id: file:///svn/toku/tokudb@22609 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
Rich Prohaska
67c3f6d9be
#2835 refs[t:2835] add some test cases for the multiple process with the same data dir
...
git-svn-id: file:///svn/toku/tokudb@22552 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:20 -04:00
Yoni Fogel
5771f5dbb5
[t:2835] merge 22549 from 4.1 to main
...
git-svn-id: file:///svn/toku/tokudb@22550 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:20 -04:00
Yoni Fogel
73fd2c4acd
[t:2835] merge r22545 into main
...
git-svn-id: file:///svn/toku/tokudb@22547 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
Dave Wells
79db8f76cd
document loader API, close #2589 [t:2589]
...
git-svn-id: file:///svn/toku/tokudb@21915 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:20 -04:00
Barry Perlman
b592f3949d
[t:2795] Placate fussy compiler unhappy about test utility print_time_now().
...
git-svn-id: file:///svn/toku/tokudb@21899 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
Barry Perlman
a2d1f3b27d
[t:2781] Skip BDB version of recover-test-logsuppress.
...
git-svn-id: file:///svn/toku/tokudb@21893 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:20 -04:00
Barry Perlman
5bf8fcfb6f
[t:2781] Added test for 2781, not yet complete.
...
git-svn-id: file:///svn/toku/tokudb@21878 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:20 -04:00
Rich Prohaska
6bc4bee1cd
#2782 refs[t:2782] free the env's real_tmp_dir when it is closed
...
git-svn-id: file:///svn/toku/tokudb@21856 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:20 -04:00
Bradley C. Kuszmaul
7448027de9
Cleanup temp files from tmp dir, not log dir. Fix #2783 . close[t:2783]
...
git-svn-id: file:///svn/toku/tokudb@21828 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:20 -04:00
Bradley C. Kuszmaul
a35dbbbbd8
Fixes #2782 . The brtloader uses temp dir. Note however that #2783 isn't fixed yet. close[t:2782].
...
git-svn-id: file:///svn/toku/tokudb@21827 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:20 -04:00
Bradley C. Kuszmaul
b008bdf29d
Remove bdb and tdb files in src/tests. Fix #2778 . close[t:2778]
...
git-svn-id: file:///svn/toku/tokudb@21769 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
2248b6205c
#2740 refs[t:2740] fix the cxx permissions test (which depends on the underlying inames)
...
git-svn-id: file:///svn/toku/tokudb@21309 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:19 -04:00
Barry Perlman
a61a4869ba
Closes [t:2740] Delete rot13 of inames.
...
git-svn-id: file:///svn/toku/tokudb@21289 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
Barry Perlman
0498c6e405
Added timestamps to exhastive abort_via_poll test (-k option).
...
git-svn-id: file:///svn/toku/tokudb@21084 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:19 -04:00
Barry Perlman
12f96cf9d9
Added utilities to format and print current time.
...
git-svn-id: file:///svn/toku/tokudb@21083 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
Barry Perlman
59540179fa
[t:2721] Add -k option to loader-cleanup-test to test only abort-via-poll, but test it exhaustively for any size database.
...
git-svn-id: file:///svn/toku/tokudb@21072 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:19 -04:00