[
https://issues.jboss.org/browse/ISPN-3318?page=com.atlassian.jira.plugin....
]
Galder Zamarreño commented on ISPN-3318:
----------------------------------------
Interesting idea from Randall:
{quote}Let's look at this from a user's perspective. Is it possible that the new
file store **replaces** the old one, so that the user doesn't (really) need to know
the difference?
How similar are the configuration properties of each? Might it be possible to:
rename and deprecate the existing one (e.g.,
"org.infinispan.loaders.file.LegacyFileCacheStore"), changing it to
'package' or 'protected' (iff the new one is stable enough that the old
one should definitely not be used anymore),
rename the new one to "org.infinispan.loaders.file.FileCacheStore" (so that
existing configurations work without change),
have some code in the new one detect the old file structure and automatically run a
migration to convert from the old file structure to the new format (and possibly move the
old files into a subdirectory)
If this is possible, this is by far the best option for users since it provides a simple
(perhaps even transparent) migration path with little if any changes required to
configurations, but at the same time it allows the developers to get what they want: a new
FCS that replaces the old one (which goes away).{quote}
Migrate data from one cache store to another
--------------------------------------------
Key: ISPN-3318
URL:
https://issues.jboss.org/browse/ISPN-3318
Project: Infinispan
Issue Type: Task
Components: Loaders and Stores
Reporter: Galder Zamarreño
Assignee: Galder Zamarreño
Fix For: 6.0.0.Final
Find a generic way to transfer data from one cache store to another, which could involve
different Infinispan versions. This is handy to migrate file cache store based users to
single file cache store (ISPN-2806).
Ideally, this should be added as a recipe for rolling upgrades.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira