Liang Guo
0d4b8fe87b
Merge branch 'master' into status
2016-05-05 14:22:07 -07:00
Liang Guo
b5196b6a96
Fix end2end vttest.
2016-05-05 14:19:16 -07:00
Anthony Yeh
fe3591f613
Merge pull request #1681 from youtube/jdbc
...
jdbc jar as thin client jar
2016-05-05 12:29:57 -07:00
Anthony Yeh
6b220d786d
Update Travis to MariaDB 10.0.25.
...
The mirror no longer holds the older version.
2016-05-05 11:23:28 -07:00
Anthony Yeh
4767c832d0
Merge pull request #1680 from enisoc/sqlstate
...
java: Populate MySQL errno and SQLSTATE in SQLExceptions
2016-05-05 11:03:29 -07:00
Alain Jobart
e2ea7654a5
Merge pull request #1678 from alainjobart/getsessionid
...
Remove tabletserver.GetSessionId, update PHP proto files.
2016-05-05 07:39:42 -07:00
Alain Jobart
db6c2b8181
Also copying two more PHP generated files.
2016-05-05 07:25:28 -07:00
Alain Jobart
a0c5e88ce3
Running PHP proto generation.
2016-05-05 07:25:28 -07:00
Alain Jobart
375cf907f7
Adding docker image to generate PHP proto files.
2016-05-05 07:25:28 -07:00
Alain Jobart
c96850635f
Tabletserver doesn't generate sessionid any more.
2016-05-05 07:25:28 -07:00
Alain Jobart
a0c8f9e8e8
Removing GetSessionId from queryservice.
...
And session_id from RPC calls. We switched to target everywhere now.
2016-05-05 07:25:28 -07:00
Harshit Gangal
5e33186248
jdbc jar as thin client jar
2016-05-05 17:57:17 +05:30
Anthony Yeh
b3f407fc72
jdbc: Fix VitessPreparedStatementTest for time zone flakiness.
2016-05-04 21:27:14 -07:00
Anthony Yeh
5860c7dc2e
java: Populate MySQL errno and SQLSTATE in SQLExceptions.
2016-05-04 21:06:07 -07:00
Anthony Yeh
f6d2c0dfc2
Transmit SQLSTATE error info from MySQL client to Vitess clients.
2016-05-04 21:03:05 -07:00
Liang Guo
71838711e8
Merge branch 'master' into status
2016-05-04 18:44:17 -07:00
Liang Guo
48e7708c6d
Delete shard gateway/conn related code, and also fix unit tests to use discoverygateway.
2016-05-04 15:20:36 -07:00
Michael Berlin
9135fdf38d
Merge pull request #1677 from michael-berlin/throttler_vtworker_plumbing
...
worker: Support fixed rate throttling for SplitClone and VerticalSplitClone
2016-05-04 14:20:59 -07:00
Alain Jobart
9198c66920
Merge pull request #1675 from alainjobart/testbegincommit
...
Adding unit test for BeginExecute{,Batch}. Removing tabletconn.Cancelled.
2016-05-03 10:20:20 -07:00
Michael Berlin
f43d6375ee
worker: Add -max_tps flag to SplitClone and VerticalSplitClone.
...
The flag controls the throttling of the copy.
By default, throttling is disabled.
Any throttling rate will be evenly distributed across all writer threads.
2016-05-03 09:53:50 -07:00
Michael Berlin
a739b89f65
throttler: If maxRate is below threadCount, increase it to threadCount.
...
- Added magic constant ZeroRateNoProgess to better reflect in the code that maxRate == 0 means that the Throttler won't let anything through.
2016-05-03 09:18:15 -07:00
Michael Berlin
d68d5ec3dc
throttler: Do not allow more than one request per request interval for rates below 10k.
...
- Added more benchmark configurations with different QPS rates.
- Updated the example output from the benchmark.
2016-05-03 09:17:59 -07:00
Michael Berlin
4352572970
Merge pull request #1674 from michael-berlin/throttler_fixed_rate
...
throttler: First version which supports throttling by a fixed rate across multiple threads.
2016-05-02 23:25:54 -07:00
Anthony Yeh
9d250d0cc3
Merge pull request #1317 from AndyDiamondstein/master
...
Add footer to vitess.io. Fix some layout issues. Remove a few unused …
2016-05-02 15:27:38 -07:00
Michael Berlin
0809025d1e
vtworker: Move execution state into "executor" struct.
...
This way, we don't have to pass all required parameters between functions all the time.
2016-05-02 14:49:34 -07:00
Anthony Yeh
79e0351f1c
Merge pull request #1673 from youtube/jdbc
...
Bypass commit/rollback when not in transaction
2016-05-02 14:27:20 -07:00
Michael Berlin
7c1bdf4999
throttler: First version which supports throttling by a fixed rate across multiple threads.
...
Next steps (outside of this PR) will be:
- use Throttler in vtworker and filtered replication
- implement MaxReplicationLag module
- implement a read-only webinterface which displays the actual and throttled rate
- make the webinterface read-write e.g. to override the fixed rate limit
2016-05-02 12:08:55 -07:00
Alain Jobart
6b0b84421b
Removing tabletconn.Canceled.
...
Instead, we just use context.Canceled. That way if it's triggered in
some other case, we're still handling it right.
2016-05-02 11:24:47 -07:00
Alain Jobart
a087f4c008
Adding unit test for BeginExecute{,Batch}.
...
In the discovery gateway code.
2016-05-02 11:04:35 -07:00
Andy Diamondstein
295c300cd2
Fix logo image used in _config_dev.yml to match _config.yml.
2016-05-02 09:32:50 -04:00
Andy Diamondstein
3e40c2c2ac
Update link to blog.
2016-05-02 09:25:19 -04:00
Michael Berlin
b7cf9cdfbf
Merge pull request #1671 from michael-berlin/healthcheck_resolver_final
...
worker: Resolve destination master using the discovery module.
2016-05-01 16:04:26 -07:00
Harshit Gangal
0658f9455f
Merge branch 'master' of github.com:youtube/vitess into jdbc
2016-04-30 22:44:55 +05:30
Harshit Gangal
14d2a0e138
Bypass commit/rollback when not in transaction
2016-04-30 22:44:42 +05:30
Michael Berlin
a2a0d900ca
worker: Resolve destination master using the discovery module.
...
- Removed previous Resolver interface and respective implementations.
- Removed respective stat vars and flags (--resolve_ttl).
- Added unit test for case where vtworker fails over to a different replica.
- Added unit test for case when healthcheck retries because currently no master is available.
- Extended FakePoolConnection to support these tests:
- can define callback (AfterFunc) when expected query was received
- infinite mode where the last request may be received over and over again
- discovery: Introduce DefaultTopoReadConcurrency to avoid duplication.
- discovery: Added EndPointStats.Alias() to avoid duplication.
- discovery: Added EndPointStats.String() to have pretty printed arrays.
Adapted end-to-end tests:
- binlog.py, merge_sharding.py, resharding.py: Enabled healthcheck for master tablets.
- worker.py: Updated stat vars check
2016-04-29 22:58:00 -07:00
Michael Berlin
0cb22ce7e8
stats: Fix typo.
2016-04-29 18:40:34 -07:00
Michael Berlin
0fbebade64
Merge pull request #1672 from michael-berlin/format_fix
...
vtgate: Fix wrong call to log.Warning() where log.Warningf() was necessary.
2016-04-29 18:37:17 -07:00
Michael Berlin
61926ba79b
vtgate: Fix wrong call to log.Warning() where log.Warningf() was necessary.
2016-04-29 18:25:45 -07:00
Michael Berlin
91ee20d741
Merge pull request #1670 from michael-berlin/vtworker_fake_pool_connection
...
worker: Refactored FakePoolConnection.
2016-04-29 15:40:27 -07:00
Michael Berlin
bc6938bcd3
worker: Refactored FakePoolConnection.
...
- Moved out into own file.
- More code reuse between tests.
- Split split_clone_test.go into multiple tests to better sepearate between a test which tests the normal case and tests which test specific error situations.
2016-04-29 15:18:52 -07:00
Michael Berlin
f6d6a25860
Merge pull request #1669 from michael-berlin/stream_health_query_service_fake
...
tabletserver: Move QueryService fakes into subpackage.
2016-04-29 14:45:24 -07:00
Michael Berlin
2c148d7661
tabletserver: Move QueryService fakes into subpackage.
...
Moved StreamHealthQueryService fake out of wait_for_drain_test.go and use it in other tests as well.
2016-04-29 13:40:04 -07:00
Andy Diamondstein
fb824b0d7c
Remove blog-related stuff from config. Fix footer link.
2016-04-29 16:35:53 -04:00
Michael Berlin
1dfbac6b55
Merge pull request #1661 from michael-berlin/discovery_filter_helpers
...
discovery: Provide filter helper functions to reduce code duplication.
2016-04-29 13:34:42 -07:00
Andy Diamondstein
c6495557ee
Remove blog post templates since blog was moved to blog.vitess.io, served by blogspot or blogger or something. Revert changes to preview-site.sh.
2016-04-29 16:28:47 -04:00
Andy Diamondstein
39c4a379af
Remove blog posts and images since blog was moved to blog.vitess.io.
2016-04-29 16:20:25 -04:00
Andy Diamondstein
0a90a39538
Add "Scaling MySQL with Vitess" document.
2016-04-29 15:43:44 -04:00
Michael Berlin
f2c9937aa7
discovery: Added package comment.
2016-04-29 11:49:45 -07:00
Michael Berlin
1f218bcf82
discovery: GetCurrentMaster(): Return nil instead of an empty list.
2016-04-29 11:49:38 -07:00
Andy Diamondstein
a8eda596ce
Merge branch 'master' of https://github.com/youtube/vitess
2016-04-29 14:38:04 -04:00