[JBoss JIRA] (ISPN-11530) Only allow numOwners=1 and ALLOW_READ_WRITES configuration
by Ryan Emerson (Jira)
[ https://issues.redhat.com/browse/ISPN-11530?page=com.atlassian.jira.plugi... ]
Ryan Emerson updated ISPN-11530:
--------------------------------
Description: DENY_READ_WRITES or ALLOW_READS results in the cluster becoming degraded in the event of a single node leaving the cluster, therefore we should throw an exception and explain that ALLOW_READ_WRITES should be used with numOwners=1. (was: This configuration results in the cluster becoming degraded in the event of a single node leaving the cluster, therefore we should throw an exception and explain that ALLOW_READ_WRITES should be used with numOwners=1.)
> Only allow numOwners=1 and ALLOW_READ_WRITES configuration
> ----------------------------------------------------------
>
> Key: ISPN-11530
> URL: https://issues.redhat.com/browse/ISPN-11530
> Project: Infinispan
> Issue Type: Enhancement
> Components: Configuration, Core
> Affects Versions: 11.0.0.Dev03
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 11.0.0.Dev04
>
>
> DENY_READ_WRITES or ALLOW_READS results in the cluster becoming degraded in the event of a single node leaving the cluster, therefore we should throw an exception and explain that ALLOW_READ_WRITES should be used with numOwners=1.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 9 months
[JBoss JIRA] (ISPN-11481) Infinispan shutdownHook should not be registered in Embedded mode
by Ryan Emerson (Jira)
[ https://issues.redhat.com/browse/ISPN-11481?page=com.atlassian.jira.plugi... ]
Ryan Emerson closed ISPN-11481.
-------------------------------
Resolution: Won't Do
The shutdown hook can already be disabled by explicitly setting {{GlobalConfiguration.CacheContainerConfiguration.ShutdownConfiguration.shutdownHook = DONT_REGISTER}}.
> Infinispan shutdownHook should not be registered in Embedded mode
> -----------------------------------------------------------------
>
> Key: ISPN-11481
> URL: https://issues.redhat.com/browse/ISPN-11481
> Project: Infinispan
> Issue Type: Enhancement
> Components: Core
> Affects Versions: 11.0.0.Alpha2
> Reporter: Ryan Emerson
> Priority: Major
> Fix For: 11.0.0.Dev04
>
>
> Currently the GlobalComponentRegistry registers a shutdown hook with the JVM, however for Embedded mode this does not necessarily makes sense as it should be up to the consuming application to control this behaviour. Instead, we just register this shutdown hook on the server runtime.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 9 months
[JBoss JIRA] (ISPN-11530) Prevent numOwners=1 and DENY_READ_WRITES configuration
by Ryan Emerson (Jira)
Ryan Emerson created ISPN-11530:
-----------------------------------
Summary: Prevent numOwners=1 and DENY_READ_WRITES configuration
Key: ISPN-11530
URL: https://issues.redhat.com/browse/ISPN-11530
Project: Infinispan
Issue Type: Enhancement
Components: Configuration, Core
Affects Versions: 11.0.0.Dev03
Reporter: Ryan Emerson
Assignee: Ryan Emerson
Fix For: 11.0.0.Dev04
This configuration results in the cluster becoming degraded in the event of a single node leaving the cluster, therefore we should throw an exception and explain that ALLOW_READ_WRITES should be used with numOwners=1.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 9 months
[JBoss JIRA] (ISPN-11529) Clustered Locks allows numOwners=1 and DENY_READ_WRITES
by Ryan Emerson (Jira)
Ryan Emerson created ISPN-11529:
-----------------------------------
Summary: Clustered Locks allows numOwners=1 and DENY_READ_WRITES
Key: ISPN-11529
URL: https://issues.redhat.com/browse/ISPN-11529
Project: Infinispan
Issue Type: Bug
Reporter: Ryan Emerson
If the user configures a clustered lock to utilise numOwners=1 and Reliability.CONSISTENT, this will result in the partion handling strategy being set to DENY_READ_WRITES which will result in the cluster becoming degraded in the event of a single node leaving the cluster.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 9 months
[JBoss JIRA] (ISPN-11528) Only register HotRod module resources if the endpoint is enabled
by Ryan Emerson (Jira)
Ryan Emerson created ISPN-11528:
-----------------------------------
Summary: Only register HotRod module resources if the endpoint is enabled
Key: ISPN-11528
URL: https://issues.redhat.com/browse/ISPN-11528
Project: Infinispan
Issue Type: Enhancement
Components: Server
Affects Versions: 11.0.0.Dev03
Reporter: Ryan Emerson
Fix For: 11.0.0.Dev04
Currently we allow the HotRod endpoint to be disabled in the server by omitting it from the xml configuration, however it's internal components and caches are unnecessarily registered regardless.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 9 months
[JBoss JIRA] (ISPN-11527) Lazily create the org.infinispan.LOCKS cache
by Ryan Emerson (Jira)
Ryan Emerson created ISPN-11527:
-----------------------------------
Summary: Lazily create the org.infinispan.LOCKS cache
Key: ISPN-11527
URL: https://issues.redhat.com/browse/ISPN-11527
Project: Infinispan
Issue Type: Enhancement
Components: Clustered Locks
Affects Versions: 11.0.0.Dev03
Reporter: Ryan Emerson
Fix For: 11.0.0.Dev04
Currently clustered locks are not available in the server, however the {{DistributedMassIndexerLock}} depends on a clustered lock, so it's necessary for the org.infinispan.LOCKS cache to be available on the server. However, if indexing is never used this is a waste of resources, therefore we should only create the cache as required.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 9 months