Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-7554

JGroupsTransport should expose the cluster view information atomically

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 9.1.0.Final
    • None
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              dberinde@redhat.com Dan Berindei (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: