collaboration icon indicating copy to clipboard operation
collaboration copied to clipboard

Temporary connection loss can lead to data loss

Open sauerbraten opened this issue 5 years ago • 0 comments

When a user A loses connection temporarily and misses changes to a field done by another user B, A will not see the changes by B. When A now changes the field herself, her old state plus her changes are sent to user B, overriding his earlier changes.

Tracking the field state over time, it goes like this:

  1. A and B see foo
  2. A goes offline
  3. B adds bar to the field
  4. A sees foo, B sees foobar
  5. A reconnects, still sees foo
  6. A adds bla to the field
  7. A's change is sent to B
  8. A and B both see foobla

sauerbraten avatar May 05 '20 09:05 sauerbraten