Skip to content

Merge operator #2203

@gritzko

Description

@gritzko

Is your feature request related to a problem? Please describe

I look for a possibility to turn Badger into a CRDT database by installing a CRDT merge operator. This trick worked nicely with pebbledb.
But, Badger has no merge operators.

Describe the solution you'd like

So, I wonder if the badger team is interested in having that feature, merge operators.

Describe alternatives you've considered

The alternative is an "interpreted mode" on top of the key-value interface. Merging records manually, gc manually, everything manually. That sucks.

Additional context

I may even try to implement it myself, I wonder if there is any interest.
Or maybe there are roadblocks I did not notice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions