[JBoss JIRA] Created: (ISPN-272) recover from transaction failures
by Mircea Markus (JIRA)
recover from transaction failures
---------------------------------
Key: ISPN-272
URL: https://jira.jboss.org/jira/browse/ISPN-272
Project: Infinispan
Issue Type: Feature Request
Components: Transactions
Affects Versions: 5.0.0.GA
Reporter: Mircea Markus
Assignee: Manik Surtani
We currently don't support any sort of recovery from transaction failures.
E.g.
tm.start();
database.delete(account);
ispnCache.put(account);
tm.commit():
At tm commit:
-prepare is successful on both enlisted resources.
- database.commit - fails
What shall we do with the locks/state from ispnCache.
Possible solutions:
- configure to automatically commit/rollback after a timeout
- keep locks on resources and allow manual intervention through JMX
- others?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 9 months
[JBoss JIRA] Created: (ISPN-748) provide an API to expose core operations omitting return values as safe alternative to Flags
by Sanne Grinovero (JIRA)
provide an API to expose core operations omitting return values as safe alternative to Flags
--------------------------------------------------------------------------------------------
Key: ISPN-748
URL: https://jira.jboss.org/browse/ISPN-748
Project: Infinispan
Issue Type: Feature Request
Components: Core API
Reporter: Sanne Grinovero
Assignee: Manik Surtani
Priority: Minor
Fix For: 5.0.0.BETA1, 5.0.0.Final
On mailing list we discussed the possibility to provide the same methods as defined by Map but omitting return values.
This would be useful for those cases in which return values are not needed, so that Infinispan can enable all possible optimizations to disregard retrieveing an appropriate return value.
Several alternatives where proposed, and there's also an interesting proposal to do the same relating to async methods, and the combination of async+noReturn
A suggestion:
cache.noReturnValue().remote(K); //returns void and enables both flags SKIP_CACHE_LOAD and SKIP_REMOTE_LOOKUP.
The advantage is that people refactoring code don't have to remember to adjust flags according to using the return value or not, or would at least get a compiler error in case of abuse of method; also Infinispan might introduce more optimizations in future and apply them without code changes for new flags arising.
See all discussion started by: http://lists.jboss.org/pipermail/infinispan-dev/2010-October/006484.html
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 9 months
[JBoss JIRA] Created: (ISPN-493) Harden rehash leave process
by Vladimir Blagojevic (JIRA)
Harden rehash leave process
---------------------------
Key: ISPN-493
URL: https://jira.jboss.org/browse/ISPN-493
Project: Infinispan
Issue Type: Task
Affects Versions: 4.1.0.BETA2, 4.0.0.Final
Reporter: Vladimir Blagojevic
Assignee: Vladimir Blagojevic
Fix For: 5.0.0.BETA1, 5.0.0.Final
We need to make sure that leave rehash process properly handles massive and rapid node failure.
Massive failures:
JGroups detects multiple node failures and pushes up to Infinispan views that are more "volatile" than we currently assumed (only one member at the time can leave). For example, if we have view V1={A,B,C,D,E} and massive failure causes {C,D,E} to fail, JGroups failure detection and GMS are going to install a view V2={A,B} to surviving members. LeaveTask does not handle this scenario.
Rapid node failure:
We need to revisit how LeaveTasks are queued up and executed/canceled during rapid node failures. Do we always cancel currently running leave tasks? At what stage are we allowed to cancel it and at what stage of a leave tasks is it better to wait for a completion of a task.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 10 months