Commit graph

268 commits

Author SHA1 Message Date
Zardosht Kasheff
36b4752d5b [t:2442], fix it
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@18302 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:59 -04:00
Zardosht Kasheff
eb210e5f68 [t:2425], make insert ignore and replace into optimizations work properly
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@18212 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:59 -04:00
Zardosht Kasheff
f29eefaf07 [t:2430], make commit/abort report progress
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@18178 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:59 -04:00
Zardosht Kasheff
91d570d0ba [t:2356], make lock wait on reads user controlled
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@17986 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:59 -04:00
Zardosht Kasheff
dea053951f [t:2355], fix max value of session variable
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@17709 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:58 -04:00
Zardosht Kasheff
df93c2e056 [t:2355], make waits on writes user controlled
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@17707 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:58 -04:00
Zardosht Kasheff
c19b9fd936 [t:2342], add back toku_ydb_init and toku_ydb_destroy
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@17677 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:58 -04:00
Zardosht Kasheff
6f89660a10 [t:2342], get rid of tokudb_show_logs
git-svn-id: file:///svn/mysql/tokudb-engine/src@17475 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:56 -04:00
Zardosht Kasheff
2afaba778d [t:2342], some work for porting handlerton
git-svn-id: file:///svn/mysql/tokudb-engine/src@17474 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:56 -04:00
Zardosht Kasheff
9c822f5ccc [t:2325], move to main
git-svn-id: file:///svn/mysql/tokudb-engine/src@17179 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:56 -04:00
Zardosht Kasheff
9d0dbb18c7 [t:2322], replace hash_ functions with my_hash_
git-svn-id: file:///svn/mysql/tokudb-engine/src@17142 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:56 -04:00
Zardosht Kasheff
3be100311f [t:2317], remove unused flag
git-svn-id: file:///svn/mysql/tokudb-engine/src@17089 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:56 -04:00
Zardosht Kasheff
fba4bd6bf3 [t:2267], get rid of trx->iso_level, makes life easier
git-svn-id: file:///svn/mysql/tokudb-engine/src@16941 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:56 -04:00
Zardosht Kasheff
2092ff6edb [t:2254], merge to main line
git-svn-id: file:///svn/mysql/tokudb-engine/src@16938 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Zardosht Kasheff
3461c5951b [t:2253], fix bad assert
git-svn-id: file:///svn/mysql/tokudb-engine/src@16470 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Zardosht Kasheff
ecb0ad0c44 [t:2151], more changes as result of code review
git-svn-id: file:///svn/mysql/tokudb-engine/src@16278 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Zardosht Kasheff
09c3c37d1d [t:2151], more changes as result of code review
git-svn-id: file:///svn/mysql/tokudb-engine/src@16277 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Zardosht Kasheff
3449ee16f8 [t:2151], more changes as result of code review, assert all db->close succeeds
git-svn-id: file:///svn/mysql/tokudb-engine/src@16275 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Zardosht Kasheff
42498ddc34 [t:2151], some changes as result of code review
git-svn-id: file:///svn/mysql/tokudb-engine/src@16274 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Rich Prohaska
3aae17eafc remove ydb.h for linux refs[t:2207]
git-svn-id: file:///svn/mysql/tokudb-engine/src@16011 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Rich Prohaska
b3fd691a69 turn on logging in the tokumysql handlerton refs[t:652]
git-svn-id: file:///svn/mysql/tokudb-engine/src@15840 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Barry Perlman
ed6c1e4bcc Closes #2133 refs[t:2133] Restore 15630: Merged engine status logic for scheduling statistics from 2.2.0.
git-svn-id: file:///svn/mysql/tokudb-engine/src@15778 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Zardosht Kasheff
53a3013aea [t:1979], merge to main line
git-svn-id: file:///svn/mysql/tokudb-engine/src@15772 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Barry Perlman
867c2c3bb1 Undo change 15630, restore to 15361.
handlerton's engine status restored to be compatible with main.

