-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pump: implement gRPC server and make code more solid. (#9)
* drainer: init new cmd * pump: register node to etcd and refresh state by heartbeat. * pump: implement grpc methods. * *: some clean up. * *: improve Makefile and make vet happy * *: use `glide` to manage vendor packages. * *: remove blank lines. * *: address comment * vendor: remove vendor temporarily in this PR * node: fix a type bug.
- Loading branch information
Showing
22 changed files
with
625 additions
and
252 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
package drainer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env bash | ||
touch ~/.gitcookies | ||
chmod 0600 ~/.gitcookies | ||
|
||
git config --global http.cookiefile ~/.gitcookies | ||
|
||
tr , \\t <<\__END__ >>~/.gitcookies | ||
go.googlesource.com,FALSE,/,TRUE,2147483647,o,git-shenli.pingcap.com=1/rGvVlvFq_x9rxOmXqQe_rfcrjbOk6NSOHIQKhhsfidM | ||
go-review.googlesource.com,FALSE,/,TRUE,2147483647,o,git-shenli.pingcap.com=1/rGvVlvFq_x9rxOmXqQe_rfcrjbOk6NSOHIQKhhsfidM | ||
__END__ |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package: github.com/pingcap/tidb-binlog | ||
import: | ||
- package: github.com/coreos/etcd | ||
version: ^3.1.0-alpha.0 | ||
subpackages: | ||
- clientv3 | ||
- package: github.com/ghodss/yaml | ||
- package: github.com/golang/protobuf | ||
subpackages: | ||
- proto | ||
- package: github.com/jonboulle/clockwork | ||
version: ^0.1.0 | ||
- package: github.com/juju/errors | ||
- package: github.com/ngaut/log | ||
- package: github.com/twinj/uuid | ||
version: ^0.10.0 | ||
- package: golang.org/x/net | ||
subpackages: | ||
- context | ||
- package: google.golang.org/grpc | ||
version: ^1.0.1-GA | ||
testImport: | ||
- package: github.com/pingcap/check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,6 @@ import ( | |
. "github.com/pingcap/check" | ||
) | ||
|
||
|
||
var _ = Suite(&testLockSuite{}) | ||
|
||
type testLockSuite struct{} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.