Commit graph

3483 commits

Author SHA1 Message Date
Bradley C. Kuszmaul
217fed8351 In {{{tokudb.3039}}} and {{{tokudb}}} merge fix for #3142. Fixes #3142. close[t:3142]
{{{
svn merge -r26654:26656 https://svn.tokutek.com/tokudb/toku/tokudb.3039c+3131
}}}


git-svn-id: file:///svn/toku/tokudb@26659 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:34 -04:00
Dave Wells
91788e1d2a fix issue with test
git-svn-id: file:///svn/toku/tokudb@26608 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:34 -04:00
Barry Perlman
9e3302820c [t:3130] Capture oldest txn starttime at txn begin.
git-svn-id: file:///svn/toku/tokudb@26508 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:33 -04:00
Rich Prohaska
7c059f7af2 #3129 fix recover of insert multiple and delete multiple with a valid source filenum closes[t:3129]
git-svn-id: file:///svn/toku/tokudb@26506 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:33 -04:00
Barry Perlman
8a810eafd8 [t:3130] Add start time of oldest live txn to engine status.
git-svn-id: file:///svn/toku/tokudb@26502 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:33 -04:00
Rich Prohaska
e1e8cab62b #3129 fix recover of insert multiple and delete multiple with a valid source filenum closes[t:3129]
git-svn-id: file:///svn/toku/tokudb@26501 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:33 -04:00
Zardosht Kasheff
b563fcc246 [t:3117], fix bug
git-svn-id: file:///svn/toku/tokudb@26491 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:33 -04:00
Barry Perlman
186a86939d [t:3120] Ignore false test failures caused by varying number of system calls.
git-svn-id: file:///svn/toku/tokudb@26458 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:33 -04:00
Zardosht Kasheff
702f49e52f [t:3117], merge fractal tree piece to main
git-svn-id: file:///svn/toku/tokudb@26451 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:33 -04:00
Barry Perlman
37f0a697b3 [t:3034] Update engine status for new functionality.
git-svn-id: file:///svn/toku/tokudb@26444 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:33 -04:00
Bradley C. Kuszmaul
63d1c05f30 Fix #3112 (bash {{{=~}}} operator doesn't like quotes). close[t:3112]
git-svn-id: file:///svn/toku/tokudb@26365 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:33 -04:00
Bradley C. Kuszmaul
e4a1d77679 Make some of the tests work with smaller redzones. Refs #3111. [t:3111]
git-svn-id: file:///svn/toku/tokudb@26362 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:33 -04:00
Barry Perlman
c68e4f968a [t:3102] Change brtloader_fi_close() to ignore files that are already closed when called from brtloader_fi_close_all().
git-svn-id: file:///svn/toku/tokudb@26361 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:33 -04:00
Barry Perlman
2f4f4976be [t:3102] Restore brtloader_fi_close_all() to brtloader-internal.h (needed by test programs). Also clarify use of return values in brtloader_fi_close().
git-svn-id: file:///svn/toku/tokudb@26360 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:33 -04:00
Barry Perlman
62eb359ca0 [t:2892] Fix error in toku_get_version_of_logs_on_disk() so version_found is always set correctly.
git-svn-id: file:///svn/toku/tokudb@26350 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:33 -04:00
Barry Perlman
870a7f7934 [t:2892] Delete obsolete function.
git-svn-id: file:///svn/toku/tokudb@26349 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:33 -04:00
Zardosht Kasheff
0a62f29cf2 [t:3067], add another case brought up in test plan review
git-svn-id: file:///svn/toku/tokudb@26328 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:33 -04:00
Barry Perlman
093337c84b [t:3103] Fix minor defects in verbose output from loader-cleanup-test.
git-svn-id: file:///svn/toku/tokudb@26320 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:33 -04:00
Barry Perlman
de61796b6c [t:3102] Propogate error return up call stack when fclose() fails. Make brtloader_fi_close_all() static to brtloader.c and delete its signature from brtloader-internal.h.
git-svn-id: file:///svn/toku/tokudb@26318 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:33 -04:00
Barry Perlman
6a9a386314 [t:2892] Add test of attempt to upgrade environment with multiple log files and dirty shutdown.
git-svn-id: file:///svn/toku/tokudb@26191 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:33 -04:00
Rich Prohaska
cc750bf881 #3094 set executable property on the tokudb scripts refs[t:3094]
git-svn-id: file:///svn/toku/tokudb@26188 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:33 -04:00
Rich Prohaska
b897d79c37 fixes from hotindexer recover code review
git-svn-id: file:///svn/toku/tokudb@26185 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:33 -04:00
Dave Wells
8de2b2f1a7 fixes from hotindexer recovery code review
git-svn-id: file:///svn/toku/tokudb@26176 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:33 -04:00
Barry Perlman
8f05263293 [t:3092] Avoid function call for common case.
git-svn-id: file:///svn/toku/tokudb@26164 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:33 -04:00
Barry Perlman
f56ef74403 [t:3092] Replace raw abort() calls with resource_assert() calls in xmalloc functions. This will provide more information in error logs on crash.
git-svn-id: file:///svn/toku/tokudb@26163 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:33 -04:00
Barry Perlman
3c3d05f421 [t:2892] Add function to check rows, but skipping over first n rows which are expected to have been deleted.
git-svn-id: file:///svn/toku/tokudb@26137 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:32 -04:00
Barry Perlman
4cec2d3a01 [t:2892] Added tests of partially upgraded trees.
git-svn-id: file:///svn/toku/tokudb@26117 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:32 -04:00
Rich Prohaska
413a958a4d #3054 fix the ydb makefile deps refs[t:3054]
git-svn-id: file:///svn/toku/tokudb@26106 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:32 -04:00
Rich Prohaska
15a5add02a #3054 change ydb makefile deps refs[t:3054]
git-svn-id: file:///svn/toku/tokudb@26102 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:32 -04:00
Rich Prohaska
30ace64d1c #3054 change ydb makefile deps refs[t:3054]
git-svn-id: file:///svn/toku/tokudb@26101 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:32 -04:00
Rich Prohaska
48a59da3d9 #3003 dont build hotindexer lock test with BDB refs[t:3003]
git-svn-id: file:///svn/toku/tokudb@26100 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:32 -04:00
Zardosht Kasheff
9d3a1416c3 [t:2811], add some comments
git-svn-id: file:///svn/toku/tokudb@26097 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:32 -04:00
Dave Wells
15fe9a5247 better comments
git-svn-id: file:///svn/toku/tokudb@26095 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:32 -04:00
Dave Wells
00548dad64 improve test
git-svn-id: file:///svn/toku/tokudb@26094 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:32 -04:00
Dave Wells
f6c4d59fc3 test lock tree of hot dictionary [t:3003]
git-svn-id: file:///svn/toku/tokudb@26092 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:32 -04:00
Barry Perlman
41c214c39b [t:2892] Add logic to Makefile and loader-stress-test to upgrade 4.1.1 environment with empty dictionaries and use current loader to fill them.
git-svn-id: file:///svn/toku/tokudb@26091 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:32 -04:00
Rich Prohaska
353b893861 #3054 fix closes[t:3054]
git-svn-id: file:///svn/toku/tokudb@26088 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:32 -04:00
Zardosht Kasheff
fd80a2a081 [t:3088], fix bug
git-svn-id: file:///svn/toku/tokudb@26086 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:32 -04:00
Barry Perlman
7a28e99ff6 [t:2892] Replace redundant test with new test that truncates upgraded dictionaries.
git-svn-id: file:///svn/toku/tokudb@26072 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:32 -04:00
Rich Prohaska
89f70142f5 #3081 simplify dbt initialization in the indexer closes[t:3081]
git-svn-id: file:///svn/toku/tokudb@26055 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:32 -04:00
Barry Perlman
7c200b096d [t:2892] Add test of attempt to upgrade 3.x environment.
git-svn-id: file:///svn/toku/tokudb@26054 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:32 -04:00
Barry Perlman
dc5499bed3 [t:2892] Add test of attempt to upgrade 3.x environment.
git-svn-id: file:///svn/toku/tokudb@26053 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:32 -04:00
Rich Prohaska
652fba84d9 #3079 fix pmprof refs[t:3079]
git-svn-id: file:///svn/toku/tokudb@26045 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:32 -04:00
Rich Prohaska
cdb7c0c7c0 #3058 document the prov-2.py undo test generator refs[t:3058]
git-svn-id: file:///svn/toku/tokudb@26028 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:32 -04:00
Rich Prohaska
1433da2943 #3052 document the indexer object relationships and API closes[t:3052]
git-svn-id: file:///svn/toku/tokudb@26027 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:32 -04:00
Rich Prohaska
7fc0006ca1 #3052 document the indexer object relationships and API closes[t:3052]
git-svn-id: file:///svn/toku/tokudb@26025 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:32 -04:00
Barry Perlman
7df2f74cae [t:2892] Exclude upgrade-test-6 from BDB tests.
git-svn-id: file:///svn/toku/tokudb@25913 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:32 -04:00
Rich Prohaska
77dc60e725 #3061 doc updates per code review refs[t:3061]
git-svn-id: file:///svn/toku/tokudb@25912 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:32 -04:00
Rich Prohaska
3ba245cda6 #3043 merge changes from code review to main refs[t:3043]
git-svn-id: file:///svn/toku/tokudb@25904 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:31 -04:00
Barry Perlman
192de3d723 [t:2892] Add test of upgrading dictionary created by 4.1.1 loader.
git-svn-id: file:///svn/toku/tokudb@25885 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:31 -04:00