Hi

Just wondering what the reasons would be for keeping any snapshots older 
than the most current one around? I guess one reason would be if one wanted 
to restore from a certain point in time in the past with maximum 
performance. Personally I don't need this, so only interested in keeping 
the latest snapshot, would this be a reasonable way to do it:


    case SaveSnapshotSuccess(metadata) =>
      log.debug("successfully saved snapshot {}, deleting prior 
snapshots...", metadata)
      deleteSnapshots(SnapshotSelectionCriteria.create(metadata.sequenceNr, 
metadata.timestamp - 1))

As an aside, in ShardCoordinator (2.3.5), I've noticed the snapshotTask 
isn't getting cancelled in postStop(), is there a reason for that or was it 
an accidental omission?

Thanks!
Peter

-- 
>>>>>>>>>>      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.

Reply via email to