fotiskoun / CCF

Confidential Consortium Framework
https://microsoft.github.io/CCF
Apache License 2.0
2 stars 0 forks source link

Reconnection if session drop #47

Open fotiskoun opened 2 years ago

fotiskoun commented 2 years ago

In case a session drop the submitter should reconnect. For the submitted data you have two options here:

  1. All the requests that haven't got any response can be resubmitted in the new connection and the timestamp difference between the initially submitted and the final response will show the peek
  2. Leave the submitted requests that didn't get any responses as is and fille the responses parquet with maximum latency timestamps to declare the session drop and have the rest of the requests submitted as normal.
heidihoward commented 2 years ago

I prefer option 2