Hi,

> Interestingly, there is still a potential issue if you don't reuse session 
> IDs:
>
> Client: submit op X at version 100
> <client detects network error, but server does not>
> Client: Reconnect
> Server: Ok. 10 new ops since you connected
> Client: submit op X' at version 110
> Server gets op X at version 100 (first submission)
> Server gets op X' at version 110 (second submission)

I think the client simply should not do this.
Never send an op, then transform it, and then re-send the transformed op again.
If you want to resubmit, then resubmit the exact same version, i.e.
repeat "X at version 100".
This way the problem you mentioned cannot arise.

Cheers
Torben

Reply via email to