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

HotRod 2.0 Client recieves stale toplogy view on instance leave

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Cannot Reproduce
    • 5.2.4.Final, 5.3.0.CR1, 7.0.0.Beta1
    • None
    • Remote Protocols
    • None

    Description

      When killed a HotRod server node, HotRod Clinet sometimes recieves a stale toplogy view which includes the dead node and uses it as a latest view. In this case the client keeps trying to connect that node and keeps failing.

      Looks like the AbstractEncoder1x.generateTopologyResponse() takes care of node join but doesn't handle node leave:

      if (!serverEndpointsMap.keySet.containsAll(cacheMembers)) {
      

      For example, serverEndpointsMap.keySet is [A, B, C] and the actual cacheMembers is [A, B].

      Attachments

        Activity

          People

            gzamarre Galder ZamarreƱo
            rhn-support-tkimura Takayoshi Kimura
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: