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
Rich Prohaska
1c5ba7650b
force recovery down an error path refs[t:2224]
...
git-svn-id: file:///svn/toku/tokudb@16219 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
Yoni Fogel
e37c1ac397
Addresses #2218 refs[t:2218] Merge r1629 to main
...
git-svn-id: file:///svn/toku/tokudb@16130 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
Rich Prohaska
a23dcae3b7
fix a linux test refs[t:2212]
...
git-svn-id: file:///svn/toku/tokudb@16116 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
Bradley C. Kuszmaul
a3a8d8cce6
Merge from 2212 branch. Fixes #2212 . Fixes[t:2212].
...
git-svn-id: file:///svn/toku/tokudb@16106 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
Bradley C. Kuszmaul
6222ec9492
fixes[t:2213] Fixes #2213 .
...
git-svn-id: file:///svn/toku/tokudb@16069 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:55 -04:00
Bradley C. Kuszmaul
ee8d5b670e
Remove about 15 lines of dead code. Refs [t:2208]
...
git-svn-id: file:///svn/toku/tokudb@16068 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:55 -04:00
Rich Prohaska
dca0d1c566
rearrange the release dir structure refs[t:2202]
...
git-svn-id: file:///svn/toku/tokudb@16046 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:55 -04:00