Skip to content

Commit

Permalink
add rpcfinished hack
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmicexplorer committed Mar 22, 2019
1 parent 7664ca8 commit af89154
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/rust/engine/fs/src/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1974,6 +1974,10 @@ mod remote {
status: grpcio::RpcStatusCode::NotFound,
..
}) => Ok(None),
// TODO: This may be a race condition that deserves respect, but right now it's
// not clear it's an error. See #6344 for a case where we override this behavior
// by forking gprcio.
grpcio::Error::RpcFinished(None) => Ok(None),
_ => Err(format!(
"Error from server in response to CAS read request: {:?}",
e
Expand Down

0 comments on commit af89154

Please sign in to comment.