[JBoss JIRA] (ISPN-8620) Execute operations concurrently over the same connection
by Radim Vansa (JIRA)
[ https://issues.jboss.org/browse/ISPN-8620?page=com.atlassian.jira.plugin.... ]
Radim Vansa updated ISPN-8620:
------------------------------
Component/s: Remote Protocols
> Execute operations concurrently over the same connection
> --------------------------------------------------------
>
> Key: ISPN-8620
> URL: https://issues.jboss.org/browse/ISPN-8620
> Project: Infinispan
> Issue Type: Sub-task
> Components: Remote Protocols
> Reporter: Radim Vansa
> Assignee: Radim Vansa
>
> Since the early days Hot Rod protocol adds {{messageId}} to the protocol for pairing RPCs, but currently the connection is occupied when waiting for response. The goal of this is to reduce connection count and send the messages over shared connection. It requires some changes on server since it must continue reading the connection before the response is ready; the request needs to be processed asynchronously, too.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (ISPN-8632) ConflictManager can cause deadlock on cache shutdown
by Ryan Emerson (JIRA)
[ https://issues.jboss.org/browse/ISPN-8632?page=com.atlassian.jira.plugin.... ]
Ryan Emerson resolved ISPN-8632.
--------------------------------
Resolution: Done
> ConflictManager can cause deadlock on cache shutdown
> ----------------------------------------------------
>
> Key: ISPN-8632
> URL: https://issues.jboss.org/browse/ISPN-8632
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 9.2.0.Beta1
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Fix For: 9.2.0.Beta2
>
>
> If stop is called on an EmbeddedCacheManager when the conflict resolution stage of a merge in ongoing, then it is impossible for ClusterCacheStatus::doLeave to proceed as ClusterCacheStatus::onPartitionMerge holds the ClusterCacheStatus lock. This is fine if conflict resolution completes successfully, however it is possible that the StateProviderImpl on the remote nodes has shutdown and therefore it's not possible for the ReplicaSpliterator to complete its execution and deadlock occurs.
> To prevent the above scenario we should improve how the StateReceiverImpl and DefaultConflictManager handle stopping caches. Furthermore, we should also introduce a timeout when attempting to discover cache conflicts.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years