[infinispan-issues] [JBoss JIRA] (ISPN-201) make JDBC cache store use DB transactions for commit/rollback
Mircea Markus (JIRA)
jira-events at lists.jboss.org
Thu Feb 7 09:56:51 EST 2013
[ https://issues.jboss.org/browse/ISPN-201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mircea Markus updated ISPN-201:
-------------------------------
Fix Version/s: 6.0.0.Beta1
(was: 5.3.0.Final)
> make JDBC cache store use DB transactions for commit/rollback
> -------------------------------------------------------------
>
> Key: ISPN-201
> URL: https://issues.jboss.org/browse/ISPN-201
> Project: Infinispan
> Issue Type: Feature Request
> Components: Loaders and Stores
> Reporter: Mircea Markus
> Assignee: Tristan Tarrant
> Labels: modshape
> Fix For: 6.0.0.Beta1
>
>
> current impl of JDBC cache store does not use DB transaction (nor local transactions/Connection.setAutocommit(false)) for storing the modifications created within a transaction. This might leave the store in an inconsistent state one operation fails during commit. This should be changed to either 1. use local transactions or 2. register the driver as an XAResource and rely on the TM to manage the boundaries. I would go for 1, as it would be more consistent with other CStore implementation (different cache store interceptor should be used for managing the 2'nd approach).
--
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
More information about the infinispan-issues
mailing list