Skip to content

addOOO then add feed leads to duplicate msgs #411

@staltz

Description

@staltz

Context: working on ssbc/ssb-replication-scheduler#11 and noticed a duplicate message in the test results.

Problem: If you addOOO a message (e.g. the metafeed/announce msg from someone's main feed) and then replicate the main feed, you will add the metafeed/announce message twice.

Seems like OOO is not safe against these cases, and it doesn't seem like it's OOO's fault, because addOOO appended to the log when there was no message from that feed, the problem is add who appended the whole feed and this means it re-added the OOO msg.

Possible solutions? I think this issue is highly correlated to #395

cc @arj03

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions