Rebasely Beta: data may be purged

examples/live-notes Public

Show who else is editing #1

Changed files

21 files changed344 additions49 deletionssince main at d21dfdd

Catching up an editor that fell behind

Not changed by this pull request.

  • Added
  • Rerouted, relabelled or moved
  • Removed

An op written against a version older than the room's log reaches, or one that no longer fits the text, is answered with the whole note.

Catching up an editor that fell behind: 3 steps between 2 participants Step 1: editor-a to note-room, op written against version 12, while the room is at 240op written against version 12…Step 2: note-room to editor-a, snapshot: the text at version 240; A drops its pending editssnapshot: the text at version…Step 3: editor-a to note-room, the next edit, written against version 240the next edit, written agains…editor-aeditor-aActornote-roomnote-roomDurable Object

The flow resync at the head of this pull request, numbered in its order, with the steps it adds, reroutes, relabels, moves and removes. A removed step has no number.

Steps

  1. Step 1: editor-a → note-room op written against version 12, while the room is at 240
  2. Step 2: note-room → editor-a snapshot: the text at version 240; A drops its pending edits
  3. Step 3: editor-a → note-room the next edit, written against version 240

Knowledge base

Back to the conversation