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

9 Коммитов

Автор SHA1 Сообщение Дата
Sugu Sougoumarane 7ae31aa871 protos: rest of the protos renamed to ...pb 2015-11-19 22:03:19 -08:00
Sugu Sougoumarane 3a9476137b tabletserver: lint & vet fixes 2015-10-17 22:27:45 -07:00
Ammar Aijazi 0d93c9912f Add unit tests for some vtgate error handling logic 2015-09-11 15:13:55 -07:00
Sugu Sougoumarane ea6e616a61 tabletserver: SqlQuery -> TabletServer
This rename addresses most lint errors in tabletserver.
The last one left is GetSessionId, which will go away once
we migrate to the target-based API.
I've left the bson functions alone to honor any possible legacy
usage. They will also go away as we deprecate those protocols.
As for grpc, I see that the service is already named Query, which
seems fine. I'm not sure if it's worth renaming it. We should talk
about it. So, that part is also unchanged for now.
2015-09-03 23:21:30 -07:00
Ammar Aijazi f8fb95ef83 Fix some golint errors; Sql => SQL 2015-08-30 17:04:40 -07:00
Ammar Aijazi 7a998a49ba Add vtrpc.ErrorCodes to TabletErrors everywhere 2015-08-25 18:26:13 -07:00
Shengzhe Yao f7b469540a remove queryservice global stats variables
1. remove global stats variables defined in query_engine.go.
2. introduce QueryServiceStats struct to be a holder of these stats.
3. use a dependency injection way to push QueryServiceStats instance from
   QueryEngine to ConnPool, DBConn, TxPool, etc.
2015-04-29 14:59:50 -07:00
Sugu Sougoumarane 9a8f8b8a35 tabletserver: verbose error for killed queries 2015-04-23 15:35:32 -07:00
Shengzhe Yao 2be9fc5762 add tablet error unit test 2015-04-20 13:47:36 -07:00