[JBoss JIRA] Created: (ISPN-1409) Introduce a binary-stream upgrading CacheLoader
by Sanne Grinovero (JIRA)
Introduce a binary-stream upgrading CacheLoader
-----------------------------------------------
Key: ISPN-1409
URL: https://issues.jboss.org/browse/ISPN-1409
Project: Infinispan
Issue Type: Feature Request
Reporter: Sanne Grinovero
Assignee: Manik Surtani
Fix For: 5.1.0.BETA1
We need a CacheLoader decorator able to chain sets of two different Externalizers which are targeting the same Java type to transform from one binary format to the next binary format.
Example: a Person object stored in the cache and an Externalizer is coupled to it. In a new release the Externalizer is changed to provide a different binary representation. Using the old one the stream is transformed from a byte[] to a Person, then this Java instance is feed to the new Externalizer implementation to get the new corresponding byte[]; the updated stream is stored in the decorated CacheLoader so that the nodes going to be attached to the cache store and using the new Externalizer will be fine.
A little complexity is introduced if the cache has to know about different sets of Externalizers if several different types need to be upgraded. A possible solution is to use a single decorator instance for each type, creating a chain of decorators if they are able to pass "as is" each externalizer id they are not directly coupled to.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (ISPN-2342) The x-site implementation needs an inter-site state transfer mechanism
by Erik Salter (JIRA)
Erik Salter created ISPN-2342:
---------------------------------
Summary: The x-site implementation needs an inter-site state transfer mechanism
Key: ISPN-2342
URL: https://issues.jboss.org/browse/ISPN-2342
Project: Infinispan
Issue Type: Feature Request
Components: Cross-Site Replication
Affects Versions: 5.2.0.Alpha4
Reporter: Erik Salter
Assignee: Mircea Markus
To bring up a new site or recover a failed site, I need an inter-site state transfer mechanism for synchronizing keys.
Note that initially, this should a manual process that is invoked on one site to one of its configured backups.
This should be based on the non-blocking state transfer mechanism for consistency.
The pseudo-design may look similar to the following:
- Manually invokable, background thread
- Since the bridge end is open, there are writes happening to keys. Keep track of the puts/removes on the main data owner.
- Iterate through the key set.
- If the key has already been modified since the process started, discard.
- Else synchronously write the key value in a TX context
--
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
11 years, 8 months
[JBoss JIRA] Created: (ISPN-1337) Infinispan query module: searchManagerImpl.extractType() throws exception on some OS.
by JaeHee Roh (JIRA)
Infinispan query module: searchManagerImpl.extractType() throws exception on some OS.
-------------------------------------------------------------------------------------
Key: ISPN-1337
URL: https://issues.jboss.org/browse/ISPN-1337
Project: Infinispan
Issue Type: Bug
Components: Querying
Affects Versions: 5.0.0.FINAL
Environment: JAVA
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
OS
# uname -ovr
2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 GNU/Linux
Tested with Infinispan 5.0.0.FINAL and 5.0.0.CR8. Both versions failed on this Ubuntu platform.
However, it is ok on Suse platform.
# uname -ovr
2.6.16.60-0.85.1-smp #1 SMP Thu Mar 17 11:45:06 UTC 2011 GNU/Linux
Reporter: JaeHee Roh
Assignee: Manik Surtani
Priority: Critical
This is a same problem as https://issues.jboss.org/browse/ISPN-1232 which fixed in 5.0.0.CR8 and 5.0.0.FINAL but it seems that fix is working on some OS but not all of OS.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months