Граф коммитов

11 Коммитов

Автор SHA1 Сообщение Дата
Alain Jobart 21065d11b2 Changing query.Field.column_length to uint32.
That's what the actual protocol size for the field is. Also documenting
the other fields, as they are uint16 or uint8 in the protocol.
And rebuilding all proto docs too.
2017-01-11 08:46:43 -08:00
Bryan Beaudreault 41ab6fb544 Optionally send additional C API fields through in responses
Removes exclude_field_name from ExecuteOptions, replacing with an
IncludedFields enum. Enum values allow specifying whether to return
all fields, just type and name (default), or just type (perf optimization)
Adds and updates tests
2017-01-05 22:02:54 -05:00
Alain Jobart 2eb97aaae7 New etcd 'etcd2' topology client implementation.
The new etcd2 topology service is the new more consistent version of the
etcd topology. It has the following improvements:

- Uses the same file structure as zk2topo. It then also uses the generic
  vtctld.Explorer as well.

- Uses the new etcd clientv3 library, with new key-value API and leases.
  It is not backwards compatible with the old etcd topology.

- Uses a configurable toplevel directory for topology data in global and
  local cells.

Vitess 2.1 will still include the old etcd topology client, but it will
be deprecated, and removed from Vitess 2.2. Use topo2topo binary to
upgrade, see documentation.

Implementation details:
- bootstrap.sh now downloads etcd.
- etcd is used in unit tests of the library, instead of using a mock.
- Fixing wrangler.InitTablet error return.
  And adding -allow_update to test calls, so they work anyway.
- Running tabletmanager.py for zookeeper, zk2, etcd, etcd2 flavors.
- Ignoring the 'test' tag for vendored libraries. See:
  https://github.com/kardianos/govendor#ignoring-build-tags-and-excluding-packages
- in end-to-end tests, restarting etcd to wipe it.
- publish web site.
2016-12-28 07:02:37 -08:00
thompsonja 981a1bc48b Update worker tablet type to drained in vtctld / docs (#2187)
Update worker tablet type to drained in vtctld / docs
2016-11-01 11:30:22 -07:00
Alain Jobart c696236b16 Regenerating docs. 2016-09-15 14:45:16 -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
Alain Jobart 2f05afec43 Removing SrvShard. 2016-05-18 07:47:20 -07:00
Alain Jobart 552ba12280 Re-generating the doc. 2016-05-11 07:50:12 -07:00
Andy Diamondstein 9ab9f55345 Include updated error information in doc. 2015-09-01 11:14:55 -04:00
Andy Diamondstein c796c07448 Add Vitess API documentation and script for generating documentation from code. Modify left nav to list link to API document. Change "Range Based Sharding" to "Range-based Sharding" in .proto file. 2015-09-01 11:13:33 -04:00