Hi Diego, I believe you answered this question here as well and Patrik answered there: https://groups.google.com/forum/#!topic/akka-user/j6wQfhJAQb4
In general you can delete the data and restart the cluster, it will create new shard allocations. We are thinking about ideas how to make this simpler (at least in the case of partitions causing this issue), but nothing precise to announce yet. On Mon, Jun 22, 2015 at 2:23 PM, Diego Martinoia <[email protected]> wrote: > This question may be a bit vague, but I'm unsure how to make it more > precise. > > While using the cluster sharding extension, you have to provide some sort > of persistence journal so that the plugin can store its metadata > (ShardRegionAllocated, etc...). > > These metadata are used when new actors are instantiated / moved across > nodes to recover from their frozen state. > > Suppose that for any reason your journal becomes corrupted (loses one > entry, duplicates an entry, whatever). This leads to pretty bad exceptions > at the actor's startup (Persistence recovery failure), possibly terminating > the whole region if not correctly handled. > > What is the best way to manage this scenario? (I'm asking for ideas at any > level of the stack, from the supervisor's policy to some sort of > intervention directly on the journal). Thanks, > > D. > > -- > >>>>>>>>>> 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 http://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. > -- Cheers, Konrad 'ktoso' Malawski Akka <http://akka.io/> @ Typesafe <http://typesafe.com/> -- >>>>>>>>>> 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 http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
