[JBoss JIRA] (ISPN-11475) Remove `EntryVersionsMap`
by Ryan Emerson (Jira)
[ https://issues.redhat.com/browse/ISPN-11475?page=com.atlassian.jira.plugi... ]
Ryan Emerson updated ISPN-11475:
--------------------------------
Sprint: DataGrid Sprint #41
> Remove `EntryVersionsMap`
> -------------------------
>
> Key: ISPN-11475
> URL: https://issues.redhat.com/browse/ISPN-11475
> Project: Infinispan
> Issue Type: Enhancement
> Components: Core
> Affects Versions: 11.0.0.Alpha2
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 11.0.0.Dev03
>
>
> The transaction versioned commit/prepare commands use {{EntryVersionsMap}} this can be replaced by a {{Map<Object, IncrementableEntryVersion>}} instance, with the additional merge logic replcaed by a helper method in the WriteSkewHelper class.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years
[JBoss JIRA] (ISPN-11480) GlobalComponentRegistry shutdownHook should call EmbeddedCacheManager#stop
by Ryan Emerson (Jira)
[ https://issues.redhat.com/browse/ISPN-11480?page=com.atlassian.jira.plugi... ]
Ryan Emerson updated ISPN-11480:
--------------------------------
Status: Open (was: New)
> GlobalComponentRegistry shutdownHook should call EmbeddedCacheManager#stop
> --------------------------------------------------------------------------
>
> Key: ISPN-11480
> URL: https://issues.redhat.com/browse/ISPN-11480
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 11.0.0.Alpha2, 10.1.5.Final
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 11.0.0.Dev03, 10.1.6.Final
>
>
> Currently if a SIGTERM is called on a Infinispan processor, the shutdown hook calls {{GlobalComponentRegistry::stop}} which results in caches not leaving the cluster gracefully. In particular this affects the behaviour of 2 node Infinispan clusters when utlised in a Kubernetes StatefulSet, as it will result in the cluster becoming degraded during a rolling upgrade.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years
[JBoss JIRA] (ISPN-11475) Remove `EntryVersionsMap`
by Pedro Ruivo (Jira)
[ https://issues.redhat.com/browse/ISPN-11475?page=com.atlassian.jira.plugi... ]
Pedro Ruivo updated ISPN-11475:
-------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Remove `EntryVersionsMap`
> -------------------------
>
> Key: ISPN-11475
> URL: https://issues.redhat.com/browse/ISPN-11475
> Project: Infinispan
> Issue Type: Enhancement
> Components: Core
> Affects Versions: 11.0.0.Alpha2
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 11.0.0.Dev03
>
>
> The transaction versioned commit/prepare commands use {{EntryVersionsMap}} this can be replaced by a {{Map<Object, IncrementableEntryVersion>}} instance, with the additional merge logic replcaed by a helper method in the WriteSkewHelper class.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years
[JBoss JIRA] (ISPN-11480) GlobalComponentRegistry shutdownHook should call EmbeddedCacheManager#stop
by Ryan Emerson (Jira)
[ https://issues.redhat.com/browse/ISPN-11480?page=com.atlassian.jira.plugi... ]
Ryan Emerson updated ISPN-11480:
--------------------------------
Sprint: DataGrid Sprint #41
> GlobalComponentRegistry shutdownHook should call EmbeddedCacheManager#stop
> --------------------------------------------------------------------------
>
> Key: ISPN-11480
> URL: https://issues.redhat.com/browse/ISPN-11480
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 11.0.0.Alpha2, 10.1.5.Final
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 11.0.0.Dev03, 10.1.6.Final
>
>
> Currently if a SIGTERM is called on a Infinispan processor, the shutdown hook calls {{GlobalComponentRegistry::stop}} which results in caches not leaving the cluster gracefully. In particular this affects the behaviour of 2 node Infinispan clusters when utlised in a Kubernetes StatefulSet, as it will result in the cluster becoming degraded during a rolling upgrade.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years
[JBoss JIRA] (ISPN-11481) Infinispan shutdownHook should not be registered in Embedded mode
by Ryan Emerson (Jira)
Ryan Emerson created ISPN-11481:
-----------------------------------
Summary: 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
Assignee: Ryan Emerson
Fix For: 11.0.0.Dev03
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)
6 years
[JBoss JIRA] (ISPN-11480) GlobalComponentRegistry shutdownHook should call EmbeddedCacheManager#stop
by Ryan Emerson (Jira)
Ryan Emerson created ISPN-11480:
-----------------------------------
Summary: GlobalComponentRegistry shutdownHook should call EmbeddedCacheManager#stop
Key: ISPN-11480
URL: https://issues.redhat.com/browse/ISPN-11480
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 10.1.5.Final, 11.0.0.Alpha2
Reporter: Ryan Emerson
Assignee: Ryan Emerson
Fix For: 11.0.0.Dev03, 10.1.6.Final
Currently if a SIGTERM is called on a Infinispan processor, the shutdown hook calls {{GlobalComponentRegistry::stop}} which results in caches not leaving the cluster gracefully. In particular this affects the behaviour of 2 node Infinispan clusters when utlised in a Kubernetes StatefulSet, as it will result in the cluster becoming degraded during a rolling upgrade.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years