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

18 Коммитов

Автор SHA1 Сообщение Дата
Anthony Yeh 04f9e79bbc Rewrite imports for golang subrepositories.
As per this announcement:
https://groups.google.com/forum/m/#!msg/golang-announce/eD8dh3T9yyA/HDOEU_ZSmvAJ
2014-12-14 12:48:10 -08:00
Ammar Aijazi 72a6bc4bf5 Convert worker to use tabletserver/tabletconn instead of using hard-coded BSON rpc 2014-11-18 11:00:10 -08:00
Peter Lobsinger 0492ec3cec Eliminate vtcontext.Context.
Everything should use go.net Context now.
2014-11-10 20:24:21 -08:00
Anand Henry 06af2f2f09 Vitess MapReduce: Create multiple splits per shard
Currently GetMRSplits creates one split per shard. This change allows
for further splitting within a shard for better parallelism in mappers.
Splits within a shard are created by appending primary key range clauses
to the shard level query.

Changes:
Added SplitQuery RPC to VtTablet
Modified GetMRSplits to accept SQL queries instead of Table and columns
GetMRSplits forwards the query to tablet for splitting via scatterConn
Unit tests
2014-10-06 09:15:19 -07:00
Sugu Sougoumarane 9bc0166ffd change StreamExecute API to differentiate send errors.
The ErrFunc cannot be reliably used to check for rpc
send errors because the sender goroutine can race against
the call to set the error to a streaming error.
So, we're changing the function to return an explicit
error to indicate if the rpc has failed.
There is a deeper problem with rpcplus where it doesn't
have the same behavior. The rpcplus API returns a channel
immediately, and sets the error variable later if the send
failed. We need to change this behavior in the go client API
before we can benefit from this.
2014-10-03 14:25:57 -07:00
Anand Henry cc6853b41e Refactor VTGate to use Context interface
Keep last error context in EndPointsCacheStatus
2014-07-09 12:44:11 -07:00
Liang Guo 365cffff08 Revert VTGate protocol independent change 2014-07-01 11:47:59 -07:00
Alain Jobart c0a0ee46a0 Few more tweaks to vertical split clone:
- can now read a table in multiple chunks based on primary key ranges.

- added parameters for all interesting values.

- limit source concurrency with a semaphore.
2014-06-30 17:21:16 -07:00
Liang Guo 3037c079a9 Format some go files 2014-06-26 10:28:34 -07:00
Liang Guo 95085c3b3e Fix for vtgate and tabletconn 2014-06-25 15:46:07 -07:00
Liang Guo 36436fa2b5 Add comments for public func 2014-06-24 11:53:55 -07:00
Liang Guo 51ed064282 VTGate service side converts queryresult if protocol does not match 2014-06-24 11:27:45 -07:00
Liang Guo 4cd5a119ca Make tablet_conn interface protocol independent 2014-06-23 11:33:26 -07:00
Liang Guo 11baabf7d1 Move datahandle files to tabletconn 2014-06-23 11:06:02 -07:00
Liang Guo 74834c0c4e Use tablet_connection flag to determine data handler (WIP) 2014-06-20 16:44:21 -07:00
Liang Guo 183ee58a30 Adding timeout support in VTGate 2014-02-18 23:40:21 -08:00
Alain Jobart 42ec640375 Now forwarding the context through vtgate. 2014-01-29 12:45:38 -08:00
Alain Jobart c71c5a1b33 Moving client side of queryservice to its own lib. 2014-01-28 16:26:45 -08:00