You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently there are a few ways of waiting for things to commit, either revolving around polling the servers, or when making lots of requests using the returned headers to check it (along with view history).
Describe the solution you'd like
When we get support for bidirectional streaming in CCF I think another, maybe more useful, method would be an endpoint such as
serviceCommits {
rpcWatch(streamWatchRequest) returns (streamWatchResponse) {}
}
messageWatchRequest {
int64revision=1;
uint64raft_term=2;
// but more of an enum like the actual Watch service uses
}
messageWatchResponse {
int64revision=1;
uint64raft_term=2;
enumStatus {
Committed=1;
Invalid=2;
// maybe more states too, e.g. getting progress
}
}
This would enable clients to efficiently wait for transactions to be committed, especially those processing lots of transactions or offering a wrapper service that is more consistent.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Currently there are a few ways of waiting for things to commit, either revolving around polling the servers, or when making lots of requests using the returned headers to check it (along with view history).
Describe the solution you'd like
When we get support for bidirectional streaming in CCF I think another, maybe more useful, method would be an endpoint such as
This would enable clients to efficiently wait for transactions to be committed, especially those processing lots of transactions or offering a wrapper service that is more consistent.
The text was updated successfully, but these errors were encountered: