Alain Jobart
022ea34402
Merge branch 'master' into replication
2015-03-31 07:04:11 -07:00
Alain Jobart
c5442849cd
Merge pull request #534 from youtube/resharding
...
Moving the panic handling into the RPC layer.
2015-03-31 06:59:41 -07:00
Anand Henry
5ad89a6a33
Benchmarking: increase connection pool for reads
2015-03-30 16:46:37 -07:00
Anand Henry
35cc6418ec
Benchmarking: disable sync_binlog and increase open_files_limit
2015-03-30 16:44:33 -07:00
Alain Jobart
c680b39852
Moving the panic handling into the RPC layer.
...
That way we can remove one recover layer in other RPC implementations.
2015-03-30 16:16:39 -07:00
Shengzhe
46bf7311af
Merge pull request #533 from yaoshengzhe/fix_refactor_schema_info_http_endpoints
...
refactor schema info to make unit test easy to write
2015-03-30 15:43:06 -07:00
Shengzhe Yao
bf49cf476d
refactor schema info to make unit test easy to write
...
1. add statsPrefix to allow caller to add prefix for schema info stats
2. add endpoints param in NewSchemaInfo to allow caller provides a different
http endpoints to serve
2015-03-30 15:15:29 -07:00
脑残果粉
cc38c9d7ba
Merge pull request #532 from yaoshengzhe/fix_queryservice_unit_test_cachepool
...
add cache pool unit test
2015-03-30 13:00:45 -07:00
Shengzhe Yao
b12f932fba
add cache pool unit test
...
1. add cache pool unit test.
2. add a new statsURL param in NewCachePool function instead of
using a statsURL constant.
2015-03-30 13:00:27 -07:00
脑残果粉
fcb01005d6
Merge pull request #525 from yaoshengzhe/fix_queryservice_unit_test_03_sqlquery
...
add sqlquery unit test
2015-03-30 12:58:13 -07:00
Ammar Aijazi
917641da74
Merge pull request #528 from youtube/aaijazi_add_virtualenv_requirement
...
Add python-virtualenv to requirements for getting started
2015-03-30 11:46:55 -07:00
thompsonja
25a3f62c03
Merge pull request #529 from thompsonja/gke_vttablet_on_ssd
...
Enable support for running vttablets on SSD on GKE
2015-03-30 10:52:35 -07:00
Joshua Thompson
830a2f704d
Remove debug line
2015-03-30 10:42:54 -07:00
Joshua Thompson
36f92aed51
Add separate benchmarking template
2015-03-30 10:42:00 -07:00
Anand Henry
418339daf8
Remove Mariadb specific configs from benchmark.cnf
2015-03-30 10:09:41 -07:00
脑残果粉
d6b796553a
Merge pull request #531 from yaoshengzhe/fix_add_fake_memcache
...
add a fake implementation of CacheService
2015-03-30 09:27:55 -07:00
Alain Jobart
6968da6de5
Merge pull request #530 from youtube/resharding
...
Adding panic handler tests to vtctl client/server RPC code.
2015-03-30 09:12:38 -07:00
Alain Jobart
1bea0f6e20
Adding panic handling tests for tmserver.
2015-03-30 08:47:08 -07:00
Shengzhe Yao
3fe9deffee
add a fake implementation of CacheService
2015-03-30 07:43:45 -07:00
脑残果粉
cca327a088
Merge pull request #527 from yaoshengzhe/fix_create_cache_service
...
add CacheService interface
2015-03-30 07:42:56 -07:00
Alain Jobart
30d4498964
Adding panic handler tests to vtctl client/server RPC code.
...
This is a model of what we should be doing for other libraries.
Turns out panics were not correctly handled, so it's also
a bug fix...
2015-03-30 07:37:18 -07:00
Joshua Thompson
5fb5703fc5
Enable support for running vttablets on SSD on GKE
2015-03-29 23:28:00 -07:00
Anand Henry
4e97e99181
MySQL configs for benchmarking
2015-03-28 19:05:48 -07:00
Ammar Aijazi
4351db71f2
Add python-virtualenv to requirements for getting started
2015-03-27 19:23:39 -07:00
Shengzhe Yao
5fca7b0aee
add CacheService interface
...
CacheService is an interface for cache services like memcache.
2015-03-27 17:45:58 -07:00
thompsonja
10f4c76393
Merge pull request #526 from thompsonja/update_readme
...
Update readme to point to vitess.io
2015-03-27 16:34:37 -07:00
Joshua Thompson
02bb728f95
Update readme to point to vitess.io
2015-03-27 16:17:12 -07:00
Shengzhe Yao
2d5ea2db03
add sqlquery unit test
...
1. Add a connFail param in fakesqldb.Register fuction so that it is possible to
fail the dbconnpool.DBConnection intentionally in order to test error handling
logic.
2. make fakesqldb.Conn return empty result if a request is unknown instead returns
an error. This is mainly because schema_info and planbuilder send verious sql
queries to mysql to get some infomation and put those queries to fakesqldb makes
test hard to understand.
2015-03-26 23:50:20 -07:00
Liang
6f5c2256e7
Merge pull request #518 from guokeno0/master
...
Add endpoint details to vtgate status
2015-03-26 21:22:09 -07:00
Alain Jobart
5999587beb
Merge pull request #523 from youtube/resharding
...
Fixing the version of grpc to a well-known working version.
2015-03-26 18:11:39 -07:00
Anand Henry
6ebf017b1a
Merge pull request #524 from youtube/test-hashmap-order-fix
...
Fix ordering for shardmap in Java integration test
2015-03-26 16:03:55 -07:00
Anand Henry
5f97f6a8f7
Fix ordering for shardmap in Java integration test
...
The ordering of shardmap needs to be maintained so that the command line args gets parsed successfully. Use LinkedHashMap instead of regular HashMap to maintain the ordering.
2015-03-26 15:00:57 -07:00
Alain Jobart
128e808ddc
Regenerating these files to compile with newer grpc clients.
2015-03-26 14:14:25 -07:00
Alain Jobart
45f1ebb316
The version I used didn't work, and there is no tagged version later.
...
Reverting to fixing the install.
2015-03-26 14:04:59 -07:00
Ammar Aijazi
45cb02b813
Merge pull request #520 from youtube/aaijazi_add_vars_to_workers
...
Add variables to track additional worker state, useful for monitoring and testing
2015-03-26 13:45:33 -07:00
Ammar Aijazi
7451a0ec55
Reset worker debug variables at the beginning of each worker run
2015-03-26 12:10:00 -07:00
Alain Jobart
a1009ba84a
Fix git command.
2015-03-26 10:27:39 -07:00
Alain Jobart
d854ea5d7c
Fixing the version of grpc to a well-known working version.
2015-03-26 09:26:42 -07:00
Alain Jobart
d4f3982043
Merge pull request #522 from youtube/resharding
...
Using faster my.cnf in tests. not sure how we got rid of that.
2015-03-26 08:07:21 -07:00
Alain Jobart
1b78d8b86c
Using faster my.cnf in tests. not sure how we got rid of that.
2015-03-26 07:48:02 -07:00
脑残果粉
229921d895
Merge pull request #521 from yaoshengzhe/fix_add_txstats_name_prefix
...
add name prefix for txStats
2015-03-25 23:46:41 -07:00
Shengzhe Yao
75a844e0e9
add name prefix for txStats
...
NewTxPool always creates a new txStats instance with a hard coded name.
This is good until some unit tests need to create two TxPool instances.
The second NewTxPool call will fail because of the hard coded stats variable
has been exported in the first call.
This happens when there are two unit tests for TxPool and SqlQuery, since SqlQuery
will implicitly create a TxPool instance.
One possible fix would be to add an extra txStatsPrefix in NewTxPool function
so that unit test is able to register its own txStats with an unique name.
Given the fact that NewTxPool function is only called once in QueryEngine, this
fix might be simpler than other alternative options.
In addition, this fix also allows unit test to create different TxPool instances
and makes each test function independent to each other.
2015-03-25 18:41:23 -07:00
脑残果粉
136e663efc
Merge pull request #519 from yaoshengzhe/fix_queryservice_unit_test_03_tx_pool_tx
...
add tx_pool unit test
2015-03-25 14:09:03 -07:00
Shengzhe Yao
d2bcd92bb2
add tx_pool unit test
2015-03-25 12:41:36 -07:00
Ammar Aijazi
b879c0535a
Add variables to track additional worker state, useful for monitoring and testing
2015-03-25 10:53:38 -07:00
shrutip
7f5f1dac3d
Merge pull request #516 from youtube/tx_timeout
...
Removed the retry on txn pool full.
2015-03-25 10:43:34 -07:00
脑残果粉
39ad17b34d
Merge pull request #517 from yaoshengzhe/fix_queryservice_unit_test_02
...
add a fake implementation of sqldb.Conn
2015-03-25 10:15:47 -07:00
Alain Jobart
4de081b401
Merge branch 'master' into replication
2015-03-25 09:04:18 -07:00
Jeff (Zhefu) Jiang
e1eee492b1
jeffjiang: add endpoint details to statusz
2015-03-24 23:05:25 -07:00
Shengzhe Yao
8aa1e89374
add fakesqldb package which provides a fake implementation of sqldb.Conn
2015-03-24 17:06:13 -07:00