If you followed along the recent db4o development in our SVN you may already have been aware of it: For the past months we have put a lot of work into dRS replication between db4o and Versants flagship, the Versant Object Database (VOD). It is the goal of our first release to provide at least all the functionality that we already have in place for a while to replicate to RDBMS via Hibernate.

Today I am very happy to (pre) announce that all existing test cases are passing.

All source code for replication is already available through our SVN. If you are a very early adopter or tester you are invited to connect to our SVN and to play with the existing test cases. You will need to get the following projects from our SVN:

  • db4o.cs
  • db4oj
  • db4ounit
  • db4ounit.extensions
  • drs

A Versant Object Database test installation is available for download from here.

The class to run all the Versant related test cases is com.db4o.drs.test.versant.AllTests. The list of test cases is in com.db4o.drs.test.DrsTestSuite (it may still move).

We will soon follow up with a more verbose guide how to set up replication and how to use it. There is a tricky part that is not immediately visible from looking at the test cases: Replication requires a small EventProcessor application to run beside the VOD server to listen to commit events.

The last weeks we spent a lot of time to debug all the existing test cases. For us as the db4o team it was a nice opportunity to get started in depth with working with VOD. Debugging was not always easy because of the asynchronous commit listener running in the background. Today we found the reason for spurious failures and all of a sudden all tests pass. We are very happy. Stay tuned, more news on replication will follow soon.