[JBoss JIRA] (ISPN-10600) Create empty XSiteStateTransferManager and related classes
by Pedro Ruivo (Jira)
[ https://issues.jboss.org/browse/ISPN-10600?page=com.atlassian.jira.plugin... ]
Pedro Ruivo commented on ISPN-10600:
------------------------------------
I went for a different approach.
{{XSiteStateConsumer}} is always instantiated because of the active-passive xsite scenario. Even without xsite enabled, a cache can receive state from a remote site.
The other related classes are instantiated only if xsite is enabled:
* {{XSiteAdminOperations}}, that depends on:
** {{BackupSender}}
** {{XSiteStateTransferManager}}, that depends on
*** {{XSiteStateProvider}}
> Create empty XSiteStateTransferManager and related classes
> ----------------------------------------------------------
>
> Key: ISPN-10600
> URL: https://issues.jboss.org/browse/ISPN-10600
> Project: Infinispan
> Issue Type: Enhancement
> Components: Cross-Site Replication
> Affects Versions: 10.0.0.CR2
> Reporter: Pedro Ruivo
> Assignee: Pedro Ruivo
> Priority: Major
> Fix For: 10.0.0.CR3
>
>
> When a cache doesn't have cross-site replication enabled, it can instantiate empty implementation of {{XSiteStateTransferManager}}, {{XSiteStateConsumer}} and {{XSiteStateProvider}} to save some memory and avoid registering uneeded listeners.
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
5 years, 3 months
[JBoss JIRA] (ISPN-10620) BasicComponentRegistryImpl.getMBeanMetadata discards overloaded operations and ignores overwriting
by Nistor Adrian (Jira)
[ https://issues.jboss.org/browse/ISPN-10620?page=com.atlassian.jira.plugin... ]
Nistor Adrian updated ISPN-10620:
---------------------------------
Status: Open (was: New)
> BasicComponentRegistryImpl.getMBeanMetadata discards overloaded operations and ignores overwriting
> --------------------------------------------------------------------------------------------------
>
> Key: ISPN-10620
> URL: https://issues.jboss.org/browse/ISPN-10620
> Project: Infinispan
> Issue Type: Bug
> Components: JMX, reporting and management
> Affects Versions: 10.0.0.CR1
> Reporter: Nistor Adrian
> Assignee: Nistor Adrian
> Priority: Major
> Fix For: 10.0.0.CR3
>
>
> The operations are held in a map keyed by name, so some overloaded operations like DefaultCahcheManager.startCache() and DefaultCahcheManager.startCache(String cacheName) are basically discarded unintentionally.
> Also, the order of processing superclasses is wrong (reversed), so eventually overwritten operations are not correctly processed. The one in the superclass wins, so the overwrite is basically ignored.
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
5 years, 3 months