Yoni Fogel
f07af9de73
Added make local in newbrt to skip building tests
...
git-svn-id: file:///svn/toku/tokudb@17680 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:00 -04:00
Yoni Fogel
f5d12e462e
[t:2257] linux port of windows port of OS/tests/test.h
...
git-svn-id: file:///svn/toku/tokudb@17679 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:00 -04:00
Rich Prohaska
cf58ad6f29
get the tokudb/linux/tests building again
...
git-svn-id: file:///svn/toku/tokudb@17678 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:00 -04:00
Yoni Fogel
c6fcce22ce
[t:2328] Merge 2328 branch onto main,
...
some minimal porting
git-svn-id: file:///svn/toku/tokudb@17597 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:59 -04:00
Yoni Fogel
ef06c33f34
[t:2216] loader src tests support -q and -v (ignore, but don't fail with them)
...
git-svn-id: file:///svn/toku/tokudb@17590 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:59 -04:00
Dave Wells
f408fad151
fix make dependencies by straightening out includes
...
git-svn-id: file:///svn/toku/tokudb@17328 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:59 -04:00
Barry Perlman
0fecb0fd4d
Addresses #2336 refs[t:2336] Undoes unnecessary bug fix, restore assert.
...
git-svn-id: file:///svn/toku/tokudb@17323 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:59 -04:00
Dave Wells
a146155e4f
merge DB_LOADER->abort changes from tokudb.2216a branch
...
git-svn-id: file:///svn/toku/tokudb@17320 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:59 -04:00
Bradley C. Kuszmaul
56d2c6fdf8
Merge 2216 onto main (from 16706-17293) as
...
{{{
svn merge -r16706:17293 https://svn.tokutek.com/tokudb/toku/tokudb.2216
}}}
Refs #2216 . [t:2216]
git-svn-id: file:///svn/toku/tokudb@17299 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:59 -04:00
Barry Perlman
ae499b39f9
Addresses #2336 refs[t:2336] Deleted overactive assert.
...
git-svn-id: file:///svn/toku/tokudb@17296 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:59 -04:00
Yoni Fogel
2146c3d242
[t:2318] Replace DB_DBT_TEMPMEMORY with flags==0
...
git-svn-id: file:///svn/toku/tokudb@17197 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:59 -04:00
Yoni Fogel
838e0e5b1c
[t:2318] Merge #2318 back to main up to r17166
...
git-svn-id: file:///svn/toku/tokudb@17178 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:59 -04:00
Bradley C. Kuszmaul
ea77448b07
Improve make clean in cxx. Refs #2326 . [t:2285]
...
git-svn-id: file:///svn/toku/tokudb@17174 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:59 -04:00
Bradley C. Kuszmaul
3f97de8b98
Fix #2326 (cxx/check_test_get_not_found failed). close[t:2326]
...
git-svn-id: file:///svn/toku/tokudb@17173 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:59 -04:00
Bradley C. Kuszmaul
df060cd5bd
Make the cxx tests succeed. Fixes #2285 . close[t:2285]
...
git-svn-id: file:///svn/toku/tokudb@17148 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:59 -04:00
Bradley C. Kuszmaul
f27cc8fa09
Fixes #2323 by getting rid of gcc warnings. closes[t:2323]
...
git-svn-id: file:///svn/toku/tokudb@17147 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:59 -04:00
Bradley C. Kuszmaul
639c1d3920
Note what's going on with the redirect of stderr. Refs #2308 . [t:2308]
...
git-svn-id: file:///svn/toku/tokudb@17144 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:58 -04:00
Rich Prohaska
2cdf2fc582
add tracing for getting a handle on node serialization costs refs[t:2261]
...
git-svn-id: file:///svn/toku/tokudb@17123 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:58 -04:00
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