Yoni Fogel
1f1c288024
[t:2216] printf format now matches (windows port)
...
git-svn-id: file:///svn/toku/tokudb@18189 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:01 -04:00
Yoni Fogel
b19737b515
[t:2216] Windows port of #2216 . warning 147 is ignored in intel's -Werror. Put in a workaround.
...
git-svn-id: file:///svn/toku/tokudb@18188 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:01 -04:00
Yoni Fogel
fa8ef6da1f
[t:2216] Windows port of 2216 Showed that windows fetch_and_increment was returning incremented (not original) result.
...
Atomic functions now return the original
git-svn-id: file:///svn/toku/tokudb@18187 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:01 -04:00
Yoni Fogel
465be5c1f1
[t:2216] Fix deadlock bug introduced during merge of #2216
...
git-svn-id: file:///svn/toku/tokudb@18186 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:01 -04:00
Bradley C. Kuszmaul
7176886212
Change main's second argument to {{{char *const*argv}}}. Fixes #2228 . close[t:2228]
...
git-svn-id: file:///svn/toku/tokudb@18184 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:01 -04:00
Yoni Fogel
031acf5b97
[t:2328] Added nightly test script to windows scripts
...
git-svn-id: file:///svn/toku/tokudb@18182 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:01 -04:00
Bradley C. Kuszmaul
178820a688
Merge changes from 2216a to main (except possibly for the windows subdirectory, which Yoni will do separately).
...
2216a is no longer valid.
Refs #2216 . [t:2216].
{{{
svn merge -r17301:18179 https://svn.tokutek.com/tokudb/toku/tokudb.2216a/src/tests
}}}
git-svn-id: file:///svn/toku/tokudb@18181 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:01 -04:00
Yoni Fogel
a9400fb09c
closes[t:2427] Fix windows build.
...
git-svn-id: file:///svn/toku/tokudb@18176 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:01 -04:00
Yoni Fogel
83f0f54ea4
closes[t:2408] Merge branch #2408 back to main. Delete dev branch.
...
git-svn-id: file:///svn/toku/tokudb@18163 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:01 -04:00
Yoni Fogel
14d67581f0
closes[t:2391] Merge 2391 branch to main
...
git-svn-id: file:///svn/toku/tokudb@18153 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:01 -04:00
Yoni Fogel
0bdd64ae5f
[t:2418] Fixed memory corruption error for using "" as env dir found by coverity
...
git-svn-id: file:///svn/toku/tokudb@18138 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:01 -04:00
Yoni Fogel
07b085dc65
[t:2418] Fixed missing va_end in construct_full_name found by coverity
...
git-svn-id: file:///svn/toku/tokudb@18137 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:01 -04:00
Yoni Fogel
1a3cc4bfa2
[t:2418] Fixed double-free in lock tree found by coverity
...
git-svn-id: file:///svn/toku/tokudb@18136 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:01 -04:00
Bradley C. Kuszmaul
fbb1b6ed94
Get rid of signal.h include. Refs #2387 . [t:2387]
...
git-svn-id: file:///svn/toku/tokudb@18087 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:01 -04:00
Bradley C. Kuszmaul
f62b35b745
Merge the backtrace onto the mainline. Refs #2387 . [t:2387].
...
{{{
svn merge -r 18063:18082 https://svn.tokutek.com/tokudb/toku/tokudb.2387
}}}
git-svn-id: file:///svn/toku/tokudb@18084 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:01 -04:00
Rich Prohaska
3d46ee3fd4
merge serialize.c from 3.0.4 to main refs[t:2371]
...
git-svn-id: file:///svn/toku/tokudb@18055 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:00 -04:00
Dave Wells
235123b4d3
merge fixes from tokudb.2384
...
git-svn-id: file:///svn/toku/tokudb@18039 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:00 -04:00
Rich Prohaska
1c7b2bce90
merge parallel block compressor from 3.0.4 to main closes[t:2371]
...
git-svn-id: file:///svn/toku/tokudb@18038 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:00 -04:00
Rich Prohaska
92a9fdcf65
fix the panic exit out of logger maybe fsync closes[t:2376]
...
git-svn-id: file:///svn/toku/tokudb@17857 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:00 -04:00
Rich Prohaska
081fe6767e
fix the cxx permissions tests refs[t:2377]
...
git-svn-id: file:///svn/toku/tokudb@17854 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:00 -04:00
Rich Prohaska
dd4d1192ff
add checkpoint work in the cachetable to the wait time in get and pin. merge from 3.0.4 closes[t:2348]
...
git-svn-id: file:///svn/toku/tokudb@17819 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:00 -04:00
Yoni Fogel
54039a679f
[t:2350] Add BRT_INSERT_NO_OVERWRITE to leafentry tests
...
git-svn-id: file:///svn/toku/tokudb@17706 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:00 -04:00
Yoni Fogel
76340644aa
[t:2350] Change BRT_LAYOUT_VERSION 11->12 to support new brt message BRT_INSERT_NO_OVERWRITE
...
git-svn-id: file:///svn/toku/tokudb@17701 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:00 -04:00
Yoni Fogel
db600d7403
Cleaned up dodefine_track_enum
...
git-svn-id: file:///svn/toku/tokudb@17684 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:00 -04:00
Yoni Fogel
adf3e7ae95
[t:2350] Added DB_NOOVERWRITE_NO_ERROR flag for DB->put.
...
Will return EINVAL for ENV->put_multiple.
Has same semantics as INSERT IGNORE in mysql.
(equivalently) Has same semantics as DB_NOOVERWRITE except that it returns 0 if there is a duplicate key error
instead of DB_KEYEXISTS
git-svn-id: file:///svn/toku/tokudb@17682 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:00 -04:00
Yoni Fogel
9a3d6c5dc9
Renamed "SKIP_*" for slow tests to "TOKU_SKIP_*" for slow tests
...
git-svn-id: file:///svn/toku/tokudb@17681 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:00 -04:00
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