That is currently not supported but you could contribute that feature to
the leveldb plugin. We could use Long.MaxValue as the signal to remove
everything.

/Patrik
fre 6 okt. 2017 kl. 10:44 skrev Ole Hjalmar Herje <olehjal...@gmail.com>:

> Hi, is it possible to delete persistent actors completely from the
> persistent storage?
> I have many short lived persistent actors with auto-generated
> unique persistenceId where I perform a deleteMessages(lastSequenceNr())
> when they are done with their work. If the application restarts I perform
> recovery by using LeveldbReadJournal and a currentPersistenceIds() folowed
> by a flatMapMerge on currentEventsByPersistenceId so i only get the ids
> that actually have messages, i.e is not done. But the result of
> currentPersistenceIds query will grow over time since the persistenceId
> mapping is still in storage even if all messages are deleted. (This issue
> was originally about the same?, but ended up with something else:
> https://github.com/akka/akka/issues/21677)
> So my question is if there is a way to delete the persistenceid from
> storage as part/instead of deleteMessages(lastSequenceNr())?
>
> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ:
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to