Michael Berlin
9b908f8085
Merge pull request #931 from michael-berlin/travis_enable_debug_logging_worker_py
...
Makefile: Enable debug logging for worker.py.
2015-07-27 11:35:48 -07:00
Michael Berlin
24348ab625
Makefile: Enable debug logging for worker.py.
...
We sporadically see that the worker.py test times out on Travis CI after 10 minutes. Enabling logging will give us better visibility to debug the problem.
2015-07-27 11:09:55 -07:00
Shengzhe
da02996c90
Merge pull request #930 from yaoshengzhe/fix_tableacl_validation
...
always validate tableacl config before using it.
2015-07-27 08:50:17 -07:00
Shengzhe Yao
e18f6ad49c
always validate tableacl config before using it.
...
1. table names or prefixes should be sorted.
2. acl entries should not have two overlaped entries (overlap means a concrete table name will
match both entries).
3. '%' should be presented only as the last character of a name, meaning this is a prefix.
2015-07-26 22:09:19 -07:00
Shengzhe
15a3f77533
Merge pull request #877 from yaoshengzhe/fix_move_rpc_class_to_configuration
...
allow user to plugin a customized TestEnv implementation
2015-07-26 18:47:54 -07:00
Shengzhe Yao
2c42db70cc
allow user to plugin a customized TestEnv implementation
...
1. Get rid of SetupCommand.java and move its logic to TestEnv.
2. Add getRpcClientFactory method in TestEnv.
3. Use setters & getters in TestEnv.
4. define vtgate.test.env and vtgate.rpcclient.factory properties in vtgate-client/pom.xml.
2015-07-26 18:47:19 -07:00
Shengzhe Yao
6ed59261ff
define RpcClientFactory as an interface
...
This allows multiple rpc client factory implementation and bson is just one of them.
2015-07-25 23:21:20 -07:00
Shengzhe
ce2bd18662
Merge pull request #929 from yaoshengzhe/enforce_tableacl_config_existance
...
add flag to enforce tableacl config file existance
2015-07-25 23:17:18 -07:00
Shengzhe Yao
912b63d06a
add flag to enforce tableacl config file existance
...
if enforce tableacl config flag is turned on, VtTablet will fail to start
if there is no valid tableacl config.
2015-07-25 20:59:23 -07:00
Michael Berlin
c65d6f2c0a
Merge pull request #914 from michael-berlin/travis_avoid_cache_update_after_java_test
...
Travis: Avoid lengthy cache update after the Java test did run.
2015-07-25 00:31:11 -07:00
thompsonja
946e83f25f
Merge pull request #928 from thompsonja/k8s_multicell
...
Fix vitess-up.sh default initial master tablet
2015-07-24 19:49:13 -07:00
Joshua Thompson
f122b6fa96
Fix vitess-up.sh default initial master tablet
2015-07-24 17:40:30 -07:00
thompsonja
8dcd5a082e
Merge pull request #926 from thompsonja/k8s_multicell
...
Fix vttablet-down.sh
2015-07-24 16:58:04 -07:00
Michael Berlin
c698ca61f5
Merge pull request #920 from michael-berlin/reparent_py_fix_style_issue
...
reparent.py: Fix style issues.
2015-07-24 16:36:22 -07:00
Alain Jobart
f7a0c04f70
Merge pull request #925 from alainjobart/resharding
...
Removing the ability to listen to a secure port ('vts' port).
2015-07-24 16:29:45 -07:00
Joshua Thompson
8ba34e2b72
Fix vttablet-down.sh
2015-07-24 16:27:22 -07:00
Michael Berlin
eab9fad585
Merge pull request #921 from michael-berlin/travis_retry_unit_tests
...
Travis: Enable retries for unit tests as well.
2015-07-24 16:23:31 -07:00
Alain Jobart
051750c638
Removing the ability to listen to a secure port ('vts' port).
...
This is generally unused, and we'll use encrypted gRPC if needed.
2015-07-24 16:12:56 -07:00
Michael Berlin
9189cdb8ca
Remove unused variables as shown by PyDev.
2015-07-24 16:07:06 -07:00
Michael Berlin
9766e09cb1
Remove unused imports.
2015-07-24 16:07:06 -07:00
Michael Berlin
450c909cd6
reparent.py: Fix style issue.
2015-07-24 16:07:01 -07:00
Shengzhe
addd9227e1
Merge pull request #919 from yaoshengzhe/fix_tableacl_support_superuser
...
add exempt acl feature in tableacl
2015-07-24 15:41:13 -07:00
sougou
380a9f8d17
Merge pull request #924 from youtube/suguwork
...
vtgate batch api: fix bug caught by linter
2015-07-24 15:30:38 -07:00
thompsonja
d365836636
Merge pull request #907 from thompsonja/k8s_multicell
...
Update k8s scripts to allow for multiple cells
2015-07-24 14:35:27 -07:00
Alain Jobart
ff3aa3b242
Merge pull request #923 from alainjobart/resharding
...
Now using strings in remote RPC communication for replication position.
2015-07-24 12:21:16 -07:00
Sugu Sougoumarane
728d70dc6d
vtgate batchapi: fix bug caught by linter
2015-07-24 12:16:02 -07:00
Michael Berlin
92fafb49da
Merge pull request #922 from michael-berlin/travis_use_python_mysqldb_apt_package
...
Travis: Remove manual installation of python pip package "mysql-python".
2015-07-24 11:45:56 -07:00
Alain Jobart
cd69f52256
Merge branch 'master' into resharding
2015-07-24 11:36:20 -07:00
Michael Berlin
01594fb5a9
Merge pull request #910 from michael-berlin/worker_test_remove_unnecessary_copy_schema_shard
...
worker.py: Remove duplicate CopySchemaShard command.
2015-07-24 11:10:23 -07:00
Michael Berlin
809321712f
Travis: Remove manual installation of python pip package "mysql-python".
...
The apt package python-mysqldb is available now and we can use that
instead.
2015-07-24 10:54:34 -07:00
Michael Berlin
fcf46fc8f1
Travis: Enable retries for unit tests as well.
...
At this point, they are too flaky and it hinders productivity too much to bother with that.
2015-07-24 10:50:49 -07:00
Alain Jobart
63daac2a5d
Now using strings in remote RPC communication for replication position.
...
Much simpler than the big proto file.
2015-07-24 10:29:28 -07:00
Shengzhe Yao
8d24f719b7
add exempt acl feature in tableacl
...
1. an exempt user will skip tableacl checking and have access to all Vitess tables.
2. add queryservice flag "queryserver-config-acl-exempt-acl" to specify exempt acl name.
2015-07-24 00:24:43 -07:00
sougou
65f9935095
Merge pull request #918 from youtube/suguwork
...
vtgate api: delete tests in client_test.py
2015-07-23 23:03:25 -07:00
Sugu Sougoumarane
42b9509636
vtgate api: delete tests in client_test.py
...
I removed functions from client.py because they need
to be rethought in light of the new API, but missed
removing them from client_test.py.
I've now added client_test to our integration tests
to make sure it doesn't get missed.
I'll submit this right away because it breaks import.
2015-07-23 22:54:29 -07:00
sougou
67afeb8670
Merge pull request #903 from youtube/suguwork
...
vtgate batch API
2015-07-23 21:50:40 -07:00
Michael Berlin
7bde6f35d5
Merge pull request #912 from michael-berlin/travis_retry_only_integration_tests
...
Travis: Re-enable retry for integration tests.
2015-07-23 20:13:34 -07:00
Michael Berlin
189e65c5dc
Merge pull request #915 from michael-berlin/fix_normalize_ip_parsing_for_ipv6_localhost
...
Fix normalize ip parsing for ipv6 localhost
2015-07-23 19:50:48 -07:00
Michael Berlin
f15649666e
validator.go: Log errors through the wrangler's logger instead of the processes' logger.
...
This fixes the problem that vtctlclients did not get the logged errors back.
2015-07-23 17:48:41 -07:00
Michael Berlin
b5664596c7
Improve format of error message to better distinguish between the different parts.
2015-07-23 17:45:35 -07:00
Michael Berlin
2272ab7708
Before validation, map IPv6 localhost to an IPv4 localhost address.
2015-07-23 17:43:22 -07:00
Alain Jobart
5b275832d0
Merge pull request #911 from alainjobart/resharding
...
Resharding
2015-07-23 16:44:16 -07:00
Michael Berlin
03d35649e2
Travis: Avoid lengthy cache update after the Java test did run.
2015-07-23 15:49:29 -07:00
Michael Berlin
819ca39bf3
Merge pull request #913 from michael-berlin/make_coveralls_upload_optional
...
Makefile: unit_test_goveralls: Mask internal goveralls errors.
2015-07-23 15:10:44 -07:00
Michael Berlin
300242059c
Makefile: unit_test_goveralls: Mask internal goveralls errors.
2015-07-23 15:00:20 -07:00
Alain Jobart
68426d028c
Merge branch 'master' into resharding
2015-07-23 14:16:58 -07:00
Alain Jobart
3ddcb87784
Increasing timeout for slower servers.
2015-07-23 14:16:26 -07:00
Michael Berlin
d32df71caf
bootstrap.sh: Add new line at the end to trigger Travis on master
...
branch.
We need to create a cache on the master branch or each pull request will
create its own cache and we won't benefit from any existing cache.
2015-07-23 14:12:40 -07:00
Michael Berlin
694b624e20
Travis: Re-enable retry for integration tests.
...
Unit tests shouldn't be retried because they shouldn't be flaky.
2015-07-23 13:49:30 -07:00
Alain Jobart
f4e31a4c75
Changing update stream API to not require extra structures.
...
(they are only used by bson).
2015-07-23 13:01:40 -07:00