[Haskell-cafe] acid-state audit trail
jeremy at n-heptane.com
Fri Oct 19 19:15:31 CEST 2012
Right now acid-state always tries to restore everything up through the
The long term plan is to create an acid-state tool that would allow
you to rollback the event log, list and examine specific events, etc.
So, it is possible in theory, and not even that hard, but no one has
done the work yet.
On Fri, Oct 19, 2012 at 10:38 AM, Richard Wallace
<rwallace at thewallacepack.net> wrote:
> Ok, cool. Any idea if you can get a list of events, or can you just get the
> latest state?
> On Oct 19, 2012 3:53 AM, "Neil Davies" <semanticphilosopher at gmail.com>
>> The history is there until you "archive" (move a checkpoint out into a
>> separate directory) it and then delete the archive yourself.
>> the checkpointing just reduces the recovery time (i.e creates a fixed
>> point in time), if you were to keep all the checkpoint/archives then you
>> would have the complete history
>> On 19 Oct 2012, at 06:18, Richard Wallace <rwallace at thewallacepack.net>
>> > Hey all,
>> > I've been looking at acid-state as a possible storage backend for an
>> > application. It looks like it fits my needs pretty damn well, but one
>> > thing that I'm curious about is if it is possible to get a list of
>> > "update events". You can obviously query for the current state, but
>> > it's not immediately apparent if you can see the history of your
>> > values state. This is useful in some things, like providing audit
>> > trails and debugging. As well as being able to re-create state in a
>> > different form.
>> > I was also curious if the createCheckpoint function eliminates the
>> > state history or does it just create a snapshot, it's not apparent
>> > from the docs.
>> > Thanks,
>> > Rich
>> > _______________________________________________
>> > Haskell-Cafe mailing list
>> > Haskell-Cafe at haskell.org
>> > http://www.haskell.org/mailman/listinfo/haskell-cafe
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe