Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-610

Apply isStateTransferEnabled attribute to consumer only

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 4.1.0.CR3
    • Fix Version/s: 4.1.0.Final
    • Component/s: Core
    • Labels:
      None

      Description

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                manik Manik Surtani
                Reporter:
                cbo_ craig bomba
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: