Shengzhe Yao
4cb2f6f28e
Make sure QueryExecutor.execSQL always use given wantfields
2015-07-22 00:06:01 -07:00
sougou
5794818bc3
Merge pull request #900 from youtube/suguwork
...
vtgate batch API: core functionality
2015-07-21 20:46:42 -07:00
Sugu Sougoumarane
36a75b5869
vtgate batch: core functionality
...
Some tests are also done. But more are needed, which
will be added as the rest of the functions are wired in.
2015-07-21 14:02:32 -07:00
Anthony Yeh
8e5c301023
Merge pull request #899 from enisoc/reparent
...
Add more info about old master in reparent event.
2015-07-21 13:23:35 -07:00
Anthony Yeh
03cb2bbc2b
Remove unused fast_external_reparent flag.
2015-07-21 11:47:33 -07:00
Anthony Yeh
afa1336157
Add more info about old master in reparent event.
...
We only populate partial info on the old master at the beginning,
based on what's available without extra topo queries. Later, we do
need to fetch the old master's record, so let's take the opportunity
to update the info for all subsequent dispatches.
2015-07-21 11:40:13 -07:00
Alain Jobart
bc7979a1dd
Merge pull request #898 from alainjobart/resharding
...
Resharding
2015-07-21 10:51:21 -07:00
Shengzhe
97f54512ff
Merge pull request #897 from yaoshengzhe/fix_tableacl_get_current_config
...
add GetCurrentConfig func in tableacl
2015-07-21 10:01:15 -07:00
Shengzhe Yao
80e09ae52b
add GetCurrentConfig func in tableacl
...
this makes other components be able to verify the current tableacl configuration.
2015-07-21 09:55:16 -07:00
Alain Jobart
fc0eb90919
Merge branch 'master' into resharding
2015-07-21 09:34:49 -07:00
Alain Jobart
2403aa2dc4
Adding service map to vtgate, gRPC test now passes.
2015-07-21 09:34:17 -07:00
Alain Jobart
00325a3d97
Adding glue for gRPC service in vtgate.
2015-07-21 09:07:34 -07:00
Alain Jobart
e5bc509f07
Finishing gRPC vtgate client / server.
2015-07-21 08:43:07 -07:00
Alain Jobart
842b233ed6
First pas at vtgate gRPC client/server. Not finished yet.
2015-07-20 15:40:09 -07:00
jeffjiang
b30fadb260
Merge pull request #894 from guokeno0/master
...
Context support for CallerID and Add CallerID to the Contexts of new VTTablet RPCs
2015-07-20 14:55:25 -07:00
Liang
c0ab48c4b5
Merge pull request #896 from youtube/vtgatecode
...
Fix race condition in RandTicker
2015-07-20 14:06:08 -07:00
Liang Guo
a7becc5167
Fix race condition in RandTicker
2015-07-20 13:59:21 -07:00
Jeff (Zhefu) Jiang
e3cb4e78e0
fix test comments
2015-07-20 13:47:20 -07:00
Jeff (Zhefu) Jiang
ae04743ced
Fix test printings
2015-07-20 13:44:03 -07:00
Jeff (Zhefu) Jiang
2991a9d6d9
fix comments
2015-07-20 13:39:33 -07:00
Jeff (Zhefu) Jiang
f3201f6625
Use proto3 types for all CallerIDs
2015-07-20 13:35:30 -07:00
Jeff (Zhefu) Jiang
bd35d9ad8f
add test for nil callerid receivers
2015-07-20 12:05:23 -07:00
Jeff (Zhefu) Jiang
ee30a34b96
fix comments
2015-07-20 11:55:46 -07:00
Jeff (Zhefu) Jiang
df46522211
change to CallerIDs to use proto3 types
2015-07-20 11:47:30 -07:00
Alain Jobart
27ce6f86e5
Merge pull request #895 from alainjobart/resharding
...
Resharding
2015-07-20 10:57:31 -07:00
Alain Jobart
3bde13bee2
Adding missing split_column to a whole bunch of APIs.
2015-07-20 10:50:49 -07:00
Jeff (Zhefu) Jiang
c0f8be01f5
Merge remote-tracking branch 'upstream/master'
2015-07-20 10:35:12 -07:00
Alain Jobart
b7eac53a03
Adding split_column to vtgate API.
2015-07-20 10:24:31 -07:00
Alain Jobart
7755349b47
First pass at better low level python client.
2015-07-20 08:56:13 -07:00
Alain Jobart
e544bfa42e
Fixing more linter errors.
2015-07-20 07:35:17 -07:00
Alain Jobart
f0ca85ca00
Fixing linter errors in these files.
2015-07-20 07:32:43 -07:00
Alain Jobart
9654107b7e
Changing vtagte's streaming call to also return an immediate error.
2015-07-20 07:11:31 -07:00
Alain Jobart
ad4f444a75
Fixing case of tablet_type in protos.
2015-07-20 06:54:12 -07:00
Shengzhe
80eda4905e
Merge pull request #889 from yaoshengzhe/fix_tableacl_proto_and_first_implementation
...
add tableacl proto and refactor go/vt/tableacl
2015-07-19 23:11:30 -07:00
Shengzhe Yao
2814466f00
add tableacl proto and refactor go/vt/tableacl
...
In short, the tableacl configuration will be represented as a
tableacl.proto. tableacl module holds a global "currentACL" instance
which maps a table group to its ACLs.
1. Introduce tableacl.proto which defines acl per table group.
A table group either contains only one table or many tables
that share the same name prefix.
2. Remove "All" and "AllString" funcs from acl.Factory interface.
2015-07-19 22:30:42 -07:00
Sugu Sougoumarane
a0bae4cf0c
vtgate batch API: scatterBatchRequest
...
Created a new scatterBatchRequest which will be the foundation
for all batch queries in ScatterConn. All vtgate batch requests
will be converted to this data structure which describes the batch
queries that need to be sent to each keyspace:shard, and how those
results should be merged into the final result.
Also implemented the conversion function from []BoundShardQuery to
the above data structure.
2015-07-19 04:37:12 -07:00
sougou
0f9590bfcc
Merge pull request #891 from youtube/suguwork
...
AsTransaction flag for batch APIs
2015-07-17 23:05:51 -07:00
Michael Berlin
238b351889
Merge pull request #886 from michael-berlin/fix_healthcheck_vtworker
...
When unhealthy, do not shutdown the queryservice if the tablet's type is "worker".
2015-07-17 16:28:26 -07:00
Jeff (Zhefu) Jiang
81c2270c8d
Add nil test cases
2015-07-17 15:16:03 -07:00
Jeff (Zhefu) Jiang
b71335b3f1
Change return value of xxxIDFromContext()
2015-07-17 15:02:09 -07:00
Jeff (Zhefu) Jiang
4c78120a23
fix format
2015-07-17 14:50:50 -07:00
Jeff (Zhefu) Jiang
4fc49fed6f
Add callerid to gRPC and BSON
2015-07-17 14:43:32 -07:00
Alain Jobart
bcc429a4dc
Merge pull request #893 from alainjobart/resharding
...
Fixing various typos and comments.
2015-07-17 14:42:32 -07:00
Alain Jobart
115609719c
Merge pull request #892 from alainjobart/replication
...
Fixing test flakiness.
2015-07-17 14:42:19 -07:00
Alain Jobart
20c28a24de
Fixing various typos and comments.
2015-07-17 14:38:33 -07:00
Alain Jobart
76166745a5
Fixing test flakiness.
2015-07-17 14:07:48 -07:00
Alain Jobart
d66ae6486d
Merge pull request #888 from alainjobart/resharding
...
Resharding
2015-07-17 11:20:38 -07:00
Alain Jobart
b2a09f8f4b
Merge branch 'master' into resharding
2015-07-17 11:06:41 -07:00
Alain Jobart
c04a3f0a27
Adding rpc updatestream implementation.
...
It is still flaky, especially with cancellation.
2015-07-17 11:02:00 -07:00
Jeff (Zhefu) Jiang
415f1b201a
fix comments
2015-07-17 10:59:55 -07:00