On Mon, Oct 24, 2016 at 1:33 PM, Ajmal Babu <[email protected]> wrote:

> Thanks Patrik, I would change it to the example you mentioned without the
> parent. The uniqueness is still only guaranteed to be within a node. For
> any reason if a restart happens for the actor then the id value will be
> different from the original value and I hope that is ok.
>

I'm confused by this.  The ID is the identifier of the entity that you are
saving and reloading.  If the id is different, it's not the same entity.
That's why it has to be unique, and that uniqueness should be across the
cluster.

Turning this another way: what are you using persistence *for*?  What is
the state you're trying to save and reload, and for what purpose?

-- 
>>>>>>>>>>      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 [email protected].
To post to this group, send email to [email protected].
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