Uploaded image for project: 'Hot Rod Native client'
  1. Hot Rod Native client
  2. HRCPP-197

C++ client failover does not work consistently

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.Final
    • None
    • Core
    • None

      When a Transport object throws a TransportException during an operation, RetryOnFailureOperation::execute calls TcpTransportFactory::invalidateTransport which in turn calls ConnectionPool::invalidateObject. ConnectionPool::invalidateObject removes the transport from the busy queue, destroys the Transport, and then adds a new Transport to the idle queue. When the new transport is created, it tries to connect to the server socket which fails. This prevents retry attempts and client failover from happening. This is a sporadic failure.

              rhn-support-afield Alan Field
              rhn-support-afield Alan Field
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: