[infinispan-issues] [JBoss JIRA] (ISPN-7554) JGroupsTransport should expose the cluster view information atomically
Dan Berindei (JIRA)
issues at jboss.org
Thu Mar 2 10:33:00 EST 2017
Dan Berindei created ISPN-7554:
----------------------------------
Summary: 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
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.2.3#72005)
More information about the infinispan-issues
mailing list