git-svn-id: file:///svn/mysql/tokudb-engine/src@15635 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Barry Perlman
749a50a2c5 Addresses #2075 refs[t:2075] Merged engine status logic for scheduling statistics from 2.2.0.
git-svn-id: file:///svn/mysql/tokudb-engine/src@15630 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Zardosht Kasheff
5db66197f2 [t:2103], merge to main line
git-svn-id: file:///svn/mysql/tokudb-engine/src@15361 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Barry Perlman
fa6dfe400d Addresses #1792 refs[t:1792] Added logger lock info to engine status.
git-svn-id: file:///svn/mysql/tokudb-engine/src@14820 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Zardosht Kasheff
946caf2b7c [t:2027], move some common code to a function
git-svn-id: file:///svn/mysql/tokudb-engine/src@14819 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Barry Perlman
25e4f5a476 Addresses #1792 refs[t:1792] Added timestamps to engine status
git-svn-id: file:///svn/mysql/tokudb-engine/src@14818 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Zardosht Kasheff
7bb2ed74da [t:2027], add explanation text
git-svn-id: file:///svn/mysql/tokudb-engine/src@14816 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Zardosht Kasheff
dd09f0278c [t:2027], implement checkpoint_lock and checkpoint_unlock functions
git-svn-id: file:///svn/mysql/tokudb-engine/src@14814 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Barry Perlman
962fbb3486 Addresses #1792 refs[t:1792] Added ydb-layer operation counters to engine status
git-svn-id: file:///svn/mysql/tokudb-engine/src@14811 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Zardosht Kasheff
fe3a00a67c [t:2039], propogate show engine error
git-svn-id: file:///svn/mysql/tokudb-engine/src@14806 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Barry Perlman
e984ceb3b5 Addresses 1792 refs[t:1792] Add more info to show engine status
git-svn-id: file:///svn/mysql/tokudb-engine/src@14803 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Zardosht Kasheff
5e5b208921 [t:2048], add user variables that control how often status gets updated
git-svn-id: file:///svn/mysql/tokudb-engine/src@14786 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Zardosht Kasheff
24a9c87e9c [t:2033], add process info for queries
git-svn-id: file:///svn/mysql/tokudb-engine/src@14784 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Zardosht Kasheff
d04d4f1a1e [t:2045], fix bug
git-svn-id: file:///svn/mysql/tokudb-engine/src@14779 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Zardosht Kasheff
ea8835021f [t:2044], clean it up
git-svn-id: file:///svn/mysql/tokudb-engine/src@14778 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Barry Perlman
1565067250 Addresses #1792 refs[t:1792] Added range lock info to show engine status
git-svn-id: file:///svn/mysql/tokudb-engine/src@14746 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Barry Perlman
fcea8785ec Addresses #1792 refs[t:1792] Added more content to show engine status
git-svn-id: file:///svn/mysql/tokudb-engine/src@14730 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Barry Perlman
36ec86c9b6 Addresses #1792 refs[t:1792] Start adding show engine tokudb status
git-svn-id: file:///svn/mysql/tokudb-engine/src@14693 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Zardosht Kasheff
034ba2c18c [t:2016], check for ENOENT return
git-svn-id: file:///svn/mysql/tokudb-engine/src@14683 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Zardosht Kasheff
ace5fc7a7d [t:2007], make handlerton change
git-svn-id: file:///svn/mysql/tokudb-engine/src@14647 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
e6e25f302c [t:2025], [t:2007], allow option for flattening in show user data, make function exit if thread has been killed
git-svn-id: file:///svn/mysql/tokudb-engine/src@14621 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Barry Perlman
bd66fffb4e Fix build
git-svn-id: file:///svn/mysql/tokudb-engine/src@14597 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
d34c347744 fix more build errors
git-svn-id: file:///svn/mysql/tokudb-engine/src@14596 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
7ea6258beb fix more build errors
git-svn-id: file:///svn/mysql/tokudb-engine/src@14595 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
8924f6fc9c fix more build errors
git-svn-id: file:///svn/mysql/tokudb-engine/src@14594 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
2444bfe7ad [t:2020], make handlerton change
git-svn-id: file:///svn/mysql/tokudb-engine/src@14589 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
4494944519 [t:1981], abstract to another function
git-svn-id: file:///svn/mysql/tokudb-engine/src@14524 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
412686a5a5 [t:1869], checkin fix with added variable to allow disabling of feature
git-svn-id: file:///svn/mysql/tokudb-engine/src@14521 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
bcd465f2b5 [t:1981], cosmetic changes
git-svn-id: file:///svn/mysql/tokudb-engine/src@14494 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
84df6cc11d [t:1980], [t:1981], merge back to mainline
git-svn-id: file:///svn/mysql/tokudb-engine/src@14493 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
23b5b1d348 [t:1717], set default environment comparison functions
git-svn-id: file:///svn/mysql/tokudb-engine/src@14094 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Rich Prohaska
3d50b6eb63 show engines tokudb comment string. merge -c 13587 from 2.1.0 to main. [t:1892]
git-svn-id: file:///svn/mysql/tokudb-engine/src@13591 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Rich Prohaska
48339dd4cc merge -c 13581 from 2.1.0 to main. [t:1889]
git-svn-id: file:///svn/mysql/tokudb-engine/src@13588 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
aa9a0ac928 addresses #1782
move change from 2.0.0 to main line

git-svn-id: file:///svn/mysql/tokudb-engine/src@12641 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
742288c593 addresses #1742
change checkpointing default to 60 seconds

git-svn-id: file:///svn/mysql/tokudb-engine/src@11712 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
d6e858115b addresses #1724
set default to 5 min

git-svn-id: file:///svn/mysql/tokudb-engine/src@11523 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
d5b9e34a3d addresses #1719
give user mehtod to control checkpointing interval

git-svn-id: file:///svn/mysql/tokudb-engine/src@11472 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
151964c710 addresses #1719, #1718
add variable for checkpointing, address Yoni's CR comments

git-svn-id: file:///svn/mysql/tokudb-engine/src@11471 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
10f039cdec addresses #1719, #1718
add variable for checkpointing, address Yoni's CR comments

git-svn-id: file:///svn/mysql/tokudb-engine/src@11470 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
c7becea612 UNDO dlmalloc changes. addresses #1377
git-svn-id: file:///svn/mysql/tokudb-engine/src@9174 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
d2809c4f44 addresses #1377
use dlmalloc in handlerton

git-svn-id: file:///svn/mysql/tokudb-engine/src@9100 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Zardosht Kasheff
b382af3bbf addresses #1420
add DB_RECOVER flag

git-svn-id: file:///svn/mysql/tokudb-engine/src@9099 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Rich Prohaska
91fc05c940 change the default cache table size. closes #1387
git-svn-id: file:///svn/mysql/tokudb-engine/src@8749 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Zardosht Kasheff
93a48c478c addresses #1032
merge handlerton to main line

git-svn-id: file:///svn/mysql/tokudb-engine/src@8627 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Zardosht Kasheff
23480a9a18 addresses #1149
move partial refactoring to main line

git-svn-id: file:///svn/mysql/tokudb-engine/src@7989 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00