[JBoss JIRA] (ISPN-6700) Restart required dialog show only after editing distributed cache
by Ryan Emerson (JIRA)
[ https://issues.jboss.org/browse/ISPN-6700?page=com.atlassian.jira.plugin.... ]
Ryan Emerson resolved ISPN-6700.
--------------------------------
Fix Version/s: 9.0.0.Alpha3
Resolution: Done
> Restart required dialog show only after editing distributed cache
> -----------------------------------------------------------------
>
> Key: ISPN-6700
> URL: https://issues.jboss.org/browse/ISPN-6700
> Project: Infinispan
> Issue Type: Bug
> Components: Console
> Affects Versions: 8.2.2.Final
> Reporter: Jiří Holuša
> Assignee: Ryan Emerson
> Fix For: 9.0.0.Alpha3
>
>
> Page: Cache configuration page (select cache container -> select cache -> click Configuration)
> When editing any property of replicated, local and invalidation cache, for example expiration lifespan. When I change somehow the value, right next to the input box, there appears: " (Undo) Restart needed". Then I click "Apply changes", a confirmation dialog pops up with text: "Update configuration template <cache>?", I click "Update" and it's done. I have to manually search for the option of restarting the cluster.
> However, if I do it with distributed cache, after clicking "Update" in confirmation dialog, another dialog pops up with text: "Attributes changed require a restart of the affected servers. If you need to make additional configuration changes right now, consider restarting servers after the last change." with options "Restart now" and "Restart later".
> IMHO this should be consistent and the latter option is correct. If restart is needed (as the tooltip says), console should offer it right away.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 7 months
[JBoss JIRA] (ISPN-201) make JDBC cache store use DB transactions for commit/rollback
by Ryan Emerson (JIRA)
[ https://issues.jboss.org/browse/ISPN-201?page=com.atlassian.jira.plugin.s... ]
Ryan Emerson updated ISPN-201:
------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/4382
> 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: Ryan Emerson
> Labels: modshape
> Fix For: 9.0.0.Final
>
>
> 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 was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 7 months