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
Jeff (Zhefu) Jiang
c0f8be01f5
Merge remote-tracking branch 'upstream/master'
2015-07-20 10:35: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
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
Sugu Sougoumarane
adf5cef13a
vttablet: ExecuteBatch implementation
...
Looks like there are no integration transaction tests for
ExecuteBatch vttablet. I'm not going to add them since
vttablet will be an internal API. I'll instead add them
for vtgate when that implemenation completes.
2015-07-17 05:23:49 -07:00
Sugu Sougoumarane
a89285b69c
vttablet: AsTransaction for ExecuteBatch
...
As mentioned in the previous change, changing the vttablet
batch API to accept an AsTransacton flag.
Implementation and test changes will follow.
2015-07-17 04:14:33 -07:00
Jeff (Zhefu) Jiang
bcd0255783
Merge remote-tracking branch 'upstream/master'
2015-07-17 02:43:48 -07:00
Jeff (Zhefu) Jiang
3f0134cef0
CallerID implemented
2015-07-17 02:42:55 -07:00
Sugu Sougoumarane
db492fa34a
Merge branch 'master' into suguwork
2015-07-17 00:45:02 -07:00
Michael Berlin
08a9b9c802
healthcheck: Simplify vtworker exception from queryservice shutdown logic.
2015-07-16 18:04:40 -07:00
Alain Jobart
0f5c7562bb
Moving all python proto-generated files into py/vtproto.
2015-07-16 14:07:11 -07:00
Alain Jobart
a48247cd63
Refactoring update_stream python client.
...
Uses a protocol implementation class now.
2015-07-16 12:51:59 -07:00
Alain Jobart
31f7b88330
Fixing a couple typos.
2015-07-16 11:27:27 -07:00
Michael Berlin
3de9bdb49e
Merge pull request #887 from michael-berlin/fix_typos_and_outdated_comments
...
Fix typos and outdated comments
2015-07-16 11:19:46 -07:00
Alain Jobart
e4f4af8fe3
Merge branch 'master' into resharding
2015-07-16 10:00:16 -07:00
Alain Jobart
0b17e2f681
Refactoring the python vtctl_client to use a generator,
...
and a helper method to do the logging.
2015-07-16 09:59:01 -07:00
Shengzhe
a0a62a77c6
Merge pull request #884 from yaoshengzhe/fix_improve_proto_make_script
...
simplify proto generate command
2015-07-16 08:39:39 -07:00
Alain Jobart
72b8c89592
Merge branch 'master' into resharding
2015-07-16 08:36:59 -07:00
Michael Berlin
2cace7bdb0
Replace "checker" tablet type with "worker" in comments everywhere.
2015-07-15 18:11:07 -07:00
Jeff (Zhefu) Jiang
d23c20999e
Merge remote-tracking branch 'upstream/master'
2015-07-15 18:01:36 -07:00
Jeff (Zhefu) Jiang
5edd2a75f8
CallerID package for context manipulation
2015-07-15 18:00:22 -07:00
Michael Berlin
770bf15721
Fix typo (heath -> health).
2015-07-15 17:47:43 -07:00
Shengzhe Yao
d4ce73af03
simplify proto generate command.
...
Use single line shell command to generate proto file instead of
hard coding command for each proto.
Steps:
1. list all proto files.
2. remove 'proto/' prefix and '.proto' suffix.
3. run protoc for each proto and put in go/vt/proto/${proto_file_name}
2015-07-15 17:42:21 -07:00
Michael Berlin
9ef0690d03
When unhealthy, do not shutdown the queryservice if the tablet's type is "worker".
...
Otherwise, vtworker SplitClone would not succeed for larger datasets: When setting a source tablet to "worker", vtworker would get shut out from reading from it.
Added integration test which verifies the correct behavior.
2015-07-15 17:34:35 -07:00
Anthony Yeh
7f4856f82e
Merge pull request #885 from enisoc/vtctld-actions
...
web/vtctld: Hook up actions in new interface.
2015-07-15 17:32:53 -07:00
Michael Berlin
5c2a0b59a5
tabletmanager.py: Use vtctl Start/StopSlave commands instead of going to the database directly.
2015-07-15 17:29:39 -07:00
Michael Berlin
82ed4733f5
tabletmanager.py: Moved waiting for the tablet type change into a helper function.
2015-07-15 17:28:54 -07:00
Michael Berlin
e23add0771
Fix typo.
2015-07-15 17:22:34 -07:00
Michael Berlin
fa6138c231
Merge pull request #882 from michael-berlin/log_pid_tablet_id
...
test: Log for each tablet its alias, pid and a shell pattern to the l…
2015-07-15 16:54:11 -07:00
Anthony Yeh
7788ad1517
web/vtctld: Hook up actions in new interface.
2015-07-15 16:12:13 -07:00
Alain Jobart
42d9f7fb18
Removing a bunch of unused logging imports.
2015-07-15 14:42:50 -07:00
Alain Jobart
74be38deef
Merge pull request #883 from alainjobart/resharding
...
Changing vtctl and vtworker remote API to also return an error.
2015-07-15 13:25:12 -07:00
Anthony Yeh
1ea2c352b6
Merge pull request #880 from enisoc/vtctld
...
web/vtctld: Show real-time tablet stats.
2015-07-15 13:22:33 -07:00
Alain Jobart
3ac93ec09a
Merge branch 'master' into resharding
2015-07-15 12:58:35 -07:00
Alain Jobart
c046196c24
Changing vtctl and vtworker remote API to also return an error.
...
that way we don't depend on calling errFunc() *before* it actually should be called.
2015-07-15 12:53:52 -07:00