Skip to content

Proto.Actor persistence move from Action<object> callback to Action<object, long> callback where long is the index of the read event #2136

@codrutmarin

Description

@codrutmarin

Persistence.cs use callback with index
At times certain persistence options don't allow you to delete an event and a common way to deal with this is to read the stream in memory, delete the stream, remove the desired event, and persist the stream.
Some storages such as SQL or EventStoreDB will continue the index count from where it left resulting quite often in version conflicts
i am attempting to solve this issue/bug/inconvenience via a PR

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