[
https://jira.jboss.org/browse/ISPN-610?page=com.atlassian.jira.plugin.sys...
]
Manik Surtani commented on ISPN-610:
------------------------------------
I'm applying this fix. In future, please provide patches as diffs on the source tree
as it is much easier to inspect and apply changes that way.
Apply isStateTransferEnabled attribute to consumer only
-------------------------------------------------------
Key: ISPN-610
URL:
https://jira.jboss.org/browse/ISPN-610
Project: Infinispan
Issue Type: Feature Request
Components: Core API
Affects Versions: 4.1.0.CR3
Reporter: craig bomba
Assignee: Manik Surtani
Priority: Minor
Fix For: 4.1.0.Final
Attachments: infinispan-core-state-trans.jar
We needed to be able to configure state transfer providers and consumers separately. The
short term strategy is to make each node a provider. We then use the
'fetchInMemoryState' attribute to determine if a node can be a consumer or
not.
org.infinispan.factories.StateTransferManagerFactory
Updated to remove the 'isStateTransferEnabled' check. Now every node is a
state transfer provider.
org.infinispan.statetransfer.StateTransferManagerImpl
public void start()
Updated to now check the 'fetchInMemoryState' attribute to determine if
this node can operate as a consumer.
public void generateState()
Updated so that any node can generate the state.
--
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