You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Immediately after composing the above, I realized this is the correct concept but the wrong CRDT. It should be applied in the encrypted-blockstore module which means doing the work of making DbMeta track parents properly (currently hacked in as runtime state). see
When a remote makes a sequence of changes in quick succession, they might come faster than the local can merge them.
Most of the time when this happens we can just skip to the most recent one, assuming they are a direct chain of parent/child relationships.
https://www.youtube.com/watch?v=j0X9fRf4cTk
The video shows the queue buildup we can fast foward.
Here is the code to where we can fast foward through parent child chains in the queue
fireproof/packages/fireproof/src/apply-head-queue.ts
Line 29 in de8c51f
The text was updated successfully, but these errors were encountered: