8000 Handle errors in receive methods · Issue #258 · composablesys/collabs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Handle errors in receive methods #258
Open
@mweidner037

Description

@mweidner037

Due to custom Collab implementations and #257, we should occasional errors in Collab.receive methods.

Currently, these will propagate up the stack and the leave the app in an inconsistent and possibly stuck state. This behavior is okay for local operations (crash the app without affecting any collaborators), but probably not when receiving remote messages - a single bad message could make a doc unusable.

It would be nice to find a better way to handle these errors. In particular, we could ensure that all parts of a transaction that don't cause an error go through normally, including the vector clock update and messages for other CRDTs.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0