On 9 Jul 2013, at 16:44, Sanne Grinovero <sanne(a)infinispan.org> wrote:
I would agree with you that this should be a priority, but keep in
mind that just migrating data from a CacheStore to another won't be
enough: as I pointed out in my previous mail, binary encoding also
changed, making it impossible to deserialize the values.
We should really see what has happened there Sanne, thanks for the heads up.
Ideally we should preserver backward compatibility for same store implementations, or if
we don't document it and provide the tooling for allow users to upgrade. Galder
something to look at together with the tooling for migrating data between FCS impls
perhaps?
I'm not sure if the encoding change was meant to happen, but
apparently there is currently no effort in place to test for this kind
of backward compatibility.
If you need such a thing for ModeShape it would likely be easier for
you to provide such a tool in ModeShape to extract all data and dump
it to some external file, than to provide the hooks in Infinispan as
the transcoding tool would need to depend on multiple Infinispan
versions.
Cheers,
--
Mircea Markus
Infinispan lead (
www.infinispan.org)