Commit graph

2851 commits

Author SHA1 Message Date
Bradley C. Kuszmaul
528949b699 Fixes #2292. closes[t:2292]
git-svn-id: file:///svn/toku/tokudb@16859 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:57 -04:00
Bradley C. Kuszmaul
5991c07b98 Fixes #2291. closes[t:2291]
git-svn-id: file:///svn/toku/tokudb@16857 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:57 -04:00
Bradley C. Kuszmaul
91dd0fd281 abortrecover gets magic brackets. Refs #2297. [t:2287]
git-svn-id: file:///svn/toku/tokudb@16856 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:57 -04:00
Bradley C. Kuszmaul
fb923aad34 diskfull.tdbrun now works. Fixes #2290. close[t:2290]
git-svn-id: file:///svn/toku/tokudb@16854 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:57 -04:00
Bradley C. Kuszmaul
df9884886b Suppress output and actually check that the callbacks are called properly. Fixes #2288, #2289. closes[t:2288] closes[t:2289]
git-svn-id: file:///svn/toku/tokudb@16853 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:57 -04:00
Bradley C. Kuszmaul
d7797907bf Much, maybe all, of the output about processes being killed, is suppressed. Fixes #2287, [t:2287]
git-svn-id: file:///svn/toku/tokudb@16845 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:57 -04:00
Bradley C. Kuszmaul
2df222064a More fixes. This may actually result in a fix for #2285 but #2284 is blocking the fix. Refs #2285, [t:2285]
git-svn-id: file:///svn/toku/tokudb@16843 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:57 -04:00
Bradley C. Kuszmaul
8c8162ede4 things don't really work without an environment. Refs #2285, [t:2285]
git-svn-id: file:///svn/toku/tokudb@16842 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:57 -04:00
Bradley C. Kuszmaul
bb06a5a944 test_errpfx was setting two data dirs. exceptions is broken out to its worn rule (and is failing because of #2284). exceptions was also operating in the cwd, instead of a subdir. The reverse_compare_fun was failing because it wasing cwd for some calls instead of the subdir. Refs #2285, #2284. [t:2285] [t:2284]
git-svn-id: file:///svn/toku/tokudb@16835 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:57 -04:00
Rich Prohaska
ae6a52db3c fix the examples build refs[t:2282]
git-svn-id: file:///svn/toku/tokudb@16831 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:57 -04:00
Bradley C. Kuszmaul
00a3915299 Don't Allow the data dir to be set twice, since we don't have addititive directory behavior. Fixes #2283. close[t:2283]
git-svn-id: file:///svn/toku/tokudb@16826 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:57 -04:00
Bradley C. Kuszmaul
44b2c612be Allow the data dir to be set twice. Fixes #2283. close[t:2283]
git-svn-id: file:///svn/toku/tokudb@16824 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:57 -04:00
Bradley C. Kuszmaul
9c2b243e67 Make it work with gcc 4.4.2.
git-svn-id: file:///svn/toku/tokudb@16822 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:57 -04:00
Yoni Fogel
b13ec70a2f Addresses #2262 [t:2262] Fix memory leak in isolation.c
git-svn-id: file:///svn/toku/tokudb@16821 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:57 -04:00
Bradley C. Kuszmaul
798429c3cb Fixes #2276. closes[t:2276]
git-svn-id: file:///svn/toku/tokudb@16801 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:57 -04:00
Bradley C. Kuszmaul
e7136edbd1 Revert the change for #2276 so that the build works again. [t:2276]
git-svn-id: file:///svn/toku/tokudb@16786 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:57 -04:00
Bradley C. Kuszmaul
5e8f232617 gcc 4.4.2 hacks. [t:2276]
git-svn-id: file:///svn/toku/tokudb@16785 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:57 -04:00
Bradley C. Kuszmaul
da999e1fe9 Refs #2276. Refs[t:2276]
git-svn-id: file:///svn/toku/tokudb@16734 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:57 -04:00
Bradley C. Kuszmaul
534fcc0652 Fixes #2276. Closes[t:2276]
git-svn-id: file:///svn/toku/tokudb@16733 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:57 -04:00
Rich Prohaska
d5ee2d7946 fix the tokudb build on 32 bit linux closes[t:2273]
git-svn-id: file:///svn/toku/tokudb@16708 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:57 -04:00
Rich Prohaska
42f8c95778 fix the fractal tree example code
git-svn-id: file:///svn/toku/tokudb@16700 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:57 -04:00
Yoni Fogel
a88139f300 Addresses #2258 refs[t:2258] Windows port of min/max code (removed float equality test)
git-svn-id: file:///svn/toku/tokudb@16688 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:57 -04:00
Yoni Fogel
324c278a31 Addresses #2257 refs[t:2257] Merge windows port back into main.
git-svn-id: file:///svn/toku/tokudb@16673 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:56 -04:00
Yoni Fogel
e339d26531 Addresses #2262 refs[t:2262] Add DB_INHERIT_ISOLATION flag to TXN_BEGIN
git-svn-id: file:///svn/toku/tokudb@16621 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:56 -04:00
Bradley C. Kuszmaul
056b47bd0b Make the isolation test not run under bdb (where it is broken)
git-svn-id: file:///svn/toku/tokudb@16606 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:56 -04:00
Bradley C. Kuszmaul
7868fa8a66 This version of isolation causes a deadlock for BDB (incorrect), but not for TokuDB (correct)
git-svn-id: file:///svn/toku/tokudb@16605 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:56 -04:00
Bradley C. Kuszmaul
330e672971 Test case for #2262. [t:2262]
git-svn-id: file:///svn/toku/tokudb@16604 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:56 -04:00
Rich Prohaska
285fe0f000 fix the benchmark-test build refs[t:2258]
git-svn-id: file:///svn/toku/tokudb@16562 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:56 -04:00
Rich Prohaska
dca81d042a print the query experiments while they happen refs[t:2258]
git-svn-id: file:///svn/toku/tokudb@16540 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:56 -04:00
Rich Prohaska
3087a30320 make scanscan range test better refs[t:2258]
git-svn-id: file:///svn/toku/tokudb@16502 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:56 -04:00
Rich Prohaska
9ab8bd7491 update the scanscan --help close[t:2258]
git-svn-id: file:///svn/toku/tokudb@16499 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:56 -04:00
Rich Prohaska
0909fccce1 increase the backward log scan rate close[t:2256]
git-svn-id: file:///svn/toku/tokudb@16486 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:56 -04:00
Rich Prohaska
edaa294849 print checkpoint timestamps during recovery close[t:2255]
git-svn-id: file:///svn/toku/tokudb@16485 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:56 -04:00
Rich Prohaska
c521ee3a91 put the log print functions in log_print.c refs[t:2193]
git-svn-id: file:///svn/toku/tokudb@16447 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:56 -04:00
Yoni Fogel
9bb9d25f98 Addresses #2225 refs[t:2225] Make fileops unit tests (recovery) more comprehensive.
Add usage of table locking log entry

git-svn-id: file:///svn/toku/tokudb@16307 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:56 -04:00
Yoni Fogel
5fc753d2df Addresses #2225 refs[t:2225] Make fileops unit tests (recovery) more comprehensive.
git-svn-id: file:///svn/toku/tokudb@16305 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:56 -04:00
Rich Prohaska
eb3017c11d fix build refs[t:2028]
git-svn-id: file:///svn/toku/tokudb@16302 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:56 -04:00
Rich Prohaska
26ba255118 merge the recovery changes found by barry and rich during a code review to main closes[t:2231]
git-svn-id: file:///svn/toku/tokudb@16298 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:56 -04:00
Rich Prohaska
a58906fe32 add the test recover callback to the db.h files refs[t:2028]
git-svn-id: file:///svn/toku/tokudb@16297 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:56 -04:00
Dave Wells
04f341a870 modify recovery stress tests to occasionally crash in recovery [t:2028]
git-svn-id: file:///svn/toku/tokudb@16282 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:56 -04:00
Dave Wells
dec996c12a add ability to execute 2 callbacks during recovery - for [t:2028]
git-svn-id: file:///svn/toku/tokudb@16279 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:56 -04:00
Dave Wells
84987d501e tests that lone fcreate in log closes file on backwards scan [t:2159]
git-svn-id: file:///svn/toku/tokudb@16259 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:56 -04:00
Dave Wells
5d0f2314e9 fix memory leak
git-svn-id: file:///svn/toku/tokudb@16258 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:56 -04:00
Dave Wells
4e56c4b468 add aborted fileops transactions
git-svn-id: file:///svn/toku/tokudb@16253 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:56 -04:00
Yoni Fogel
d1bd4159a3 Addresses #2227 refs[t:2227] Add test case that reproduces crash reliably
Closes #2225 closes[t:2225] Add fileops unit tests (recovery version).

git-svn-id: file:///svn/toku/tokudb@16251 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:56 -04:00
Yoni Fogel
3d64b79078 Closes #2227 closes[t:2227] Change the way backwards recovery works for
fcreate/fclose/fassociate/fopen.  Files that potentially do not have a full header written will never be opened

git-svn-id: file:///svn/toku/tokudb@16238 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:55 -04:00
Bradley C. Kuszmaul
12bf0be85e Uninitialized variable
git-svn-id: file:///svn/toku/tokudb@16235 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:55 -04:00
Bradley C. Kuszmaul
35e486272e Preliminary powerfail test
git-svn-id: file:///svn/toku/tokudb@16234 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:55 -04:00
Yoni Fogel
1e46510c47 Force recovery to use entire log by leaving an oldest living transaction that is older than
any transaction that commits or aborts.  Delete code that truncated the log to force the same
behavior.


git-svn-id: file:///svn/toku/tokudb@16233 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:55 -04:00
Dave Wells
87fc6bdce2 100 dictionaries
git-svn-id: file:///svn/toku/tokudb@16231 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:55 -04:00