Alain Jobart
c687763d63
Merge branch 'master' into replication
2014-12-23 12:16:29 -08:00
Alain Jobart
4ebc9e7b0d
Removing Tablet.Parent and ReplicationLink.Parent.
...
Not really used anywhere, and just keeping it up to date is painful.
2014-12-23 12:03:50 -08:00
Anthony Yeh
7847cc3bcd
Use JoinHostPort to handle hosts with colons.
2014-12-23 00:51:01 -08:00
Anthony Yeh
244c4cc025
Use full tablet alias for etcd explorer, not just uid.
2014-12-18 23:21:12 -08:00
Anthony Yeh
2cac0cd8f7
Add vtctld explorer plugin for etcd.
2014-12-17 18:59:41 -08:00
Anthony Yeh
344468c122
Fix panic and hang in etcdtopo lock.
...
Found during integration tests:
- Panic was because nil *Response is returned on error.
Updated fake etcd client to reflect this.
- Hang was because released locks were setting empty contents
instead of the new magic value.
2014-12-16 23:17:16 -08:00
Anthony Yeh
03d65f63a8
Reject lock attempt on nonexistent keyspace/shard.
2014-12-16 17:06:22 -08:00
Anthony Yeh
6243616f0e
Add unit tests for etcdtopo.
2014-12-16 10:17:50 -08:00
Alain Jobart
931d6da2ef
Merge branch 'master' into replication
2014-12-15 09:57:00 -08:00
Alain Jobart
8fe6283edc
Using context in all the topo server lock methods.
...
So we can remove timeout and interrupted.
Removing global wrangler interrupted channel, now just
cancelling its context.
2014-12-15 09:27:37 -08:00
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
Anthony Yeh
9145994e53
Implement etcd flavor for TopoServer.
2014-12-12 17:03:13 -08:00