-- Martin Krasser blog: http://krasserm.blogspot.com code: http://github.com/krasserm twitter: http://twitter.com/mrt1nz
Just wanted to let you know that I extended the mongodb-casbah journal (on branch wip-reusable snapshotting) so that is passes now the PersistentReplaySpec. To pass these tests a journal must support upper replay limits and snapshotting. At the moment snapshotting is implemented based on Hadoop FileSystem but we can see that implementation as preliminary should you want to switch to another snapshotting implementation.
I did not implement the PersistentReplaySpec for the mongodb-reactive journal and the dynamodb-journal. At a first glance, these journals already seem to support upper replay limits but this needs to be verified. Any help is highly appreciated here. Please let me know if you have any questions.
The preceding email message may contain confidential information of Viridity Energy, Inc. It is not intended for transmission to, or receipt by, any unauthorized persons. If you have received this message in error, please (i) do not read it, (ii) reply to the sender that you received the message in error, and (iii) erase or destroy the message.
Hi Martin,
As it turns out Reactive .9 is still running on Akka 2.1.x, so I can branch Reactive and upgrade it to Akka 2.2.x or wait until they upgrade.
Starting on dynamo, and seeing some unexpected things in the test, this is probably the upper limit stuff that Im not totally grokking.
In the JournalSpec 'recover its counter' journal test, the journal is receiving a ReplayInMsgs with a StandardReplayParams(processorId = 1, fromSequenceNr = 4, toSequenceNr= 1)
Ok seems to be mostly working now. My internet connection is a bit dodgy so the only failures I am seeing are timeouts.
One thing I have done which will change all the JournalSpec impls is to change the signature of journalProps to
def journalProps(implicit sys:ActorSystem): JournalProps
Anyone have any issue with that? (The actorSystem used for testing is beign passed to and used by my spray dynamodb client)
Martin, Great job on the snapshotting! It was very straightforward to add support.
Hi Martin,
I've added write concern support (fsync) and updated the pull request.
Cheers,
On Saturday, June 29, 2013 1:00:19 AM UTC-4, ddevore wrote:Martin,
Added snapshot support. Really like how you implemented common support, very nice.
Thanks Martin, I've made the suggested change and updated the PR.
Martin,
Do you think we should update all the Journal Readme's to reflect snapshotting or is the general Readme good enough?