[infinispan-issues] [JBoss JIRA] (ISPN-7554) JGroupsTransport should expose the cluster view information atomically
Dan Berindei (Jira)
issues at jboss.org
Wed Jun 26 12:32:00 EDT 2019
[ https://issues.jboss.org/browse/ISPN-7554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Berindei resolved ISPN-7554.
--------------------------------
Fix Version/s: 9.1.0.Final
Resolution: Done
Fixed with ISPN-6971
> JGroupsTransport should expose the cluster view information atomically
> ----------------------------------------------------------------------
>
> Key: ISPN-7554
> URL: https://issues.jboss.org/browse/ISPN-7554
> Project: Infinispan
> Issue Type: Bug
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Fix For: 9.1.0.Final
>
>
> Currently the view is updated while holding a lock, but reading the view id, members, or coordinator is done without a lock. This means when a thread sends a request and receives a {{SuspectException}}, it cannot simply wait for a new view before retrying: the initial request may have used the latest view, and only the members list could be outdated (even if read later).
> To allow atomically reading the view id and the member list, we should use an immutable structure similar to {{CacheTopology}}.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the infinispan-issues
mailing list