+per #17799 Fix refactoring bug in deleteMessages
* add missing test * use DeleteMessagesFailure and add onDeleteMessagesFailure (logging)
This commit is contained in:
parent
dd13de5559
commit
77df1372ad
8 changed files with 61 additions and 8 deletions
|
|
@ -291,6 +291,9 @@ next message.
|
|||
If there is a problem with recovering the state of the actor from the journal when the actor is
|
||||
started, ``onReplayFailure`` is called (logging the error by default) and the actor will be stopped.
|
||||
|
||||
If the ``deleteMessages`` fails ``onDeleteMessagesFailure`` will be called (logging a warning by default)
|
||||
and the actor continues with next message.
|
||||
|
||||
Atomic writes
|
||||
-------------
|
||||
|
||||
|
|
@ -323,6 +326,9 @@ 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.
|
||||
|
||||
If the delete fails ``onDeleteMessagesFailure`` will be called (logging a warning by default)
|
||||
and the actor continues with next message.
|
||||
|
||||
.. _persistent-views-java-lambda:
|
||||
|
||||
Views
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue