Skip to content

Commit

Permalink
Merge pull request vmware#2043 from dartdart26/state-snapshot-failed-…
Browse files Browse the repository at this point in the history
…precondition

Add FAILED_PRECONDITION as error for StreamSnapshot
  • Loading branch information
dartdart26 authored Nov 17, 2021
2 parents e1531aa + 8dc13f1 commit 4965a07
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/proto/state_snapshot/v1/state_snapshot.proto
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ service StateSnapshot {
// INVALID_ARGUMENT: if resuming a stream using `from_key` and that key is not part of the
// state snapshot.
// UNAVAILABLE: if Concord Client is not ready yet to process requests.
// FAILED_PRECONDITION: if a precondition in Concord Client is not satisfied. For example,
// the state might be corrupted or invalid and, in that case, there
// would be no point in proceeding with streaming.
// UNKNOWN: exact cause is unknown.
rpc StreamSnapshot(StreamSnapshotRequest) returns (stream StreamSnapshotResponse);

Expand Down

0 comments on commit 4965a07

Please sign in to comment.