Skip to content

Commit

Permalink
Use forked version of grpcio (pantsbuild#6344)
Browse files Browse the repository at this point in the history
This includes tikv/grpc-rs#211 which stops us
seeing RpcFinished errors when the server responds very quickly to
requests.

Unfortunately, this will slow down building pants, as you'll need to
checkout the git repository, but that should be a once-per-machine cost.
  • Loading branch information
illicitonion authored and Chris Livingston committed Aug 27, 2018
1 parent 1b73005 commit 4f7705f
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 14 deletions.
20 changes: 10 additions & 10 deletions src/rust/engine/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/rust/engine/fs/Cargo.toml
Expand Up @@ -13,7 +13,8 @@ digest = "0.6.2"
futures = "^0.1.16"
futures-cpupool = "0.1"
glob = "0.2.11"
grpcio = { version = "0.3", features = ["secure"] }
# Pull in https://github.com/pingcap/grpc-rs/pull/211
grpcio = { git = "https://github.com/illicitonion/grpc-rs.git", rev = "d106c615bc0c289ba6d1ce6871786266d109c31c", features = ["secure"] }
hashing = { path = "../hashing" }
ignore = "0.3.1"
indexmap = "1"
Expand Down
3 changes: 2 additions & 1 deletion src/rust/engine/process_execution/Cargo.toml
Expand Up @@ -12,7 +12,8 @@ bytes = "0.4.5"
digest = "0.6.2"
fs = { path = "../fs" }
futures = "^0.1.16"
grpcio = { version = "0.3", features = ["secure"] }
# Pull in https://github.com/pingcap/grpc-rs/pull/211
grpcio = { git = "https://github.com/illicitonion/grpc-rs.git", rev = "d106c615bc0c289ba6d1ce6871786266d109c31c", features = ["secure"] }
hashing = { path = "../hashing" }
log = "0.4"
protobuf = { version = "2.0.4", features = ["with-bytes"] }
Expand Down
3 changes: 2 additions & 1 deletion src/rust/engine/process_execution/bazel_protos/Cargo.toml
Expand Up @@ -7,7 +7,8 @@ publish = false
[dependencies]
bytes = "0.4.5"
futures = "^0.1.16"
grpcio = { version = "0.3", features = ["secure"] }
# Pull in https://github.com/pingcap/grpc-rs/pull/211
grpcio = { git = "https://github.com/illicitonion/grpc-rs.git", rev = "d106c615bc0c289ba6d1ce6871786266d109c31c", features = ["secure"] }
hashing = { path = "../../hashing" }
protobuf = { version = "2.0.4", features = ["with-bytes"] }

Expand Down
3 changes: 2 additions & 1 deletion src/rust/engine/testutil/mock/Cargo.toml
Expand Up @@ -8,7 +8,8 @@ publish = false
bazel_protos = { path = "../../process_execution/bazel_protos" }
bytes = "0.4.5"
futures = "^0.1.16"
grpcio = { version = "0.3", features = ["secure"] }
# Pull in https://github.com/pingcap/grpc-rs/pull/211
grpcio = { git = "https://github.com/illicitonion/grpc-rs.git", rev = "d106c615bc0c289ba6d1ce6871786266d109c31c", features = ["secure"] }
hashing = { path = "../../hashing" }
protobuf = { version = "2.0.4", features = ["with-bytes"] }
testutil = { path = ".." }

0 comments on commit 4f7705f

Please sign in to comment.