Alain Jobart
79c61e40bc
Addressing comments from review.
...
Changing Shard's db_name to db_name_override.
Rewording a bunch of comments in proto.
Factoring out tablet creation code in vtcombo.
Rebuilding keyspace graph for redirected keyspaces too,
and also setting ShardingColumn{Name,Type} for them.
2016-05-26 07:59:57 -07:00
Alain Jobart
a8731c5ce1
vtcombo now also supports vttest topology param.
2016-05-25 16:24:41 -07:00
Alain Jobart
508ff06dcc
Missed these files.
2016-05-25 16:24:41 -07:00
Alain Jobart
7c095d762b
Addressing review comments.
...
Mostly simpler stuff all around. Good to have another pair of eyes.
2016-05-25 08:54:33 -07:00
Sugu Sougoumarane
78fcdf8f20
Merge branch 'master' into v3
2016-05-20 10:00:01 -07:00
Sugu Sougoumarane
1b1ec26f2f
v3 vschema: typo in comment
2016-05-20 09:56:05 -07:00
Sugu Sougoumarane
74295d38a0
v3 vschema: "Sequence" -> "sequence"
2016-05-19 23:55:44 -07:00
Sugu Sougoumarane
dd30f0b5a1
v3 vschema: code review comments
2016-05-19 23:34:55 -07:00
Alain Jobart
d73c337514
Removing keyspace.split_shard_count. Unused.
2016-05-19 09:36:06 -07:00
Alain Jobart
c61f459815
Fixing a few doc issues.
2016-05-19 07:36:45 -07:00
Sugu Sougoumarane
53e6ff7b34
Merge branch 'master' into v3
2016-05-18 14:53:53 -07:00
Sugu Sougoumarane
46b2d12769
v3: VSchemaFormal -> proto3
...
The most material difference in this PR is that the
JSON format has changed. The tags are all lowercased
now, and ColVindex is now col_vindex.
2016-05-18 14:38:33 -07:00
Alain Jobart
2f05afec43
Removing SrvShard.
2016-05-18 07:47:20 -07:00
Alain Jobart
c32483d205
Removing Endpoint from proto.
2016-05-16 10:26:53 -07:00
Alain Jobart
c7f808ed98
Removing EndPoints message.
2016-05-16 07:36:19 -07:00
Alain Jobart
1a5f6b1751
Lots of fixes after Anthony's comments.
...
Lameduck is clearer now.
Re-adding a lameduck case: when going unhealthy.
All lameduck mode is now conditioned on serving_state_grace_period > 0.
Adding reserved obsolete comments to proto for the fields I removed.
2016-05-10 09:08:04 -07:00
Alain Jobart
25bc282ba0
Better doc for tablet type, better unit tests.
2016-05-09 10:28:37 -07:00
Alain Jobart
6d815ad12d
No more healthmap in tablet.
2016-05-09 09:36:12 -07:00
Alain Jobart
5c7b385cce
Removing targetTabletType from health check proto.
2016-05-09 08:18:45 -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
Alain Jobart
af6a18b817
Adding BeginExecute{,Batch} rpc to gRPC code.
...
It is behind a flag for now, until it's been around for long enough, and
then I'll just enable it by default.
2016-04-27 08:11:32 -07:00
Erez Louidor
57812424fd
Made equal_splits use the first split_column if more than one is given, rather than complain.
2016-04-26 16:27:34 -07:00
Michael Berlin
e7cc432515
vterrors: Fix spelling issues.
2016-04-08 11:02:02 -07:00
Sugu Sougoumarane
a5e601481e
Merge branch 'master' into v3
2016-03-30 22:20:42 -07:00
Sugu Sougoumarane
3d2fb0c4c2
v3: optional keyspace in request
...
If a keyspace is in the request, tables will only be searched
in that keyspace unless the query contains explicit references.
2016-03-30 18:03:52 -07:00
Erez Louidor
dd7766e9a9
Integrated the new SplitQuery RPC into Vitess.
2016-03-28 16:52:34 -07:00
Anthony Yeh
77d3751321
healthcheck: Add IgnoreHealthError command.
...
This command lets you selectively force individual tablets to temporarily
ignore health check errors that match the given regexp.
2016-03-07 17:33:28 -08:00
Michael Berlin
203649e33d
vttablet: Added "qps" field to healthcheck message.
...
This required exposing QueryEngine's QueryServiceStats instance in the tabletserver.Controller interface.
2016-02-01 17:10:46 -08:00
Alain Jobart
e2a14d9390
Renaming xid_{type,value} to {type,value} in the proto3
...
entity id. Should be safe.
2016-01-29 14:19:14 -08:00
Alain Jobart
4aa792733b
Removing KeyspaceIdType from StreamKeyRange queries.
...
Effect is far-reaching to tabletmanager, which doesn't need to
read KeyspaceInfo any more. Cool!
2015-12-04 15:51:24 -08:00
Alain Jobart
d8c0e7797d
Removing the 'want_fields' flag for tm.ExecuteFetchAs*.
...
Defaulting it to true. Not worth the hassle.
2015-12-02 10:56:46 -08:00
Anthony Yeh
06124495b4
Stop looking for mysql.host table.
...
The mysql.host table has been obsolete since at least MySQL 5.0:
https://dev.mysql.com/doc/refman/5.0/en/grant-table-structure.html
In recent versions, the table is no longer created for new
installations.
2015-11-10 11:41:30 -08:00
Alain Jobart
ee284d7734
Removing old go KeyspaceIdType.
2015-11-05 12:32:09 -08:00
Alain Jobart
51be389106
Submitting changes that were already made internally.
2015-11-05 07:33:02 -08:00
Alain Jobart
94477326c5
Fixing another comment.
2015-11-03 11:20:12 -08:00
Alain Jobart
0d43efcff8
Addressing a couple comments.
2015-11-03 11:20:12 -08:00
Alain Jobart
58af79e908
Updating comments in vtgate proto.
2015-11-03 11:20:12 -08:00
Alain Jobart
703121eb8f
Removing locktimeout from vtctl protocol.
2015-11-03 11:20:12 -08:00
Anthony Yeh
0e602ee49a
Merge branch 'master' into proto
2015-10-27 21:40:29 -07:00
Sugu Sougoumarane
d12476e9fe
proto: migrate EntityIds
2015-10-25 22:02:58 -07:00
Sugu Sougoumarane
94eb00ff00
proto: misc renames
...
Float -> Float32
Double -> Float64
IsNumber -> IsIntegral
Also addressed some code review comments.
2015-10-24 00:08:53 -07:00
Sugu Sougoumarane
c5691e1cbc
proto: revamp bind vars
...
I've done enough to get the existing unit tests to pass, but I
think they're insufficient. There also a few TODOs sprayed around.
2015-10-23 22:30:35 -07:00
Sugu Sougoumarane
6ed05d1d28
proto: int type names changed
...
Tiny, Long, etc. are not very understandable. I've now changed the
types to intXX, which is more intuitive.
2015-10-23 13:46:47 -07:00
Alain Jobart
cff02b5c10
Removing SCHEMA_UPDATE tablet type, unusued. Re-ordering existing
...
types in proto3.
2015-10-23 07:12:49 -07:00
Alain Jobart
73497d2a16
Checkpoint of removing IDLE and SCRAP states. All unit tests pass,
...
most integration tests pass too.
2015-10-23 07:12:49 -07:00
Sugu Sougoumarane
c7918063a3
New rows proto change
...
So far, unit tests are passing. Still need to look at clients.
2015-10-23 02:07:03 -07:00
Sugu Sougoumarane
ba7921e963
changed proto enums to idiomatic upper case
2015-10-22 22:51:53 -07:00
Sugu Sougoumarane
175fcf2acc
New vitess-specific types
...
This change defines the new types, how they are derived from
MySQL, and tests to make sure the conversions work.
2015-10-22 22:17:35 -07:00
Alain Jobart
5d0b747661
Adding the 'serving' flag to StreamHealthCheck.
2015-10-12 12:05:43 -07:00
Ammar Aijazi
6df8aa6133
Remove RPCError from proto3 responses where it's unused
2015-09-17 15:15:59 -07:00