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
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
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
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
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
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
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
Dave Wells
688a7ca01e
typo not caught with DEBUG=1
...
git-svn-id: file:///svn/toku/tokudb@16218 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:55 -04:00
Dave Wells
d569899a6d
now randomly aborts before, during, or after the last checkpoint
...
git-svn-id: file:///svn/toku/tokudb@16217 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:55 -04:00
Dave Wells
79e7c8a397
create a stress test for fileops. still a work in progress, but worth checking in
...
git-svn-id: file:///svn/toku/tokudb@16181 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:55 -04:00
Rich Prohaska
4fdf978767
closes[t:2221] recovery does not call ydb callbacks
...
git-svn-id: file:///svn/toku/tokudb@16155 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:55 -04:00
Rich Prohaska
84314a3ade
keep track of the ydbtime structs in the big ydb lock so we can free them when the lib unloads closes[t:2198]
...
git-svn-id: file:///svn/toku/tokudb@16125 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:55 -04:00
Bradley C. Kuszmaul
a7acb6d7f3
Tell filesize not to run vgrind
...
git-svn-id: file:///svn/toku/tokudb@16111 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:55 -04:00
Yoni Fogel
54c356e095
Addresses #2217 refs[t:2217] Fix memory leak in test.
...
git-svn-id: file:///svn/toku/tokudb@16109 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:55 -04:00
Yoni Fogel
5bdc180c76
Addresses #2217 refs[t:2217]
...
Fix r16084, test now correctly shows file size reduces after many inserts and deletes
git-svn-id: file:///svn/toku/tokudb@16108 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:55 -04:00
Rich Prohaska
83e417314c
fix the src/tests build
...
git-svn-id: file:///svn/toku/tokudb@16107 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:55 -04:00
Barry Perlman
ea9ff275bb
Added test to measure file size after many inserts and deletes.
...
git-svn-id: file:///svn/toku/tokudb@16084 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:55 -04:00
Barry Perlman
698c0a6c33
Deleted.
...
git-svn-id: file:///svn/toku/tokudb@16083 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:55 -04:00
Barry Perlman
984461741c
Added simple example of htonl
...
git-svn-id: file:///svn/toku/tokudb@16082 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:55 -04:00
Rich Prohaska
cddc1a25f9
don't mix mallocators closes[t:2204]
...
git-svn-id: file:///svn/toku/tokudb@15999 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:54 -04:00
Barry Perlman
87bbf72c70
Addresses #2121 refs[t:2121] toku_ydb_lock_destroy(): After freeing thread-specific memory for ydbtime struct,
...
set thread-specific storage to NULL to prevent destructor (toku_free) from being called twice,
just in case the thread that calls toku_ydb_lock_destroy() is not the same thread that called
toku_ydb_lock_init().
git-svn-id: file:///svn/toku/tokudb@15976 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:54 -04:00
Barry Perlman
c2d7c68f56
Closes #2121 closes[t:2121] Free memory for last remaining ydbtime struct when shutting down.
...
git-svn-id: file:///svn/toku/tokudb@15975 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:54 -04:00
Rich Prohaska
ed3167c978
fix some env leaks refs[t:2198]
...
git-svn-id: file:///svn/toku/tokudb@15973 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:54 -04:00
Rich Prohaska
062817affe
test delboth during recovery closes[t:2196]
...
git-svn-id: file:///svn/toku/tokudb@15964 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:54 -04:00
Rich Prohaska
c53afb37da
test new rolltmp file names refs[t:2184]
...
git-svn-id: file:///svn/toku/tokudb@15951 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:53 -04:00
Barry Perlman
6e41b27e87
Add env_startup and zombie_db to Makefile's BDB_DONTRUN_TESTS list.
...
git-svn-id: file:///svn/toku/tokudb@15950 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:53 -04:00
Rich Prohaska
fcb003dd71
ignore fclose-in-checkpoint on bdb refs[t:2190]
...
git-svn-id: file:///svn/toku/tokudb@15937 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:53 -04:00
Rich Prohaska
d853508ea7
test fclose inside of a checkpoint closes[t:2190]
...
git-svn-id: file:///svn/toku/tokudb@15935 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:53 -04:00
Barry Perlman
0af18bc8ff
Addresses #2165 refs[t:2165] Test that env->dbremove() and env->dbrename() return correct error code when given a zombie db.
...
git-svn-id: file:///svn/toku/tokudb@15879 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:53 -04:00
Yoni Fogel
1087f50bdd
addresses #2169 refs[t:2169] Set tests as XFAIL till this ticket is done
...
git-svn-id: file:///svn/toku/tokudb@15876 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:53 -04:00
Rich Prohaska
b89eb6ef9e
speed up recovery by using a large cache table closes[t:2183]
...
git-svn-id: file:///svn/toku/tokudb@15875 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:53 -04:00
Yoni Fogel
441c408d30
Addresses #652 refs[t:652] fixed recover test (changed expectation)
...
git-svn-id: file:///svn/toku/tokudb@15857 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:53 -04:00
Barry Perlman
c1293b73a8
Addresses #652 refs[t:652] Improve error reporting, symbol names
...
git-svn-id: file:///svn/toku/tokudb@15853 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:53 -04:00