Yoni Fogel
e944ee50a6
[t:2312] All paths to write/pwrite go through portability layer.
...
full_os_(p)write check for partial reads, and fixable errors.
git-svn-id: file:///svn/toku/tokudb@17078 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:58 -04:00
Rich Prohaska
15ffb96f7d
fix the nightly build, remove /dev/null tracing, refs[t:2309]
...
git-svn-id: file:///svn/toku/tokudb@17036 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:58 -04:00
Yoni Fogel
1726f9927b
closes[t:2310] Update insertion(deletion) counter for env_put(del)_multiple
...
git-svn-id: file:///svn/toku/tokudb@17024 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:58 -04:00
Yoni Fogel
4f52983666
[t:2309] linux fix to windows port (export toku_dup2)
...
svn:ignore
git-svn-id: file:///svn/toku/tokudb@17021 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:58 -04:00
Yoni Fogel
a0d3657e23
closes[t:2309] [t:2308] Deprecate dup2, _dup2 (wrap with toku_dup2), and replace /dev/null with DEV_NULL_FILE
...
Fixes some recovery tests in windows
git-svn-id: file:///svn/toku/tokudb@17020 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:58 -04:00
Yoni Fogel
7c4622f527
[t:2308] Fix db-benchmark tests that used void* arithmetic
...
git-svn-id: file:///svn/toku/tokudb@17017 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:58 -04:00
Yoni Fogel
40bd8113eb
[t:2308] Fix several recovery tests that used void* arithmetic
...
git-svn-id: file:///svn/toku/tokudb@17016 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:58 -04:00
Rich Prohaska
76533d0303
fix the linux 32 bit build closes[t:2306]
...
git-svn-id: file:///svn/toku/tokudb@17014 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:58 -04:00
Yoni Fogel
b0ee051f9c
[t:2257] Speed up reading logs backwards in windows by using default FILE* buffering
...
git-svn-id: file:///svn/toku/tokudb@16999 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:58 -04:00
Yoni Fogel
f1086d049d
[t:2257] Switch atomic instructions to decrement, increment if they only modify by 1,
...
remove some bookkkeeping in windows that is slow and not completely necessary.
git-svn-id: file:///svn/toku/tokudb@16998 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:58 -04:00
Yoni Fogel
4cf833e76f
[t:2257] Add fsync times for windows (using mutex since missing 64bit atomic instructions)
...
Added '/' as allowable directory separator in absolute paths in windows
git-svn-id: file:///svn/toku/tokudb@16997 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:58 -04:00
Yoni Fogel
836889d0b2
[t:2257] Src tests and newbrt tests now verify init and destroy function succeed
...
git-svn-id: file:///svn/toku/tokudb@16996 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:58 -04:00
Yoni Fogel
57b5e8b59d
[t:2257] Modify atomic instructions
...
git-svn-id: file:///svn/toku/tokudb@16995 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:58 -04:00
Barry Perlman
fb351891c5
Add comment about checkpoint callbacks, used for testing purposes only.
...
git-svn-id: file:///svn/toku/tokudb@16992 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:58 -04:00
Yoni Fogel
c248a0e5bb
Addresses #2249 [t:2249] Fix bug in recover-put-multiple-fdelete-all.c
...
used db1->close(db2... (mismatched parameters)
git-svn-id: file:///svn/toku/tokudb@16978 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:58 -04:00
Rich Prohaska
0b2ee07869
dont run recover-split-checkpoint on bdb refs[t:2294]
...
git-svn-id: file:///svn/toku/tokudb@16965 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:58 -04:00
Dave Wells
c7c9c7aa22
merge changes from tokudb.2294.logtrim
...
git-svn-id: file:///svn/toku/tokudb@16947 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:58 -04:00
Yoni Fogel
9557f27e82
Addresses #2249 [t:2249] Merge DB_ENV->put_multiple branch back onto main.
...
Fixed some makefile issues, ported recovery tests to use toku_hard_crash_on_purpose(), fixed db-benchmark-test to use default name
for 0th db
git-svn-id: file:///svn/toku/tokudb@16936 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:58 -04:00
Bradley C. Kuszmaul
567fe59588
Speed up test_rand_insert, it was gratuitously slow.
...
git-svn-id: file:///svn/toku/tokudb@16862 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:58 -04:00
Bradley C. Kuszmaul
ca0bc8f302
Make recovery tests quieter. Fixes #2293 . close[t:2293]
...
git-svn-id: file:///svn/toku/tokudb@16861 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:57 -04:00
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