+per #18559 TCK tests for highestSequenceNr not reset after journal message deletion
* added tests * docs about highestSeqenceNr behaviour after message deletion * clarification about highestSequenceNr in AsyncRecovery#asyncReadHighestSequenceNr and AsyncWriteJournal#asyncDeleteMessagesTo
This commit is contained in:
parent
b5412a1ee0
commit
4eaa77608c
5 changed files with 114 additions and 83 deletions
|
|
@ -215,6 +215,7 @@ trait AsyncWriteJournal extends Actor with WriteJournalBase with AsyncRecovery {
|
|||
* (inclusive).
|
||||
*
|
||||
* This call is protected with a circuit-breaker.
|
||||
* Message deletion doesn't affect the highest sequence number of messages, journal must maintain the highest sequence number and never decrease it.
|
||||
*/
|
||||
def asyncDeleteMessagesTo(persistenceId: String, toSequenceNr: Long): Future[Unit]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue