Bradley C. Kuszmaul
415ff301a5
[t:3314] Merge fix for #3314 to main (readlink doesn't append a NUL). Refs #3314 .
...
{{{
svn merge -c28759 https://svn.tokutek.com/tokudb/toku/tokudb.3312
}}}
.
git-svn-id: file:///svn/toku/tokudb@28761 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:37 -04:00
Rich Prohaska
5bc341183e
#3253 gcc 4.4.4 linux/tests/Makefile refs[t:3253]
...
git-svn-id: file:///svn/toku/tokudb@28099 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:36 -04:00
Rich Prohaska
a4e8194d10
#3253 compile linux/tests with gcc44. merge 27945 from 4.1.4 to main refs[t:3253]
...
git-svn-id: file:///svn/toku/tokudb@27959 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:36 -04:00
Rich Prohaska
a9d325a6d0
#3200 get the handlerton compiling again refs[t:3200]
...
git-svn-id: file:///svn/toku/tokudb@27486 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:35 -04:00
Bradley C. Kuszmaul
fcd3e15270
Fixes #3200 . Use rdtsc instead of gettimeofday() to instrument elocks. close[t:3200]
...
git-svn-id: file:///svn/toku/tokudb@27464 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:35 -04:00
Bradley C. Kuszmaul
abd5212bcf
Merge r26784 into the main line.
...
Changes include patches to
* Handle gcc 4.4.1's foibles.
* Instrument {{{toku_os_pread}}}
* Release the lock during I/Os for queries (#3039 )
* Simplification of the ydb lock (no more backoff)
* Use {{{DB_TXN_NOSYNC}} for several tests (which speeds them up).
* Set the redzone to zero for several tests (so they can run on machines with little free space). (#3111 )
* Add helgrind and valgrind suppressions to some tests.
* Add dollar-id-dollar to several files.
* Declare the schedule status values to be volatile.
* Add a method to the toku {{{RWLOCK}}} to effectively grab the read lock and then release it quickly. (With only one condition variable acquisition.)
Fixes #3039 . close[t:3039]
Refs #3111 , #3112 , #3119 , #3125 , #3126 , #3128 , #3131 , #3133 , #3142 , #3152 .
[t:3111] [t:3112] [t:3119] [t:3125] [t:3126] [t:3128] [t:3131] [t:3133] [t:3142] [t:3152].
git-svn-id: file:///svn/toku/tokudb@26785 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:34 -04:00
Rich Prohaska
55d84fcbaa
#2513 test the computation of active processors in light of processor affinity and the TOKU_NCPUS env variable refs[t:2513]
...
git-svn-id: file:///svn/toku/tokudb@24904 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:24 -04:00
Rich Prohaska
22ae678c4a
#2513 rewrite the computation of the number of cpus refs[t:2513]
...
git-svn-id: file:///svn/toku/tokudb@24901 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:24 -04:00
Rich Prohaska
24d915f259
#2966 use assert_zero in some of the newbrt files refs[t:2966]
...
git-svn-id: file:///svn/toku/tokudb@24717 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:23 -04:00
Rich Prohaska
5c0dce7cbb
#2513 merge the cached threadpool to main refs[t:2513]
...
git-svn-id: file:///svn/toku/tokudb@24627 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:23 -04:00
Bradley C. Kuszmaul
476cbe26e6
merge fast rwlocks onto main line. Fixes #2841 . close[t:2841]
...
git-svn-id: file:///svn/toku/tokudb@23676 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:22 -04:00
Yoni Fogel
aac1625dfe
make clean in linux/tests cleans up fsync test temp files
...
git-svn-id: file:///svn/toku/tokudb@23061 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:22 -04:00
Bradley C. Kuszmaul
52714401a0
Use dynamic libraries for newbrt tests. Fix #2848 . close[t:2848]
...
git-svn-id: file:///svn/toku/tokudb@22718 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:21 -04:00
Rich Prohaska
d9985ad0cf
#2840 refs[t:2840] add debug prints to the loader to help fix the dbufio read row problem, also remove the assert on this error path
...
git-svn-id: file:///svn/toku/tokudb@22673 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:20 -04:00
Bradley C. Kuszmaul
754576bbc7
Merge changes from tokudb.2826. Fixes #2826 . close[t:2826]
...
git-svn-id: file:///svn/toku/tokudb@22664 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:20 -04:00
Rich Prohaska
5a83acc152
refs[t:2445] test the toku_fsync_directory function. verify with strace by hand.
...
git-svn-id: file:///svn/toku/tokudb@20826 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:17 -04:00
Yoni Fogel
c9b2b066dd
[t:2561] Merge tokudb.2561b to main. Disabled auto-upgrade and auto-upgrade tests
...
git-svn-id: file:///svn/toku/tokudb@20778 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:17 -04:00
Rich Prohaska
5b254d5608
refs[t:2673] check how valgrind detects memory leaks
...
git-svn-id: file:///svn/toku/tokudb@20777 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:17 -04:00
Rich Prohaska
3383ab7b72
refs[t:2673] check how valgrind detects memory leaks
...
git-svn-id: file:///svn/toku/tokudb@20751 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:16 -04:00
Rich Prohaska
edc13bbee0
closes[t:2673] linux/tests/try-leak should XFAIL
...
git-svn-id: file:///svn/toku/tokudb@20736 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:16 -04:00
Rich Prohaska
16cbf13ca2
closes[t:2445] fsync dirs after file creation
...
git-svn-id: file:///svn/toku/tokudb@20735 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:16 -04:00
Barry Perlman
2108cc42c6
Closes [t:2624] Added toku_os_close() which retries on EINTR. Closes [t:2621] Added toku_os_open(), toku_os_fopen(), toku_os_fdopen(), toku_os_fclose() and related override hooks db_env_set_func_open(), db_env_set_func_fopen(), db_env_set_func_fdopen(), db_env_set_func_fclose(). Modified test program loader-cleanup-test to use new hooks to inject synthetic errors. Marked some error cases in brtloader.c. with ###.
...
git-svn-id: file:///svn/toku/tokudb@20364 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:13 -04:00
Barry Perlman
6603cf2166
[t:2499] Fix toku_os_pwrite() signature (returns ssize_t, not int).Add pwrite testing to loader-cleanup-test.
...
git-svn-id: file:///svn/toku/tokudb@20292 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:12 -04:00
Barry Perlman
061de97e14
Closes [t:2612] Make separate override functions for use by toku_os_write(), toku_os_full_write(), toku_os_pwrite(), and toku_os_full_pwrite(). Modify src/tests/diskfull.c to use new override functions.
...
git-svn-id: file:///svn/toku/tokudb@20220 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:11 -04:00
Rich Prohaska
52b5bafc07
merge 2578b to main refs[t:2578]
...
git-svn-id: file:///svn/toku/tokudb@20143 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:11 -04:00
Bradley C. Kuszmaul
28cc5d1ed9
Merge the changes from 2499d onto the main line. Fixes #2499 . close[t:2499].
...
{{{
svn merge -r 19523:19895 https://svn.tokutek.com/tokudb/toku/tokudb.2499d
}}}
.
git-svn-id: file:///svn/toku/tokudb@19902 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:09 -04:00
Yoni Fogel
7979395fba
[t:2539] Modified makefiles to behave for gcc 4.4.1.
...
Fixed code to remove warnings (checked result of 'system()' and printf warnings)
git-svn-id: file:///svn/toku/tokudb@19560 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:07 -04:00
Rich Prohaska
e9bd5c759f
fix some icc on linux errors in the fractal tree refs[t:2500]
...
git-svn-id: file:///svn/toku/tokudb@18994 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:05 -04:00
Rich Prohaska
f6749714bc
fix some icc on linux errors in the fractal tree refs[t:2500]
...
git-svn-id: file:///svn/toku/tokudb@18993 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:05 -04:00
Barry Perlman
13c324ed06
Merge from 3.1.0 using following commands:
...
> svn merge --accept=postpone -r18405:HEAD https://svn.tokutek.com/tokudb/mysql.branches/3.0.5/tokudb
> svn merge --accept=postpone -r18484:HEAD https://svn.tokutek.com/tokudb/mysql.branches/3.1.0/tokudb
> svn merge --accept=postpone -c18403 https://svn.tokutek.com/tokudb/mysql.branches/3.0.5/tokudb
> all executed inside directory tokudb/toku/tokudb
git-svn-id: file:///svn/toku/tokudb@18877 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:04 -04:00
Rich Prohaska
5500a39946
merge 3.0.5 -c 18481 to main refs[t:2467]
...
git-svn-id: file:///svn/toku/tokudb@18871 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:04 -04:00
Yoni Fogel
1db53a83a4
Removed duplicate rule
...
git-svn-id: file:///svn/toku/tokudb@18743 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:03 -04:00
Bradley C. Kuszmaul
53d376d7c3
Add keywords. [t:2468]. Refs #2468 .
...
git-svn-id: file:///svn/toku/tokudb@18673 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:03 -04:00
Bradley C. Kuszmaul
77c38fad44
Remove second copy of time. Refs #2467 . [t:2467].
...
git-svn-id: file:///svn/toku/tokudb@18658 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:03 -04:00
Bradley C. Kuszmaul
8e833273da
Merge in all the changes from 18354 to 18555 from 3.1.0. The only real change was in the engine status instrumentation. Refs #2467 . [t:2467].
...
{{{
svn merge -r18354:18555 https://svn.tokutek.com/tokudb/mysql.branches/3.1.0/tokudb/
}}}
.
git-svn-id: file:///svn/toku/tokudb@18657 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:03 -04:00
Bradley C. Kuszmaul
e21e3b6328
Merge r18085. No actual changes. Refs #2467 . [t:2467].
...
git-svn-id: file:///svn/toku/tokudb@18649 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:03 -04:00
Yoni Fogel
b3f5306b41
[t:2249] Merge #2249 to main.
...
'load' entry and rollback/recovery,
single filename for brtloader and rest of brt
test-fsync
git-svn-id: file:///svn/toku/tokudb@18617 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:03 -04:00
Yoni Fogel
5cfc0adf1f
[t:2445] Windows port of functionality
...
git-svn-id: file:///svn/toku/tokudb@18613 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:02 -04:00
Rich Prohaska
a89af48d07
fix compile problems refs[t:2436]
...
git-svn-id: file:///svn/toku/tokudb@18504 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:02 -04:00
Rich Prohaska
d7056a9dc8
merge 3.0.5 changes to main refs[t:2436]
...
git-svn-id: file:///svn/toku/tokudb@18474 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:02 -04:00
Rich Prohaska
b55e48b90a
merge -c 18380 from 3.0.5 to main refs[t:2436]
...
git-svn-id: file:///svn/toku/tokudb@18382 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:02 -04:00
Rich Prohaska
5a5fca31d1
assert on ENOSPC for now on main refs[t:2436]
...
git-svn-id: file:///svn/toku/tokudb@18371 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:02 -04:00
Rich Prohaska
473fc53ffe
retry writes when no space returned closes[t:2436]
...
git-svn-id: file:///svn/toku/tokudb@18362 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:02 -04:00
Bradley C. Kuszmaul
296fca6bed
Contrary to r18222, the new group commit code was not on the main truck.
...
{{{
svn merge -r17893:18056 https://svn.tokutek.com/tokudb/toku/tokudb.2370c
}}}
Refs #2370 , #2385 . [t:2370] [t:2385].
git-svn-id: file:///svn/toku/tokudb@18259 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:02 -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
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
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
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
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