FluidFramework icon indicating copy to clipboard operation
FluidFramework copied to clipboard

Create a Nack message format to handle reconnection

Open tanviraumi opened this issue 6 years ago • 3 comments

Historically r11s always assumes that clients will reconnect after a nack. We want to extend this and handle non-reconnection cases. Push and r11s will use the same interface.

tanviraumi avatar Apr 09 '20 22:04 tanviraumi

I'd appreciate if you make appropriate initial changes on the client (something along the lines of PR mentioned above). I can help after that to make sure it is exposed in right (consistent) manner to hosts (critical errors). Thanks!

vladsud avatar Apr 09 '20 23:04 vladsud

Related to this, we need to be able to nack a specific document. Currently a nack does not have a "target" document, so all the documents connected over the websocket would process the nack.

In the future, if we are multiplexing multiple documents over the same connection, it would be bad to disconnect the websocket due to an error for a single document.

GaryWilber avatar Apr 13 '20 21:04 GaryWilber

@GaryWilber: We should open another issue on the nack target issue.

Closing this with #1805

tanviraumi avatar Apr 16 '20 17:04 tanviraumi