Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
codrut51 opened this issue Oct 8, 2024 · 0 comments

Comments

@codrut51
Copy link

codrut51 commented Oct 8, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant