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

HotRod 2.0 Client recieves stale toplogy view on instance leave

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • 5.2.4.Final, 5.3.0.Final, 7.0.0.Beta1
    • Remote Protocols
    • None

      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].

        1. hr-protocol-13.log
          12 kB
          Alan Field
        2. hr-protocol-20.log
          18 kB
          Alan Field

              rh-ee-galder Galder ZamarreƱo
              rhn-support-tkimura Takayoshi Kimura
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: