On 16 Sep 2011, at 12:11, Galder Zamarreņo wrote:

On Sep 14, 2011, at 4:03 PM, Manik Surtani wrote:

So I've been hacking on versioned entries for a bit now, and want to run the designs by everyone. Adding an EntryVersion to each entry is easy, making this optional and null by default easy too, and a SimpleVersion a wrapper around a long and a PartitionTolerantVersion being a vector clock implementation.  Also easy stuff, changing the entry hierarchy and the marshalling to ensure versions - if available - are shipped, etc.

I think we might need support for other versions to be able to deal with external database or JPA versions. I'll be speaking about this next week :)

Yes, that would be "step 2".  :)

--
Manik Surtani
manik@jboss.org
twitter.com/maniksurtani

Lead, Infinispan
http://www.infinispan.org