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

23 Коммитов

Автор SHA1 Сообщение Дата
Harshit Gangal 32f1daaf9b tabletserver to map cluster operation failures with cluster_event error code. Vtgate buffer logic to respond to cluster_event error code,
updated the reserved connection logic, fixed all the unit tests and end to end test, add the new error code to all the necessary places

Signed-off-by: Harshit Gangal <harshit@planetscale.com>
2021-08-20 14:13:51 +05:30
Manan Gupta 50a5b8c03c introduced cluster_operation as a new error code in vtrpc
Signed-off-by: Manan Gupta <manan@planetscale.com>
2021-08-19 23:07:49 +05:30
Andrew Mason 6e4d6f0536 Remove vtrpc.LegacyErrorCode
It has been "legacy" for 4 years now, so it should be safe to just drop.

Signed-off-by: Andrew Mason <amason@slack-corp.com>
2021-08-19 11:23:41 -04:00
Rohit Nayak b7ced6123e
Initial changes for blacklist to denylist
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
2021-08-17 11:07:03 +02:00
yuxiaobo f886cc2681 add license in helm/misc/proto
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2019-10-21 17:35:53 +08:00
chentanjun 1a43e41322 fix-up typo
Signed-off-by: chentanjun <2799194073@qq.com>
2019-08-26 11:28:06 +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 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
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 ceaddb1f12 vterrors: simplify API
Also delete TabletError
2017-02-22 17:14:48 -08:00
Sugu Sougoumarane f91a867f04 vterrors: misc
* Renamed old error names to legacy.
* Changed all clients to handle legacy and new codes.
* Added tests for the conversions.
2017-02-22 17:14:48 -08:00
Sugu Sougoumarane 9855595bdc vterrors: use new vtrpcpb.Code everywhere
vtrpcpb.ErrorCode is used only at the grpc boundary for
legacy purposes.
2017-02-22 17:14:48 -08:00
Sugu Sougoumarane d3bb900514 vterrors: introduce vtrpcpb.Code
Created the Code enum to match grpc error codes, and renamed
all previous error codes to not have a name clash. Also renamed
The older field to LegacyCode.
2017-02-22 17:14:48 -08:00
Michael Berlin e7cc432515 vterrors: Fix spelling issues. 2016-04-08 11:02:02 -07:00
Ammar Aijazi 11d903f17b Queryservice server-side changes needed for using vtrpc.ErrorCodes 2015-08-29 17:47:42 -07:00
Ammar Aijazi 01c80f7307 Add an additional error code, and fix the error codes for ACL denied 2015-08-25 18:31:38 -07:00
Ammar Aijazi 7a998a49ba Add vtrpc.ErrorCodes to TabletErrors everywhere 2015-08-25 18:26:13 -07:00
Ammar Aijazi 572decc1f1 More course-grained Vitess errors 2015-08-05 22:34:04 -07:00
Ammar Aijazi ae99549064 Added better documentation to Vitess error proto 2015-08-03 18:31:01 -07:00
Ammar Aijazi 6f481919a2 Reworked Vitess error codes 2015-08-03 16:11:39 -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 ee1a57f664 Adding full version of tabletmanager.proto, fixed. 2015-06-09 11:34:54 -07:00
Alain Jobart a6d79f30d8 Adding vtrpc.proto, using it in queryservice.
(defines CallerID and RPCError).
2015-06-09 09:43:50 -07:00