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

TcpTransportFactory stores failed SocketAddress in RequestBalancingStrategy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 5.2.1.Final, 5.3.0.Final, 6.0.0.Final
    • Remote Protocols
    • None

      The "updateServers" Method in the TcpTransportFactory class iterates over all addedServers and adds them to the connection pool if no exceptions are thrown. Howerver, if an exception is thrown, the SocketAddress may not have been added to the conection pool but is added to the balancer afterwards. Therefore, the balancer may contain an invalid SocketAddress which is not contained in the connection pool.

      In our application with few distributed caches, we encounter situations where all servers (SocketAddresses) are corrupt and the application fails to load or store entries in/from the cache.

            Unassigned Unassigned
            patrick_seeber Patrick Seeber (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: