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

23 Коммитов

Автор SHA1 Сообщение Дата
Harshit Gangal 0223eb01b9 proto changes for prepare and closeSession vtgate api
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
2021-05-31 13:05:02 +05:30
Sugu Sougoumarane 186247f9a2 deprecation: delete v2 api code and tests
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-03-23 16:38:37 -07:00
Sugu Sougoumarane c73d6dd336 deprecation: delete UpdateStream code
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-03-16 20:49:51 -07:00
Sugu Sougoumarane 3f7839ecac deprecation: delete SplitQuery code
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-03-16 20:49:14 -07:00
yuxiaobo f886cc2681 add license in helm/misc/proto
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2019-10-21 17:35:53 +08:00
Sugu Sougoumarane 0b59741632 vstream: RPC scaffolding
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2019-05-13 20:30:35 -07:00
SataQiu 139b49e351 fix spelling mistake: conjonction -> conjunction
Signed-off-by: SataQiu <qiushida@beyondcent.com>
2019-04-17 11:59:27 +08:00
David Weitzman 3c64a22828 Upgrade golang protobuf to v1.1.0
Also, simplify the protoc call by removing some intermediate tools and steps involving the python grpcio-tools wrapper.
The motivation for changing the build was that I had trouble getting the old build to work. It might just have been me.
This approach is arguably simpler because it involves fewer tools, no temp files, and no calling "sed" on the output.

Signed-off-by: David Weitzman <dweitzman@pinterest.com>
2018-06-13 20:13:05 -07:00
Sugu Sougoumarane 0b7933cc88 messages: MessageAckKeyspaceIds
There is a need for a V2 level API for message acks.

BUG=38423920
2017-05-25 13:38:11 -07:00
Sugu Sougoumarane 7af23e1dde license: BSD->Apache v2.0
Please refer to #2694 and #2670 for motivation and reasoning for
this change.

I've tried to follow best practice in inserting the copyright
headers. In other open source projects, not all files carry
the notice. For example documentation doesn't. I've followed
similar ground rules.

I did not change the php because there is a separate LICENSE
file there by Pixel Federation. We'll first need to notify
them our intent before changing anything there.

As for the presubmit check, it's going to be non-trivial
because of the number of exceptions, like file types,
directories and generated code. So, it will have to be
a separate project.
2017-05-06 00:38:56 -07:00
Sugu Sougoumarane 686df3e5e7 v3: reorganize functions and parameters
Grouped V3 and legacy functions separately and reorganized
v3 functions to have session next to the context.
2017-05-05 01:46:11 -07:00
Michael Berlin 21515f5c1a java: Move all generated protobufs under io.vitess.*.
I've updated the code with a simple search and replace.

I also had to run "make proto" and regenerate the Python protobuf files because they include the Java class name in the generated code.
2017-03-30 19:51:02 -07:00
Sugu Sougoumarane 16320b42ed messages: WIP
VTGate gRPC
2017-01-23 17:03:27 -08:00
harshit-gangal 020530835b VTGate - Execute Batch V1 (#2304)
* Initial Changes

* Flow till router

* fixed test

* Code Refactor

* Adding QueryResponse type

* Resolved proto

* proto changes

* Revert "proto changes"

This reverts commit 736bc378b76853f2b5ab77ad3e850f3aa890d858.

* Comment changes

* fixed test

* Incorporated Comments
2016-12-19 23:29:19 -08:00
Sugu Sougoumarane ed1f2c53d8 2pc: export ResolveTransaction in grpc 2016-11-14 08:54:49 -08:00
Alain Jobart b48a84ca64 Adding UpdateStream API to vtgate.
The vtgate API takes a starting timestamp, or a starting EventToken. It
will only use the starting EventToken if it's relevant. This is mostly
for tests, but could be used by real clients too to avoid the timestamp
search on the servers.

The only restriction in the vtgate routing implementation is that a
query can only end up on one shard. The stream aggregation code inside
vtgate will be added later.

This change includes:
- proto changes.
- implementing the server side interface.
- implementing the client side interface.
- adding a vtctl VtTabletUpdateStream command to stream from a given
  tablet. This is used in end-to-end tests.
- using the python vtgate_client update_stream API in all end-to-end
  tests.
- removing the python vttablet direct stream_update API.
- vtgate now better preserves remote errors through its API now, as
  withSuffix and withPrefix will preserve the error codes of all
  VtError, not just *VitessError.
- Also adding callerid vtgateclienttest tests for all API calls.
2016-09-08 07:44:41 -07: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
Alain Jobart 635323043e Adding comments to the proto definition, and API groups. 2015-08-28 11:08:50 -07:00
Shengzhe Yao e99e9b761d add java client and grpc
1. define rules in the Maven build files to compile the data protos at build time.
2. define a new vtgate service interface that uses the proto3 data structures and
   defines an abstract service.
2015-07-31 22:16:25 -07:00
Alain Jobart 766c52b88e Adding GetSrvKeyspace to vtgate API. 2015-07-28 15:55:06 -07:00
Alain Jobart eac090cd50 Renaming a few proto files. Turns out the proto we use in google3
cannot have the same <package name>.<data type> as these, or we cannot
load them at the same time. So to fix this:
- renaming the conflicting ones from xxx.proto to xxxdata.proto.
- renaming vtgateservice.VTGate to vtgateservice.Vitess

Note we can still change the names I chose here, just not back to
conflicting ones. If anyone has better ideas, we can implement
in subsequent changes. This is to get the import to google3 unstuck.
2015-06-19 08:20:58 -07:00
Alain Jobart 229f252570 Splitting vtgateservice into structures and services. 2015-06-10 09:22:08 -07:00
Alain Jobart c2742b3a3d Adding vtgateservice proto. 2015-06-09 10:32:25 -07:00