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

Akka.Persistence - update code base to akka JVM v2.4 #1402

Closed
Horusiath opened this issue Nov 4, 2015 · 3 comments · Fixed by #1717
Closed

Akka.Persistence - update code base to akka JVM v2.4 #1402

Horusiath opened this issue Nov 4, 2015 · 3 comments · Fixed by #1717

Comments

@Horusiath
Copy link
Contributor

Since our akka persistence module has been ported, some changes occurred on the JVM side of it. One of them is introduction of AtomicWrite and ReplayFilter. Associated with them are abilities to replay corrupted events emitted by overlapping writers and to reject events before they are stored.

[EDIT: 2016.02.11]

List of changes, that probably needs to be included:

  • Persist on sequence of events should be renamed to PersistAll and works as AtomicWrite (new kind of message) - either all or none events should be written. If journal doesn't support that it should inform about it.
  • Rejecting writes - jorunal can reject saving an event, informing persistent actor about it.
  • Obsoleting isPermanent parameter in delete operations - it should be supported for backward compatibility, but for future versions all deletes would be considered a hard ones.
  • Deliver support for ActorSelection.
  • Removing SyncJournal.
  • Renaming all messages with Replay prefix to corresponding Recovery-prefixed equivalents.
  • Introduce Recovery config object.
  • Sender reference on replayed events should be always DeadLetters.
  • Remove Saved method from SnapshotStore.

Obsoleting persistent view is not possible at the moment - because we still don't have support for Akka.Streams.

@Horusiath Horusiath changed the title Akka.Persistence - atomic writes and replay mode. Akka.Persistence - atomic writes and replay/recovery mode. Nov 4, 2015
@Horusiath Horusiath changed the title Akka.Persistence - atomic writes and replay/recovery mode. Akka.Persistence - update code base to JVM 2.4 Nov 8, 2015
@Horusiath Horusiath changed the title Akka.Persistence - update code base to JVM 2.4 Akka.Persistence - update code base to akka JVM v2.4 Nov 8, 2015
@cconstantin
Copy link
Contributor

@Horusiath what JVM version is the current code based on? 2.3? Knowing that version might make it easier to identify the differences.

@Horusiath
Copy link
Contributor Author

It's somwhere in 2.3 - major code base comes from 1Q 2015, although some parts (like event adapters) have been added later.

@cconstantin
Copy link
Contributor

@Horusiath I'm giving this update a try, will keep you posted.

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

Successfully merging a pull request may close this issue.

2 participants