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
If Alice and Bob both open up the same document, and then Alice creates a new document, Alice keeps Bob's vector clock in deltaRouter.clocks even though its for the wrong docId now. You can see this by reproducing these steps and inspecting app.store.deltaRouter.clocks in the Alice's web inspector before and after we change documents -- we should theoretically not have any vector clocks stored because Bob has never opened the document that Alice is on but instead we do still have his vector clock.
I'm not sure how this would manifest as a bug in Trellis, but it could be causing problems especially in conjunction with #9.
The text was updated successfully, but these errors were encountered:
That's definitely wrong, but it works sometimes because when the other client changes docId they should send a new empty vector clock. Still, in many cases, it will get clockMax()'d against the other one and lead to problems. I think it probably works okay on a fork
If Alice and Bob both open up the same document, and then Alice creates a new document, Alice keeps Bob's vector clock in
deltaRouter.clocks
even though its for the wrong docId now. You can see this by reproducing these steps and inspectingapp.store.deltaRouter.clocks
in the Alice's web inspector before and after we change documents -- we should theoretically not have any vector clocks stored because Bob has never opened the document that Alice is on but instead we do still have his vector clock.I'm not sure how this would manifest as a bug in Trellis, but it could be causing problems especially in conjunction with #9.
The text was updated successfully, but these errors were encountered: