!per #17799 Remove support for non-permanent deletes
* The permanent flag in deleteMessages * old records stored with deletion flag are still not replayed
This commit is contained in:
parent
8c47e01e9d
commit
6eea0ddae6
26 changed files with 65 additions and 104 deletions
|
|
@ -128,8 +128,7 @@ trait SharedLeveldbPluginDocSpec {
|
|||
|
||||
class MyJournal extends AsyncWriteJournal {
|
||||
def asyncWriteMessages(messages: immutable.Seq[AtomicWrite]): Future[immutable.Seq[Try[Unit]]] = ???
|
||||
def asyncDeleteMessagesTo(persistenceId: String, toSequenceNr: Long,
|
||||
permanent: Boolean): Future[Unit] = ???
|
||||
def asyncDeleteMessagesTo(persistenceId: String, toSequenceNr: Long): Future[Unit] = ???
|
||||
def asyncReplayMessages(persistenceId: String, fromSequenceNr: Long,
|
||||
toSequenceNr: Long, max: Long)(
|
||||
replayCallback: (PersistentRepr) => Unit): Future[Unit] = ???
|
||||
|
|
|
|||
|
|
@ -315,11 +315,6 @@ Message deletion
|
|||
To delete all messages (journaled by a single persistent actor) up to a specified sequence number,
|
||||
persistent actors may call the ``deleteMessages`` method.
|
||||
|
||||
An optional ``permanent`` parameter specifies whether the message shall be permanently
|
||||
deleted from the journal or only marked as deleted. In both cases, the message won't be replayed. Later extensions
|
||||
to Akka persistence will allow to replay messages that have been marked as deleted which can be useful for debugging
|
||||
purposes, for example.
|
||||
|
||||
.. _persistent-views:
|
||||
|
||||
Persistent Views
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue