Sugu Sougoumarane
16f50123f2
tabletserver: fetch memcached path from vttest
...
The path was previously hardcoded in a non-customizable file. It's
now moved to environment.go.
2015-09-26 11:57:58 -07:00
Anthony Yeh
e56c61e389
Merge pull request #1143 from enisoc/java-test
...
java: Add @RunWith annotation on new tests.
2015-09-25 23:43:49 -07:00
Anthony Yeh
99d6a1f72c
java: Add @RunWith annotation on new tests.
2015-09-25 22:36:22 -07:00
sougou
39c15b0bad
Merge pull request #1141 from youtube/suguwork
...
tabletserver: first end to end test in go
2015-09-25 16:47:25 -07:00
Anthony Yeh
5be1349b6c
Merge pull request #1142 from enisoc/php-grpc
...
php: Generate gRPC service stubs from protobuf.
2015-09-25 16:36:11 -07:00
Anthony Yeh
65d6dbb082
php: Generate gRPC service stubs from protobuf.
...
I followed the instructions here:
http://www.grpc.io/docs/installation/php.html
Then used the protoc-gen-php built in that process to generate stubs for
our protos.
2015-09-25 16:31:27 -07:00
Sugu Sougoumarane
1d51566fe1
tabletserver: first end to end test in go
2015-09-25 15:26:20 -07:00
Anthony Yeh
e9011e1d3f
Merge pull request #1140 from enisoc/php-grpc
...
php: Proof-of-concept protobuf generation.
2015-09-25 12:24:29 -07:00
Anthony Yeh
58022fd9d4
php: Proof-of-concept protobuf generation.
...
There is no proto3 compiler for PHP yet, but the wire format of proto3
is backward-compatible with proto2. To avoid maintaining two copies of
our proto files, we use a translator to make the simple syntax changes
necessary to work in PHP's proto2 compiler.
Service stubs are not generated, since I haven't plugged in gRPC yet.
2015-09-25 12:02:13 -07:00
sougou
44f99b637b
Merge pull request #1138 from youtube/suguwork
...
tabletserver: queryctl revamp
2015-09-25 11:45:56 -07:00
Sugu Sougoumarane
338dc8cc50
Merge branch 'master' into suguwork
2015-09-25 10:48:53 -07:00
Andy Diamondstein
3a1e7664c2
Merge pull request #1139 from AndyDiamondstein/master
...
Add favicon.ico to match home page logo. This is visible in the brows…
2015-09-25 13:44:22 -04:00
Sugu Sougoumarane
25442d61b8
tabletserver: queryctl review comments addressed
...
I've also renamed queryctl.go to config.go, because what's left
is mostly Config. The Controller interface is still there. We
could move it to tabletserver.go, or leave it config.go.
For now, I haven't moved it.
2015-09-25 10:20:24 -07:00
Andy Diamondstein
51b54acaf1
Add favicon.ico to match home page logo. This is visible in the browser tab next to the doc title to help users identify the tab contents when the tab isn't active. Clean up _layouts directory by removing unused files, standardizing template names, removing duplicates. Update docs to use renamed files (doc vs. new_docs). Remove unused CSS, JS files. Minor CSS/JS fixes.
2015-09-25 13:12:28 -04:00
Sugu Sougoumarane
0b821c71ea
queryctl: QueryServiceControl -> Controller
2015-09-25 00:40:57 -07:00
Sugu Sougoumarane
1bda6839c8
Merge branch 'master' into suguwork
2015-09-24 21:53:18 -07:00
Sugu Sougoumarane
81af6079b0
tabletserver: queryctl revamp
...
queryctl was initally created because TabletServer could not
export non-rpc functions. Otherwise, the go rpc framework would
complain about those functions.
However, this has changed because we now have rpc-specific adapters.
So, this means that TabletServer can export any function it pleases.
This has made the objects in queryctl redundant.
This change pushes those thin wrappers straight into TabletServer.
Also, I've moved the mocking interface into its own package. This
prevents test code from intermixing with normal code.
There's not much left in queryctl. So, I'm currently debating if it
should remain as a file. I'm leaving it there for now.
2015-09-24 21:38:34 -07:00
Anthony Yeh
ca2e7b7068
Merge pull request #1137 from enisoc/java-client
...
Add Cursor to new Java client and use SQLException
2015-09-24 18:42:43 -07:00
Anthony Yeh
22c34d66f5
java: Add CursorTest.
2015-09-24 16:40:37 -07:00
Sugu Sougoumarane
97c0b39baa
queryctl: remove checkMySQL global
2015-09-24 16:38:07 -07:00
Anthony Yeh
bb3286bf9f
java: Add Cursor to new Java client and use SQLException.
...
This provides translation of reult row data into native Java types.
It's a slightly different design than Cursor in the old client, which
was more like an iterator. This one is more like a JDBC ResultSet.
I didn't call it a ResultSet because it doesn't implement the full
interface.
I also switched from custom exceptions to using the SQLException
hierarchy. It should have most of the error categories we need, and if
necessary we can add new exceptions as sub-categories. That way,
managing errors and retries should be much more similar to what someone
might be used to with JDBC.
2015-09-24 15:24:06 -07:00
Alain Jobart
1d5b551660
Merge pull request #1136 from alainjobart/resharding
...
vtcombo next step, now KeyspaceIds queries should work.
2015-09-24 10:54:44 -07:00
Alain Jobart
01d6e62ecb
The query rules are not a global variable any more.
...
It's prettier this way, and doesn't mess us vtcombo.
2015-09-24 10:44:41 -07:00
Alain Jobart
67bcb09b87
Fixing a few vtcombo-related things:
...
- now rebuild serving graph in vtcombo to allow range queries.
- adding vtctl VtGateExecuteKeyspaceIds command.
- added an 's' to vtctl VtGateExecuteShard to be consistent.
- pass in an empty Session to Begin in vtcombo, otherwise panics.
2015-09-24 10:44:41 -07:00
Alain Jobart
0f67e8567f
Small fix so vtagte_addr() works.
2015-09-24 10:44:41 -07:00
Anthony Yeh
5169056cdc
Merge pull request #1135 from enisoc/exit
...
Fix package comment in go/exit.
2015-09-24 10:30:31 -07:00
Anthony Yeh
83018dc317
Merge branch 'master' into exit
2015-09-24 10:06:27 -07:00
Andy Diamondstein
cc0b90da24
Merge pull request #1134 from AndyDiamondstein/master
...
Migrate site to use SASS instead of LESS. SASS is a CSS preprocessing…
2015-09-24 12:32:23 -04:00
Anthony Yeh
568f2d27f7
Fix package comment in go/exit.
...
Fixing the formatting of the comment to work around a tooling bug.
Also taking another edit pass at the docs while I'm at it.
2015-09-24 09:11:24 -07:00
Andy Diamondstein
ce6af467e0
Migrate site to use SASS instead of LESS. SASS is a CSS preprocessing language. Using SASS lets us remove a JS file dependency, so there could be a slight latency improvement for end users. This change also combines two style sheets to one, also possibly yielding a slight latency improvement. The template change widens the area in which the title can display in the masthead to around 75% of the page width. This is basically to increase the likelihood that the title does not wrap to a second line.
2015-09-24 11:00:27 -04:00
Liang
4e8c7a227f
Merge pull request #1132 from youtube/osgateway
...
Make endPointToMapKey public.
2015-09-23 22:55:05 -07:00
Liang
7b60bbf451
Merge branch 'master' into osgateway
2015-09-23 22:39:40 -07:00
Ammar Aijazi
0e8210aa9e
Merge pull request #1111 from aaijazi/aaijazi_single_gitignore
...
Get rid of directory-specific .gitignores in favor of a single global .gitignore
2015-09-23 17:48:10 -07:00
Ammar Aijazi
80f7c7072a
Merge branch 'master' into aaijazi_single_gitignore
2015-09-23 17:23:40 -07:00
Liang Guo
6895819321
Make endPointToMapKey public.
2015-09-23 16:22:10 -07:00
Ammar Aijazi
8e41e173ef
Merge pull request #1126 from aaijazi/aaijazi_bug_fixes
...
vtdb.tablet client uses error codes instead of string parsing
2015-09-23 16:14:12 -07:00
Ammar Aijazi
52386a087d
Make Travis cache the entire grpc/lib folder
2015-09-23 16:00:50 -07:00
Ammar Aijazi
4b448971b3
Fix dev.env for global gRPC installs
2015-09-23 15:58:59 -07:00
Ammar Aijazi
4cba9d02c1
vtdb.tablet client uses error codes to return errors instead of string parsing
2015-09-23 15:58:59 -07:00
Ammar Aijazi
37e433fafe
Clean up some small things for error handling
2015-09-23 15:58:59 -07:00
Anthony Yeh
08a1706bcc
Merge pull request #1131 from enisoc/java-client-test
...
java: Don't require VTROOT in base RpcClientTest.
2015-09-23 14:46:36 -07:00
Anthony Yeh
b349a693e7
java: Don't require VTROOT in base RpcClientTest.
...
Some subclasses may not need VTROOT, so we shouldn't require it to be
found successfully at the base class level.
2015-09-23 14:17:49 -07:00
Alain Jobart
6668ad386d
Merge pull request #1130 from alainjobart/resharding
...
vtcombo initial addition.
2015-09-23 13:44:25 -07:00
Alain Jobart
da0f6e58ef
Fixed parameter I removed.
2015-09-23 13:10:26 -07:00
Alain Jobart
d3c42c0941
Adding support for vtcombo in vttest framework.
2015-09-23 13:10:26 -07:00
Alain Jobart
cd4f03dec0
Fixing dbconfig name, implementing rest of tabletconn.
2015-09-23 13:10:26 -07:00
Alain Jobart
8efc861504
WIP on vtcombo: queries now work, if they don't need a db name.
2015-09-23 13:10:26 -07:00
Alain Jobart
2de51bf1d7
First pass at vtcombo. Few things need to be worked out still.
2015-09-23 13:10:26 -07:00
Erez Louidor
549457870c
Merge pull request #1103 from erzel/master
...
Making vtgate add annotations to DML statements.
2015-09-23 13:07:35 -07:00
Ammar Aijazi
1fbe779d56
Merge branch 'master' into aaijazi_single_gitignore
2015-09-23 12:34:52 -07:00